]> source.dussan.org Git - xmlgraphics-fop.git/commit
(Re?)added integer page number to the PageViewport.
authorJeremias Maerki <jeremias@apache.org>
Fri, 20 Jan 2006 13:09:05 +0000 (13:09 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 20 Jan 2006 13:09:05 +0000 (13:09 +0000)
commit1d584c0578e207f856a557a3a583b6be273012f6
tree4dd1f3a3a7e620dafa05e67510bbc1778a4cf632
parent5a9b73f0742d64a486e69d9713c3304232ea4492
(Re?)added integer page number to the PageViewport.
Serializing both the integer and the formatted value to the area tree XML. In the XML "nr" is now "formatted-nr" and "nr" is now the integer value. This doesn't have any impact on our layout engine tests as we don't seem to use a non-default for page numbers.
Make the current PageViewport available to XMLHandler through the RenderContext.
I need this for Barcode4J so the current page number can be used as part of a barcode message.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@370801 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/fop/area/AreaTreeParser.java
src/java/org/apache/fop/area/PageViewport.java
src/java/org/apache/fop/layoutmgr/Page.java
src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java
src/java/org/apache/fop/render/AbstractRenderer.java
src/java/org/apache/fop/render/RendererContextConstants.java
src/java/org/apache/fop/render/java2d/Java2DRenderer.java
src/java/org/apache/fop/render/pdf/PDFRenderer.java
src/java/org/apache/fop/render/ps/PSRenderer.java
src/java/org/apache/fop/render/xml/XMLRenderer.java