From a78935e479cfcbc445e4d9c2bb4e85fea4574c06 Mon Sep 17 00:00:00 2001 From: arved Date: Sun, 8 Jul 2001 05:05:16 +0000 Subject: Supports page-number formatting git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194336 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/layout/Page.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/org/apache/fop/layout/Page.java') 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); -- cgit v1.2.3