diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-12-22 08:51:37 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-12-22 08:51:37 +0000 |
commit | 7216a331f25ef925bac4d688838b8e9e89c06de2 (patch) | |
tree | d2d9d99ce699909068c14f17b8394ed082aa3ea3 /src/java/org/apache/fop/render/pdf | |
parent | e47a618945b52de9da35fc5eb0a5a4ef1c1749e7 (diff) | |
download | xmlgraphics-fop-7216a331f25ef925bac4d688838b8e9e89c06de2.tar.gz xmlgraphics-fop-7216a331f25ef925bac4d688838b8e9e89c06de2.zip |
Issue a warning when an unresolved bookmark item is received. This will be currently triggered by bug #37993. This is just to raise awareness of the problem.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358535 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/pdf')
-rw-r--r-- | src/java/org/apache/fop/render/pdf/PDFRenderer.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/pdf/PDFRenderer.java b/src/java/org/apache/fop/render/pdf/PDFRenderer.java index 66d46b7e2..70c94dcdb 100644 --- a/src/java/org/apache/fop/render/pdf/PDFRenderer.java +++ b/src/java/org/apache/fop/render/pdf/PDFRenderer.java @@ -331,6 +331,8 @@ public class PDFRenderer extends AbstractPathOrientedRenderer { intDest, yoffset, bookmarkItem.showChildItems()); } + } else { + log.warn("Unresolved bookmark item received: " + bookmarkItem.getIDRef()); } for (int i = 0; i < bookmarkItem.getCount(); i++) { |