aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/render/pdf
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2001-08-21 06:18:55 +0000
committerKeiron Liddle <keiron@apache.org>2001-08-21 06:18:55 +0000
commitd470d62badfec6dca2e8d16d1aec9ce1f773c6a9 (patch)
treeb586b18777680401202502ed75f4628252126cff /src/org/apache/fop/render/pdf
parentdbbff1776dde2e91ff212ed3445ab851a93fa809 (diff)
downloadxmlgraphics-fop-d470d62badfec6dca2e8d16d1aec9ce1f773c6a9.tar.gz
xmlgraphics-fop-d470d62badfec6dca2e8d16d1aec9ce1f773c6a9.zip
changed to new logging for renderers
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194436 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/render/pdf')
-rw-r--r--src/org/apache/fop/render/pdf/PDFRenderer.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/org/apache/fop/render/pdf/PDFRenderer.java b/src/org/apache/fop/render/pdf/PDFRenderer.java
index 45ca0b4ba..b76b1b77d 100644
--- a/src/org/apache/fop/render/pdf/PDFRenderer.java
+++ b/src/org/apache/fop/render/pdf/PDFRenderer.java
@@ -9,7 +9,6 @@ package org.apache.fop.render.pdf;
// FOP
import org.apache.fop.render.PrintRenderer;
-import org.apache.fop.messaging.MessageHandler;
import org.apache.fop.image.ImageArea;
import org.apache.fop.image.FopImage;
import org.apache.fop.apps.FOPException;
@@ -423,8 +422,8 @@ public class PDFRenderer extends PrintRenderer {
root.paint(graphics, rc);
currentStream.add(graphics.getString());
} catch (Exception e) {
- MessageHandler.errorln("Error: svg graphic could not be rendered: "
- + e.getMessage());
+ log.error("svg graphic could not be rendered: "
+ + e.getMessage(), e);
}
currentAnnotList = graphics.getAnnotList();
@@ -681,7 +680,7 @@ public class PDFRenderer extends PrintRenderer {
public void render(Page page, OutputStream outputStream)
throws FOPException, IOException {
- // MessageHandler.logln("rendering single page to PDF");
+ // log.debug("rendering single page to PDF");
this.idReferences = page.getIDReferences();
this.pdfResources = this.pdfDoc.getResources();
this.pdfDoc.setIDReferences(idReferences);
@@ -692,7 +691,7 @@ public class PDFRenderer extends PrintRenderer {
// TODO: this needs to be implemented
renderRootExtensions(page);
- // MessageHandler.logln("writing out PDF");
+ // log.debug("writing out PDF");
this.pdfDoc.output(outputStream);
}
@@ -825,7 +824,7 @@ public class PDFRenderer extends PrintRenderer {
PDFOutline pdfParentOutline =
(PDFOutline)parent.getRendererObject();
if (pdfParentOutline == null) {
- MessageHandler.errorln("Error: pdfParentOutline is null");
+ log.error("pdfParentOutline is null");
} else {
pdfOutline =
this.pdfDoc.makeOutline(pdfParentOutline,