diff options
Diffstat (limited to 'src/org/apache/fop/pdf/PDFInfo.java')
-rw-r--r-- | src/org/apache/fop/pdf/PDFInfo.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/org/apache/fop/pdf/PDFInfo.java b/src/org/apache/fop/pdf/PDFInfo.java index 1004389f9..9193648ab 100644 --- a/src/org/apache/fop/pdf/PDFInfo.java +++ b/src/org/apache/fop/pdf/PDFInfo.java @@ -47,6 +47,15 @@ public class PDFInfo extends PDFObject { this.producer = producer; } + /** + * set the creator string + * + * @param creator the document creator + */ + public void setCreator(String creator) { + this.creator = creator; + } + public void setTitle(String t) { this.title = t; } @@ -84,6 +93,10 @@ public class PDFInfo extends PDFObject { p += "/Keywords (" + this.keywords + ")\n"; } + if (creator != null) { + p += "/Creator (" + this.creator + ")\n"; + } + p += "/Producer (" + this.producer + ")\n"; // creation date in form (D:YYYYMMDDHHmmSSOHH'mm') |