|
||
| Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate | ||
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.aspose.cells.CustomDocumentProperties
public class CustomDocumentProperties
Represents a collection of custom document properties.
| Method Summary | |
|---|---|
DocumentProperty |
add(java.lang.String name,
boolean value)
Creates a new custom document property of the PropertyType.Boolean data type. |
DocumentProperty |
add(java.lang.String name,
java.util.Date dateTime)
Creates a new custom document property of the PropertyType.DateTime data type. |
DocumentProperty |
add(java.lang.String name,
double value)
Creates a new custom document property of the PropertyType.Float data type. |
DocumentProperty |
add(java.lang.String name,
int value)
Creates a new custom document property of the PropertyType.Number data type. |
DocumentProperty |
add(java.lang.String name,
java.lang.String value)
Creates a new custom document property of the PropertyType.String data type. |
DocumentProperty |
get(int index)
Returns a DocumentProperty object by index. |
DocumentProperty |
get(java.lang.String name)
Returns a DocumentProperty object by the name of the property. |
int |
getCount()
Gets number of items in the collection. |
java.util.Iterator<DocumentProperty> |
iterator()
Returns an DocumentProperty iterator. |
void |
remove(java.lang.String name)
Removes property with the specified name from the collection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getCount()
public DocumentProperty get(java.lang.String name)
name - The case-sensitive name of the property to retrieve.
public DocumentProperty get(int index)
index - Zero-based index of the DocumentProperty to return.
public DocumentProperty add(java.lang.String name,
java.lang.String value)
name - The name of the property.value - The value of the property.
public DocumentProperty add(java.lang.String name,
int value)
name - The name of the property.value - The value of the property.
public DocumentProperty add(java.lang.String name,
java.util.Date dateTime)
name - The name of the property.dateTime - The dateTime of the property.
public DocumentProperty add(java.lang.String name,
boolean value)
name - The name of the property.value - The value of the property.
public DocumentProperty add(java.lang.String name,
double value)
name - The name of the property.value - The value of the property.
public void remove(java.lang.String name)
name - The case-sensitive name of the property to remove.public java.util.Iterator<DocumentProperty> iterator()
iterator in interface java.lang.Iterable<DocumentProperty>
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||