diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-01-31 13:10:39 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-01-31 13:10:39 +0000 |
commit | ae6f9e9fd5fa83d4e4b54b8486f2a6496d1af824 (patch) | |
tree | 7b6f7dabdacfb3c47ae601f2aa04d4653cd58a1b /src/java/org/apache/fop/render | |
parent | d69f26fbaceaf7aa48bcc8f7ec90772ab68e393a (diff) | |
download | xmlgraphics-fop-ae6f9e9fd5fa83d4e4b54b8486f2a6496d1af824.tar.gz xmlgraphics-fop-ae6f9e9fd5fa83d4e4b54b8486f2a6496d1af824.zip |
Added the page number to the pageViewport
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198344 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render')
-rw-r--r-- | src/java/org/apache/fop/render/xml/XMLRenderer.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/xml/XMLRenderer.java b/src/java/org/apache/fop/render/xml/XMLRenderer.java index 94f324495..ab1e20d74 100644 --- a/src/java/org/apache/fop/render/xml/XMLRenderer.java +++ b/src/java/org/apache/fop/render/xml/XMLRenderer.java @@ -338,6 +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()); startElement("pageViewport", atts); startElement("page"); super.renderPage(page); |