aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/pdf/PDFReference.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/pdf/PDFReference.java')
-rw-r--r--src/java/org/apache/fop/pdf/PDFReference.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFReference.java b/src/java/org/apache/fop/pdf/PDFReference.java
index ed1a8c016..3b615735a 100644
--- a/src/java/org/apache/fop/pdf/PDFReference.java
+++ b/src/java/org/apache/fop/pdf/PDFReference.java
@@ -19,6 +19,9 @@
package org.apache.fop.pdf;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.io.Writer;
import java.lang.ref.Reference;
import java.lang.ref.SoftReference;
@@ -68,13 +71,13 @@ public class PDFReference implements PDFWritable {
}
/** {@inheritDoc} */
- public String toInlinePDFString() {
+ public String toString() {
return this.indirectReference;
}
/** {@inheritDoc} */
- public String toString() {
- return toInlinePDFString();
+ public void outputInline(OutputStream out, Writer writer) throws IOException {
+ writer.write(toString());
}
}