diff options
author | Glen Mazza <gmazza@apache.org> | 2005-02-06 20:48:48 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2005-02-06 20:48:48 +0000 |
commit | 365625169d7febf9ae67460614bcd42f05d66274 (patch) | |
tree | 06fb0733c66addad890cdfe54b6b0734a70b7df3 /src/java/org/apache/fop/render/xml | |
parent | 53e0eb6fda134dd1097feed0e6cc315e2220f846 (diff) | |
download | xmlgraphics-fop-365625169d7febf9ae67460614bcd42f05d66274.tar.gz xmlgraphics-fop-365625169d7febf9ae67460614bcd42f05d66274.zip |
PR:
Obtained from:
Submitted by:
Reviewed by:
Rolled the PageNumberGenerator from PSLM back into PageSequence (slightly simpler, also this functionality is useful for non-layout render types), renamed PageViewport.getPageNumber() to .getPageNumberString() to emphasize what it is actually returning.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198381 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/xml')
-rw-r--r-- | src/java/org/apache/fop/render/xml/XMLRenderer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/xml/XMLRenderer.java b/src/java/org/apache/fop/render/xml/XMLRenderer.java index ab1e20d74..4a2e54cf1 100644 --- a/src/java/org/apache/fop/render/xml/XMLRenderer.java +++ b/src/java/org/apache/fop/render/xml/XMLRenderer.java @@ -338,7 +338,7 @@ public class XMLRenderer extends AbstractRenderer { public void renderPage(PageViewport page) throws IOException, FOPException { atts.clear(); addAttribute("bounds", page.getViewArea()); - addAttribute("nr", page.getPageNumber()); + addAttribute("nr", page.getPageNumberString()); startElement("pageViewport", atts); startElement("page"); super.renderPage(page); |