aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/rtf
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-12-13 19:48:04 +0000
committerJeremias Maerki <jeremias@apache.org>2005-12-13 19:48:04 +0000
commit32521d94ac717c6f07f4d45607d1d049c839c42c (patch)
tree4c405a9bc0abee3e33031a242d9e0eb7dd2024c8 /src/java/org/apache/fop/render/rtf
parent97233ecb13be21d14b04265c31023b6a759e9d71 (diff)
downloadxmlgraphics-fop-32521d94ac717c6f07f4d45607d1d049c839c42c.tar.gz
xmlgraphics-fop-32521d94ac717c6f07f4d45607d1d049c839c42c.zip
New method: FONode.decorateWithContextInfo() adds context information to an error or log message by either providing the locator information or by gathering context information from the context FOs.
Improved log and error messages in a number of places by adding additional context information that should make it easier to find the location in the source files. Added a check to detect inline overflows (LineLayoutManager). Added a check to detect in-page overflows (PageBreakingAlgorithm). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356592 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/rtf')
-rw-r--r--src/java/org/apache/fop/render/rtf/RTFHandler.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/rtf/RTFHandler.java b/src/java/org/apache/fop/render/rtf/RTFHandler.java
index 7552d8e7d..d317ffe50 100644
--- a/src/java/org/apache/fop/render/rtf/RTFHandler.java
+++ b/src/java/org/apache/fop/render/rtf/RTFHandler.java
@@ -947,7 +947,8 @@ public class RTFHandler extends FOEventHandler {
rawData = fopimage.getRessourceBytes();
}
if (rawData == null) {
- log.warn("Image could not be embedded: " + url);
+ log.warn(FONode.decorateWithContextInfo(
+ "Image could not be embedded: " + url, eg));
return;
}