diff options
author | Jeremias Maerki <jeremias@apache.org> | 2006-06-07 12:30:30 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2006-06-07 12:30:30 +0000 |
commit | d381f313ae8d953dfdd8128039f1353078353430 (patch) | |
tree | 937b49e0526bf1107494958386c3ffa8c059d892 | |
parent | 822ebb71bcd3ac39943d2a27ec726a443bfc88ed (diff) | |
download | xmlgraphics-fop-d381f313ae8d953dfdd8128039f1353078353430.tar.gz xmlgraphics-fop-d381f313ae8d953dfdd8128039f1353078353430.zip |
Add bookmarks even if one of the leaves didn't resolve.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@412389 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/area/AreaTreeHandler.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/area/AreaTreeHandler.java b/src/java/org/apache/fop/area/AreaTreeHandler.java index 6b68a9f7d..a3b97805b 100644 --- a/src/java/org/apache/fop/area/AreaTreeHandler.java +++ b/src/java/org/apache/fop/area/AreaTreeHandler.java @@ -413,6 +413,10 @@ public class AreaTreeHandler extends FOEventHandler { if (bookmarkTree != null) { BookmarkData data = new BookmarkData(bookmarkTree); addOffDocumentItem(data); + if (!data.isResolved()) { + //bookmarks did not fully resolve, add anyway. (hacky? yeah) + model.handleOffDocumentItem(data); + } } model.endDocument(); |