diff options
Diffstat (limited to 'src/org/apache/fop/pdf/PDFInfo.java')
-rw-r--r-- | src/org/apache/fop/pdf/PDFInfo.java | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/org/apache/fop/pdf/PDFInfo.java b/src/org/apache/fop/pdf/PDFInfo.java index e469546e1..89f8b3ec7 100644 --- a/src/org/apache/fop/pdf/PDFInfo.java +++ b/src/org/apache/fop/pdf/PDFInfo.java @@ -50,89 +50,45 @@ */ package org.apache.fop.pdf; - - // Java - import java.io.IOException; - import java.io.PrintWriter; - - /** - * class representing an /Info object - */ - public class PDFInfo extends PDFObject { - - /** the application producing the PDF */ - protected String producer; - - /** - * create an Info object - * - * @param number the object's number - */ - public PDFInfo(int number) { - super(number); - } - - /** - * set the producer string - * - * @param producer the producer string - */ - public void setProducer(String producer) { - this.producer = producer; - } - - /** - * produce the PDF representation of the object - * - * @return the PDF - */ - public String toPDF() { - String p = this.number + " " + this.generation - + " obj\n<< /Type /Info\n/Producer (" + this.producer - + ") >>\nendobj\n"; - return p; - } - } - |