DocumentInfo

Inheritance: java.lang.Object, com.aspose.ms.System.Collections.Generic.Dictionary< String , String > com.aspose.pdf.DocumentInfo, com.aspose.ms.System.Collections.Generic.Dictionary< String , String >, com.aspose.pdf.DocumentInfo

All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair< String, String », com.aspose.ms.System.Collections.Generic.IGenericDictionary< String, String >, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair< String, String », com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair< String, String », Iterable <com.aspose.ms.System.Collections.Generic.KeyValuePair< String, String »

public final class DocumentInfo extends com.aspose.ms.System.Collections.Generic.Dictionary< String , String >

Represents meta information of PDF document.

Constructors

ConstructorDescription
DocumentInfoInitialize DocumentInfo instance.

Methods

MethodDescription
addItemAdds an element with the specified key and value into the collection.
clearClears the document info.
clearCustomDataClears custom data only, leaves all other predefined values (Title, Author, etc.).
get_ItemGets the value associated with the specified key.
getAuthorGets document author.
getCreationDateGets the date of document creation.
getCreationTimeZoneTime zone of creation date in milliseconds.
getCreatorGets document creator.
getKeywordsGets the keywords of the document.
getModDateGets the date of document modification.
getModTimeZoneTime zone of modification date.
getProducerGets the document producer.
getSubjectGets the subject of the document.
getTitleGets document title.
getTrappedGets the trapped flag.
isPredefinedKeyDetermines if the key is predefined (Title, Author, etc.), not custom.
removeRemoves the element with the specified key from the collection.
set_ItemSets the value associated with the specified key.
setAuthorSets document author.
setCreationDateSets the date of document creation.
setCreationTimeZoneTime zone of creation date in milliseconds.
setCreatorSets document creator.
setKeywordsSet the keywords of the document.
setModDateSets the date of document modification.
setModTimeZoneTime zone of modification date.
setProducerSets the document producer.
setSubjectSets the subject of the document.
setTitleSets document title.
setTrappedSets the trapped flag.

DocumentInfo

Initialize DocumentInfo instance.

addItem

Adds an element with the specified key and value into the collection.

clear

public void clear()

Clears the document info.

clearCustomData

public void clearCustomData()

Clears custom data only, leaves all other predefined values (Title, Author, etc.).

get_Item

Gets the value associated with the specified key.

getAuthor

public String getAuthor()

Gets document author.

Returns: String value

getCreationDate

public Date getCreationDate()

Gets the date of document creation.

Returns: Date object

getCreationTimeZone

public double getCreationTimeZone()

Time zone of creation date in milliseconds.

Returns: double value

getCreator

public String getCreator()

Gets document creator.

Returns: String value

getKeywords

public String getKeywords()

Gets the keywords of the document.

Returns: String value

getModDate

public Date getModDate()

Gets the date of document modification.

Returns: Date object

getModTimeZone

public double getModTimeZone()

Time zone of modification date.

Returns: double value

getProducer

public String getProducer()

Gets the document producer.

Returns: String value

getSubject

public String getSubject()

Gets the subject of the document.

Returns: String value

getTitle

public String getTitle()

Gets document title.

Returns: String value

getTrapped

public String getTrapped()

Gets the trapped flag.

Returns: String value

isPredefinedKey

Determines if the key is predefined (Title, Author, etc.), not custom.

remove

Removes the element with the specified key from the collection.

set_Item

Sets the value associated with the specified key.

setAuthor

Sets document author.

setCreationDate

Sets the date of document creation.

setCreationTimeZone

public void setCreationTimeZone(double value)

Time zone of creation date in milliseconds.

Parameters:

ParameterTypeDescription
valuein milliseconds

setCreator

Sets document creator.

setKeywords

Set the keywords of the document.

setModDate

Sets the date of document modification.

setModTimeZone

public void setModTimeZone(double value)

Time zone of modification date.

Parameters:

ParameterTypeDescription
valuedouble value

setProducer

Sets the document producer.

setSubject

Sets the subject of the document.

setTitle

Sets document title.

setTrapped

Sets the trapped flag.