diff options
Diffstat (limited to 'src/java/org/apache/fop/area')
-rw-r--r-- | src/java/org/apache/fop/area/PageViewport.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/area/PageViewport.java b/src/java/org/apache/fop/area/PageViewport.java index 2f1f7786d..cb7b524cf 100644 --- a/src/java/org/apache/fop/area/PageViewport.java +++ b/src/java/org/apache/fop/area/PageViewport.java @@ -170,7 +170,8 @@ public class PageViewport implements Resolvable, Cloneable { * @return true if the page is resolved and can be rendered */ public boolean isResolved() { - return unresolvedIDRefs == null; + return unresolvedIDRefs == null + || unresolvedIDRefs.size() == 0; } /** @@ -395,6 +396,7 @@ public class PageViewport implements Resolvable, Cloneable { Page p = (Page)page.clone(); PageViewport ret = new PageViewport(spm, pageNumberString, p, (Rectangle2D)viewArea.clone()); + ret.pageNumberString = pageNumberString; return ret; } |