From 7216a331f25ef925bac4d688838b8e9e89c06de2 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Thu, 22 Dec 2005 08:51:37 +0000 Subject: [PATCH] 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 --- src/java/org/apache/fop/render/pdf/PDFRenderer.java | 2 ++ 1 file changed, 2 insertions(+) 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++) { -- 2.39.5