You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ar...@apache.org on 2001/07/08 07:04:57 UTC
cvs commit: xml-fop/src/org/apache/fop/layout Page.java
arved 01/07/07 22:04:57
Modified: src/org/apache/fop/layout Page.java
Log:
Supports page-number formatting
Revision Changes Path
1.12 +11 -2 xml-fop/src/org/apache/fop/layout/Page.java
Index: Page.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/layout/Page.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- Page.java 2001/06/12 11:37:43 1.11
+++ Page.java 2001/07/08 05:04:56 1.12
@@ -1,4 +1,4 @@
-/* $Id: Page.java,v 1.11 2001/06/12 11:37:43 keiron Exp $
+/* $Id: Page.java,v 1.12 2001/07/08 05:04:56 arved Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
@@ -30,7 +30,8 @@
private AreaTree areaTree;
protected int pageNumber = 0;
-
+ protected String formattedPageNumber;
+
protected Vector linkSets = new Vector();
private Vector idList = new Vector();
@@ -49,6 +50,14 @@
public int getNumber() {
return this.pageNumber;
+ }
+
+ public void setFormattedNumber(String number) {
+ this.formattedPageNumber = number;
+ }
+
+ public String getFormattedNumber() {
+ return this.formattedPageNumber;
}
void addAfter(AreaContainer area) {
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org