aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/layout/Page.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/layout/Page.java')
-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);