|
fop 0.90alpha1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFInfo
class representing an /Info object
Field Summary |
Fields inherited from class org.apache.fop.pdf.PDFObject |
DATE_FORMAT, log |
Constructor Summary | |
PDFInfo()
|
Method Summary | |
java.util.Date |
getCreationDate()
|
java.lang.String |
getTitle()
|
void |
setAuthor(java.lang.String a)
set the author string |
void |
setCreationDate(java.util.Date date)
|
void |
setCreator(java.lang.String creator)
set the creator string |
void |
setKeywords(java.lang.String k)
set the keywords string |
void |
setProducer(java.lang.String producer)
set the producer string |
void |
setSubject(java.lang.String s)
set the subject string |
void |
setTitle(java.lang.String t)
set the title string |
byte[] |
toPDF()
Encodes the object as a byte array for output to a PDF file. |
Methods inherited from class org.apache.fop.pdf.PDFObject |
encode, encodeString, encodeText, formatDateTime, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, hasObjectNumber, output, referencePDF, setDocument, setObjectNumber, toPDFString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PDFInfo()
Method Detail |
public void setProducer(java.lang.String producer)
producer
- the producer stringpublic void setCreator(java.lang.String creator)
creator
- the document creatorpublic java.lang.String getTitle()
public void setTitle(java.lang.String t)
t
- the document titlepublic void setAuthor(java.lang.String a)
a
- the document authorpublic void setSubject(java.lang.String s)
s
- the document subjectpublic void setKeywords(java.lang.String k)
k
- the keywords for this documentpublic java.util.Date getCreationDate()
public void setCreationDate(java.util.Date date)
date
- Date to store in the PDF as creation date. Use null to force current system date.public byte[] toPDF()
PDFObject
toPDF
in class PDFObject
PDFObject.toPDF()
|
fop 0.90alpha1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |