DocumentInfo
Overview
DocumentInfo is a class in Aspose.Pdf FOSS for Java.
Wraps the PDF document information dictionary (ISO 32000-1:2008, §14.3.3).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
title | String | Read | Returns the document title, or null if not set. |
author | String | Read | Returns the document author, or null if not set. |
subject | String | Read | Returns the document subject, or null if not set. |
keywords | String | Read | Returns the document keywords, or null if not set. |
creator | String | Read | Returns the creator application name, or null if not set. |
producer | String | Read | Returns the producer application name, or null if not set. |
creationDate | Date | Read | Returns the document creation date, or null if not set or not parseable. |
modDate | Date | Read | Returns the document modification date, or null if not set or not parseable. |
creationTimeZone | TimeZone | Read | Returns the time zone parsed from the /CreationDate PDF date string. |
cOSDictionary | COSDictionary | Read | Returns the underlying COS dictionary. |
Methods
| Signature | Description |
|---|---|
DocumentInfo(infoDict: COSDictionary) | Creates a DocumentInfo wrapper around the given /Info dictionary. |
getTitle() → String | Returns the document title, or null if not set. |
setTitle(title: String) | Sets the document title. |
getAuthor() → String | Returns the document author, or null if not set. |
setAuthor(author: String) | Sets the document author. |
getSubject() → String | Returns the document subject, or null if not set. |
setSubject(subject: String) | Sets the document subject. |
getKeywords() → String | Returns the document keywords, or null if not set. |
setKeywords(keywords: String) | Sets the document keywords. |
getCreator() → String | Returns the creator application name, or null if not set. |
setCreator(creator: String) | Sets the creator application name. |
getProducer() → String | Returns the producer application name, or null if not set. |
setProducer(producer: String) | Sets the producer application name. |
getCreationDate() → Date | Returns the document creation date, or null if not set or not parseable. |
setCreationDate(date: Date) | Sets the document creation date. |
getModDate() → Date | Returns the document modification date, or null if not set or not parseable. |
setModDate(date: Date) | Sets the document modification date. |
getCreationTimeZone() → TimeZone | Returns the time zone parsed from the /CreationDate PDF date string. |
getCOSDictionary() → COSDictionary | Returns the underlying COS dictionary. |
clear() | Clears all standard document information entries from the underlying |
| dictionary. |