BuiltInDocumentPropertyCollection

BuiltInDocumentPropertyCollection class

A collection of built-in document properties.

Properties

NameTypeDescription
LanguageStringGets or sets the document’s language.
AuthorStringGets or sets the name of the document’s author.
BytesintRepresents an estimate of the number of bytes in the document.
CharactersintRepresents an estimate of the number of characters in the document.
CharactersWithSpacesintRepresents an estimate of the number of characters (including spaces) in the document.
CommentsStringGets or sets the document comments.
CategoryStringGets or sets the category of the document.
ContentTypeStringGets or sets the content type of the document.
ContentStatusStringGets or sets the content status of the document.
CompanyStringGets or sets the company property.
HyperlinkBaseStringGets or sets the hyperlinkbase property.
CreatedTimeDateTimeGets or sets date of the document creation in local timezone. Aspose.Cells does not update this property when you modify
CreatedUniversalTimeDateTimeGets or sets the Universal time of the document creation. Aspose.Cells does not update this property when you modify the
KeywordsStringGets or sets the document keywords.
LastPrintedDateTimeGets or sets the date when the document was last printed in local timezone. If the document was never printed, this prop
LastPrintedUniversalTimeDateTimeGets or sets the Universal time when the document was last printed.
LastSavedByStringGets or sets the name of the last author. Aspose.Cells does not update this property when you modify the document.
LastSavedTimeDateTimeGets or sets the time of the last save in local timezone. Aspose.Cells does not update this property when you modify the
LastSavedUniversalTimeDateTimeGets or sets the universal time of the last save. Aspose.Cells does not update this property when you modify the documen
LinesintRepresents an estimate of the number of lines in the document. Aspose.Cells does not update this property when you modif
ManagerStringGets or sets the manager property.
NameOfApplicationStringGets or sets the name of the application.
PagesintRepresents an estimate of the number of pages in the document.
ParagraphsintRepresents an estimate of the number of paragraphs in the document.
RevisionNumberStringGets or sets the document revision number. Aspose.Cells does not update this property when you modify the document.
SubjectStringGets or sets the subject of the document.
TemplateStringGets or sets the informational name of the document template.
TitleStringGets or sets the title of the document.
TotalEditingTimefloatGets or sets the total editing time in minutes.
VersionStringRepresents the version number of the application that created the document. It’s format is “00.0000”,for example : 12.00
DocumentVersionStringRepresents the version of the file.
ScaleCropbooleanIndicates the display mode of the document thumbnail.
LinksUpToDatebooleanIndicates whether hyperlinks in a document are up-to-date.
WordsintRepresents an estimate of the number of words in the document.
Countint
Item (java.lang.String)DocumentPropertyReturns a DocumentProperty object by the name of the property. The string names of the properties correspond to the name
Item (int)DocumentPropertyReturns a DocumentProperty object by index.

Methods

NameDescription
containsReturns true if a property with the specified name exists in the collection.
indexOfGets the index of a property by name.
removeRemoves a property with the specified name from the collection.
removeAtRemoves a property at the specified index.
clear
iterator
getReserved for internal use.
addReserved for internal use.

BuiltInDocumentPropertyCollection.Language property

Gets or sets the document’s language.

Type: String

BuiltInDocumentPropertyCollection.Author property

Gets or sets the name of the document’s author.

Type: String

BuiltInDocumentPropertyCollection.Bytes property

Represents an estimate of the number of bytes in the document.

Type: int

BuiltInDocumentPropertyCollection.Characters property

Represents an estimate of the number of characters in the document.

Type: int

BuiltInDocumentPropertyCollection.CharactersWithSpaces property

Represents an estimate of the number of characters (including spaces) in the document.

Type: int

BuiltInDocumentPropertyCollection.Comments property

Gets or sets the document comments.

Type: String

BuiltInDocumentPropertyCollection.Category property

Gets or sets the category of the document.

Type: String

BuiltInDocumentPropertyCollection.ContentType property

Gets or sets the content type of the document.

Type: String

BuiltInDocumentPropertyCollection.ContentStatus property

Gets or sets the content status of the document.

Type: String

BuiltInDocumentPropertyCollection.Company property

Gets or sets the company property.

Type: String

BuiltInDocumentPropertyCollection.HyperlinkBase property

Gets or sets the hyperlinkbase property.

Type: String

BuiltInDocumentPropertyCollection.CreatedTime property

Gets or sets date of the document creation in local timezone. Aspose.Cells does not update this property when you modify the document.

Type: DateTime

BuiltInDocumentPropertyCollection.CreatedUniversalTime property

Gets or sets the Universal time of the document creation. Aspose.Cells does not update this property when you modify the document.

Type: DateTime

BuiltInDocumentPropertyCollection.Keywords property

Gets or sets the document keywords.

Type: String

BuiltInDocumentPropertyCollection.LastPrinted property

Gets or sets the date when the document was last printed in local timezone. If the document was never printed, this property will return DateTime.MinValue. Aspose.Cells does not update this property when you modify the document.

Type: DateTime

BuiltInDocumentPropertyCollection.LastPrintedUniversalTime property

Gets or sets the Universal time when the document was last printed.

Type: DateTime

BuiltInDocumentPropertyCollection.LastSavedBy property

Gets or sets the name of the last author. Aspose.Cells does not update this property when you modify the document.

Type: String

BuiltInDocumentPropertyCollection.LastSavedTime property

Gets or sets the time of the last save in local timezone. Aspose.Cells does not update this property when you modify the document.

Type: DateTime

BuiltInDocumentPropertyCollection.LastSavedUniversalTime property

Gets or sets the universal time of the last save. Aspose.Cells does not update this property when you modify the document.

Type: DateTime

BuiltInDocumentPropertyCollection.Lines property

Represents an estimate of the number of lines in the document. Aspose.Cells does not update this property when you modify the document.

Type: int

BuiltInDocumentPropertyCollection.Manager property

Gets or sets the manager property.

Type: String

BuiltInDocumentPropertyCollection.NameOfApplication property

Gets or sets the name of the application.

Type: String

BuiltInDocumentPropertyCollection.Pages property

Represents an estimate of the number of pages in the document.

Type: int

BuiltInDocumentPropertyCollection.Paragraphs property

Represents an estimate of the number of paragraphs in the document.

Type: int

BuiltInDocumentPropertyCollection.RevisionNumber property

Gets or sets the document revision number. Aspose.Cells does not update this property when you modify the document.

Type: String

BuiltInDocumentPropertyCollection.Subject property

Gets or sets the subject of the document.

Type: String

BuiltInDocumentPropertyCollection.Template property

Gets or sets the informational name of the document template.

Type: String

BuiltInDocumentPropertyCollection.Title property

Gets or sets the title of the document.

Type: String

BuiltInDocumentPropertyCollection.TotalEditingTime property

Gets or sets the total editing time in minutes.

Type: float

BuiltInDocumentPropertyCollection.Version property

Represents the version number of the application that created the document. It’s format is “00.0000”,for example : 12.0000

Type: String

BuiltInDocumentPropertyCollection.DocumentVersion property

Represents the version of the file.

Type: String

BuiltInDocumentPropertyCollection.ScaleCrop property

Indicates the display mode of the document thumbnail.

Type: boolean

BuiltInDocumentPropertyCollection.LinksUpToDate property

Indicates whether hyperlinks in a document are up-to-date.

Type: boolean

BuiltInDocumentPropertyCollection.Words property

Represents an estimate of the number of words in the document.

Type: int

BuiltInDocumentPropertyCollection.Count property

Type: int

BuiltInDocumentPropertyCollection.Item (java.lang.String) property

Returns a DocumentProperty object by the name of the property. The string names of the properties correspond to the names of the typed properties available from BuiltInDocumentPropertyCollection . 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 DocumentProperty is created, added to the collection and returned. The newly created property is assigned a default value (empty string, zero, false or DateTime.MinValue depending on the type of the built-in property). 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.

Type: DocumentProperty

BuiltInDocumentPropertyCollection.Item (int) property

Returns a DocumentProperty object by index.

Type: DocumentProperty

contains(name) (1 of 2)

Returns true if a property with the specified name exists in the collection.

ParameterTypeDescription
nameStringThe case-insensitive name of the property.

Returns: True if the property exists in the collection; false otherwise.


contains(value) (2 of 2)

Reserved for internal use.

indexOf(name) (1 of 2)

Gets the index of a property by name.

ParameterTypeDescription
nameStringThe case-insensitive name of the property.

Returns: The zero based index. Negative value if not found.


indexOf(value) (2 of 2)

Reserved for internal use.

remove(name)

Removes a property with the specified name from the collection.

ParameterTypeDescription
nameStringThe case-insensitive name of the property.

removeAt(index)

Removes a property at the specified index.

ParameterTypeDescription
indexintThe zero based index.

clear()

iterator()

get(index)

Reserved for internal use.

add(value)

Reserved for internal use.