DocumentInfo

Vue de l’ensemble

‘DocumentInfo’ est une classe dans Aspose.PDF FOSS pour Java.

Il est enregistré dans le dictionnaire d’information du document PDF (ISO 32000-1:2008, §14.3.3).

Cette classe fournit 20 méthodes pour travailler avec des objets DocumentInfo dans les programmes Java. Les méthodologies disponibles comprennent: ‘DocumentInFO’, ‘clear’, getAuthor', ‘getCreationDate’, 'get CreationTimeZone', ’getCréator', ‚getKeywords',‘getModDite', ''getPdfDictionary',getProducer’,‘‘getSubject’, ́getTitle’ et 8 méthode supplémentaires. Tous les membres publics sont accessibles à toute application Java après l’installation de l’Aspose.PDF FOSS pour le package Java, propriétés : ‘author, 'creationDat',' creationTimeZune, creator` , ‘keywords’, d’modat, 4 et plus.

Propriétés

NameTypeAccessDescription
titleStringReadReturns the document title, or null if not set.
authorStringReadReturns the document author, or null if not set.
subjectStringReadReturns the document subject, or null if not set.
keywordsStringReadReturns the document keywords, or null if not set.
creatorStringReadReturns the creator application name, or null if not set.
producerStringReadReturns the producer application name, or null if not set.
creationDateDateReadReturns the document creation date, or null if not set or not parseable.
modDateDateReadReturns the document modification date, or null if not set or not parseable.
creationTimeZoneTimeZoneReadReturns the time zone parsed from the /CreationDate PDF date string.
pdfDictionaryPdfDictionaryReadReturns the underlying PDF dictionary.

méthodes

SignatureDescription
DocumentInfo(infoDict: PdfDictionary)Creates a DocumentInfo wrapper around the given /Info dictionary.
getTitle()StringReturns the document title, or null if not set.
setTitle(title: String)Sets the document title.
getAuthor()StringReturns the document author, or null if not set.
setAuthor(author: String)Sets the document author.
getSubject()StringReturns the document subject, or null if not set.
setSubject(subject: String)Sets the document subject.
getKeywords()StringReturns the document keywords, or null if not set.
setKeywords(keywords: String)Sets the document keywords.
getCreator()StringReturns the creator application name, or null if not set.
setCreator(creator: String)Sets the creator application name.
getProducer()StringReturns the producer application name, or null if not set.
setProducer(producer: String)Sets the producer application name.
getCreationDate()DateReturns the document creation date, or null if not set or not parseable.
setCreationDate(date: Date)Sets the document creation date.
getModDate()DateReturns the document modification date, or null if not set or not parseable.
setModDate(date: Date)Sets the document modification date.
getCreationTimeZone()TimeZoneReturns the time zone parsed from the /CreationDate PDF date string.
getPdfDictionary()PdfDictionaryReturns the underlying PDF dictionary.
clear()Clears all standard document information entries from the underlying
dictionary.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français