aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/layout
diff options
context:
space:
mode:
authorarved <arved@unknown>2001-07-08 05:05:16 +0000
committerarved <arved@unknown>2001-07-08 05:05:16 +0000
commita78935e479cfcbc445e4d9c2bb4e85fea4574c06 (patch)
treee8f827796180f950cb57371968efd23b22c506a4 /src/org/apache/fop/layout
parent7e0a43a07a6d5a4ff7970940d0b6fad7e3faabca (diff)
downloadxmlgraphics-fop-a78935e479cfcbc445e4d9c2bb4e85fea4574c06.tar.gz
xmlgraphics-fop-a78935e479cfcbc445e4d9c2bb4e85fea4574c06.zip
Supports page-number formatting
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194336 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/layout')
-rw-r--r--src/org/apache/fop/layout/Page.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/org/apache/fop/layout/Page.java b/src/org/apache/fop/layout/Page.java
index eaf3d4e1e..fe1d16332 100644
--- a/src/org/apache/fop/layout/Page.java
+++ b/src/org/apache/fop/layout/Page.java
@@ -30,7 +30,8 @@ public class Page {
private AreaTree areaTree;
protected int pageNumber = 0;
-
+ protected String formattedPageNumber;
+
protected Vector linkSets = new Vector();
private Vector idList = new Vector();
@@ -51,6 +52,14 @@ public class Page {
return this.pageNumber;
}
+ public void setFormattedNumber(String number) {
+ this.formattedPageNumber = number;
+ }
+
+ public String getFormattedNumber() {
+ return this.formattedPageNumber;
+ }
+
void addAfter(AreaContainer area) {
this.after = area;
area.setPage(this);