|
ASPOSE home |
java.lang.ObjectDocumentProperties
com.aspose.words.BuiltInDocumentProperties
public class BuiltInDocumentProperties
Provides access to The names of the properties are case-insensitive. The properties in the collection are sorted alphabetically by name.
Property Getters/Setters Summary | ||
---|---|---|
java.lang.String | getAuthor() | |
void | setAuthor(java.lang.String value) | |
Gets or sets the name of the document's author. | ||
int | getBytes() | |
void | setBytes(int value) | |
Represents an estimate of the number of bytes in the document. | ||
java.lang.String | getCategory() | |
void | setCategory(java.lang.String value) | |
Gets or sets the category of the document. | ||
int | getCharacters() | |
void | setCharacters(int value) | |
Represents an estimate of the number of characters in the document. | ||
int | getCharactersWithSpaces() | |
void | setCharactersWithSpaces(int value) | |
Represents an estimate of the number of characters (including spaces) in the document. | ||
java.lang.String | getComments() | |
void | setComments(java.lang.String value) | |
Gets or sets the document comments. | ||
java.lang.String | getCompany() | |
void | setCompany(java.lang.String value) | |
Gets or sets the company property. | ||
int | getCount() | → inherited from DocumentProperties |
Gets number of items in the collection. | ||
java.util.Date | getCreatedTime() | |
void | setCreatedTime(java.util.Date value) | |
Gets or sets date of the document creation in UTC. | ||
java.lang.String | getKeywords() | |
void | setKeywords(java.lang.String value) | |
Gets or sets the document keywords. | ||
java.util.Date | getLastPrinted() | |
void | setLastPrinted(java.util.Date value) | |
Gets or sets the date when the document was last printed in UTC. | ||
java.lang.String | getLastSavedBy() | |
void | setLastSavedBy(java.lang.String value) | |
Gets or sets the name of the last author. | ||
java.util.Date | getLastSavedTime() | |
void | setLastSavedTime(java.util.Date value) | |
Gets or sets the time of the last save in UTC. | ||
int | getLines() | |
void | setLines(int value) | |
Represents an estimate of the number of lines in the document. | ||
java.lang.String | getManager() | |
void | setManager(java.lang.String value) | |
Gets or sets the manager property. | ||
java.lang.String | getNameOfApplication() | |
void | setNameOfApplication(java.lang.String value) | |
Gets or sets the name of the application. | ||
int | getPages() | |
void | setPages(int value) | |
Represents an estimate of the number of pages in the document. | ||
int | getParagraphs() | |
void | setParagraphs(int value) | |
Represents an estimate of the number of paragraphs in the document. | ||
int | getRevisionNumber() | |
void | setRevisionNumber(int value) | |
Gets or sets the document revision number. | ||
java.lang.String | getSubject() | |
void | setSubject(java.lang.String value) | |
Gets or sets the subject of the document. | ||
java.lang.String | getTemplate() | |
void | setTemplate(java.lang.String value) | |
Gets or sets the informational name of the document template. | ||
java.lang.String | getTitle() | |
void | setTitle(java.lang.String value) | |
Gets or sets the title of the document. | ||
double | getTotalEditingTime() | |
void | setTotalEditingTime(double value) | |
Gets or sets the total editing time in minutes. | ||
int | getVersion() | |
void | setVersion(int value) | |
Represents the version number of the application that created the document. | ||
int | getWords() | |
void | setWords(int value) | |
Represents an estimate of the number of words in the document. | ||
DocumentProperty | get(int index) | → inherited from DocumentProperties |
Returns a |
||
DocumentProperty | get(java.lang.String name) | |
Returns a |
Method Summary | ||
---|---|---|
void | clear() | → inherited from DocumentProperties |
Removes all properties from the collection. | ||
boolean | contains(java.lang.String name) | → inherited from DocumentProperties |
Returns true if a property with the specified name exists in the collection. | ||
int | indexOf(java.lang.String name) | → inherited from DocumentProperties |
Gets the index of a property by name. | ||
java.util.Iterator | iterator() | → inherited from DocumentProperties |
Returns an iterator object that can be used to iterate over all items in the collection. | ||
void | remove(java.lang.String name) | → inherited from DocumentProperties |
Removes a property with the specified name from the collection. | ||
void | removeAt(int index) | → inherited from DocumentProperties |
Removes a property at the specified index. |
Property Getters/Setters Detail |
---|
getAuthor/setAuthor | |
public java.lang.String getAuthor() public void setAuthor(java.lang.String value) |
getBytes/setBytes | |
public int getBytes() public void setBytes(int value) |
This property is sometimes not set by Microsoft Word.
Aspose.Words does not update this property when you create or modify the document.
getCharacters/setCharacters | |
public int getCharacters() public void setCharacters(int value) |
This property is updated when you call
getCharactersWithSpaces/setCharactersWithSpaces | |
public int getCharactersWithSpaces() public void setCharactersWithSpaces(int value) |
This property is updated when you call
getComments/setComments | |
public java.lang.String getComments() public void setComments(java.lang.String value) |
getCategory/setCategory | |
public java.lang.String getCategory() public void setCategory(java.lang.String value) |
getCompany/setCompany | |
public java.lang.String getCompany() public void setCompany(java.lang.String value) |
getCreatedTime/setCreatedTime | |
public java.util.Date getCreatedTime() public void setCreatedTime(java.util.Date value) |
Aspose.Words does not update this property when you create or modify the document.
getKeywords/setKeywords | |
public java.lang.String getKeywords() public void setKeywords(java.lang.String value) |
getLastPrinted/setLastPrinted | |
public java.util.Date getLastPrinted() public void setLastPrinted(java.util.Date value) |
If the document was never printed, this property will return DateTime.MinValue.
Aspose.Words does not update this property when you create or modify the document.
getLastSavedBy/setLastSavedBy | |
public java.lang.String getLastSavedBy() public void setLastSavedBy(java.lang.String value) |
Aspose.Words does not update this property when you create or modify the document.
getLastSavedTime/setLastSavedTime | |
public java.util.Date getLastSavedTime() public void setLastSavedTime(java.util.Date value) |
Aspose.Words does not update this property when you create or modify the document.
getLines/setLines | |
public int getLines() public void setLines(int value) |
Aspose.Words does not update this property when you create or modify the document.
getManager/setManager | |
public java.lang.String getManager() public void setManager(java.lang.String value) |
getNameOfApplication/setNameOfApplication | |
public java.lang.String getNameOfApplication() public void setNameOfApplication(java.lang.String value) |
getPages/setPages | |
public int getPages() public void setPages(int value) |
Aspose.Words does not update this property when you create or modify the document.
getParagraphs/setParagraphs | |
public int getParagraphs() public void setParagraphs(int value) |
This property is updated when you call
getRevisionNumber/setRevisionNumber | |
public int getRevisionNumber() public void setRevisionNumber(int value) |
Aspose.Words does not update this property when you create or modify the document.
getSubject/setSubject | |
public java.lang.String getSubject() public void setSubject(java.lang.String value) |
getTemplate/setTemplate | |
public java.lang.String getTemplate() public void setTemplate(java.lang.String value) |
In Microsoft Word, this property is for informational purposes only and usually contains only the file name of the template without the path.
Empty string means the document is attached to the Normal template.
To get or set the actual name of the attached template, use the
getTitle/setTitle | |
public java.lang.String getTitle() public void setTitle(java.lang.String value) |
getTotalEditingTime/setTotalEditingTime | |
public double getTotalEditingTime() public void setTotalEditingTime(double value) |
getVersion/setVersion | |
public int getVersion() public void setVersion(int value) |
getWords/setWords | |
public int getWords() public void setWords(int value) |
This property is updated when you call
getCount | → inherited from DocumentProperties |
public int getCount() |
get | |
public DocumentProperty get(java.lang.String name) |
The string names of the properties correspond to the names of the typed
properties available from
If you request a property that is not present in the document, but the name
of the property is recognized as a valid built-in name, a new
If you request a property that is not present in the document and the name is not recognized as a built-in name, a null is returned.
name
- The case-insensitive name of the property to retrieve.get | → inherited from DocumentProperties |
public DocumentProperty get(int index) |
Note: In Java this method is slow because iterates over all nodes.
index
- Zero-based index of the Method Detail |
---|
iterator | → inherited from DocumentProperties |
public java.util.Iterator iterator() |
contains | → inherited from DocumentProperties |
public boolean contains(java.lang.String name) |
name
- The case-insensitive name of the property.indexOf | → inherited from DocumentProperties |
public int indexOf(java.lang.String name) |
Note: In Java this method is slow because iterates over all nodes.
name
- The case-insensitive name of the property.remove | → inherited from DocumentProperties |
public void remove(java.lang.String name) |
name
- The case-insensitive name of the property.removeAt | → inherited from DocumentProperties |
public void removeAt(int index) |
Note: In Java this method is slow because iterates over all nodes.
index
- The zero based index.clear | → inherited from DocumentProperties |
public void clear() |
|
ASPOSE home |