public class PdfDocumentInfo extends PdfObjectWrapper<PdfDictionary>
Constructor and Description |
---|
PdfDocumentInfo(PdfDictionary pdfObject) |
PdfDocumentInfo(PdfDictionary pdfObject, PdfDocument pdfDocument) |
PdfDocumentInfo(PdfDocument pdfDocument) |
Modifier and Type | Method and Description |
---|---|
PdfDocumentInfo |
addCreationDate() |
PdfDocumentInfo |
addModDate() |
void |
flush() |
String |
getAuthor() |
String |
getCreator() |
String |
getKeywords() |
String |
getProducer() |
String |
getSubject() |
String |
getTitle() |
protected boolean |
isWrappedObjectMustBeIndirect()
Defines if the object behind this wrapper must be an indirect object in the resultant document.
|
PdfDocumentInfo |
setAuthor(String author) |
PdfDocumentInfo |
setCreator(String creator) |
PdfDocumentInfo |
setKeywords(String keywords) |
void |
setMoreInfo(Map<String,String> moreInfo) |
void |
setMoreInfo(String key, String value) |
PdfDocumentInfo |
setSubject(String subject) |
PdfDocumentInfo |
setTitle(String title) |
ensureObjectIsAddedToDocument, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidRelease
public PdfDocumentInfo(PdfDictionary pdfObject, PdfDocument pdfDocument)
public PdfDocumentInfo(PdfDictionary pdfObject)
public PdfDocumentInfo(PdfDocument pdfDocument)
public PdfDocumentInfo setTitle(String title)
public PdfDocumentInfo setAuthor(String author)
public PdfDocumentInfo setSubject(String subject)
public PdfDocumentInfo setKeywords(String keywords)
public PdfDocumentInfo setCreator(String creator)
public String getTitle()
public String getAuthor()
public String getSubject()
public String getKeywords()
public String getCreator()
public String getProducer()
public PdfDocumentInfo addCreationDate()
public PdfDocumentInfo addModDate()
public void flush()
flush
in class PdfObjectWrapper<PdfDictionary>
protected boolean isWrappedObjectMustBeIndirect()
PdfObjectWrapper
isWrappedObjectMustBeIndirect
in class PdfObjectWrapper<PdfDictionary>
Copyright © 1998–2016 iText Group NV. All rights reserved.