aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/pdf/PDFInfo.java
diff options
context:
space:
mode:
authorjtauber <jtauber@unknown>1999-11-22 02:32:21 +0000
committerjtauber <jtauber@unknown>1999-11-22 02:32:21 +0000
commit8db42fcc7af041a77223683e11e053ffb82c4847 (patch)
tree81748e94daccc781c60ee1d2bcf5a6105ab3070f /src/org/apache/fop/pdf/PDFInfo.java
parentabd622447e632998a8c9a5fbf40aec5e0ce73315 (diff)
downloadxmlgraphics-fop-8db42fcc7af041a77223683e11e053ffb82c4847.tar.gz
xmlgraphics-fop-8db42fcc7af041a77223683e11e053ffb82c4847.zip
removed multiple CRs at end of lines
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193230 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/pdf/PDFInfo.java')
-rw-r--r--src/org/apache/fop/pdf/PDFInfo.java44
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;
-
}
-
}
-