aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/xml
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2005-02-06 20:48:48 +0000
committerGlen Mazza <gmazza@apache.org>2005-02-06 20:48:48 +0000
commit365625169d7febf9ae67460614bcd42f05d66274 (patch)
tree06fb0733c66addad890cdfe54b6b0734a70b7df3 /src/java/org/apache/fop/render/xml
parent53e0eb6fda134dd1097feed0e6cc315e2220f846 (diff)
downloadxmlgraphics-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.java2
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);