diff options
author | Keiron Liddle <keiron@apache.org> | 2001-11-09 11:32:42 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2001-11-09 11:32:42 +0000 |
commit | d4fcf5b78def6bbc2a310621848f110c0611e7f4 (patch) | |
tree | 564f1b623a3ce1333fc35ed21600d53274a0a6d8 /src/org/apache/fop/fo/pagination/PageSequence.java | |
parent | 31965968c68717055bbd096b709df3e72ceb8b40 (diff) | |
download | xmlgraphics-fop-d4fcf5b78def6bbc2a310621848f110c0611e7f4.tar.gz xmlgraphics-fop-d4fcf5b78def6bbc2a310621848f110c0611e7f4.zip |
changed the parent to FONode
changed a few more vector and hashtable
change master-name to master-reference for page-sequence, single-page-master-reference, repeatable-page-masterreference,conditional-page-master-reference
added pdf text element bridge for simple text
some other changes that will hopefully make things simpler to handle in the future
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194537 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/pagination/PageSequence.java')
-rw-r--r-- | src/org/apache/fop/fo/pagination/PageSequence.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/org/apache/fop/fo/pagination/PageSequence.java b/src/org/apache/fop/fo/pagination/PageSequence.java index 67d55212e..bcdb40e28 100644 --- a/src/org/apache/fop/fo/pagination/PageSequence.java +++ b/src/org/apache/fop/fo/pagination/PageSequence.java @@ -69,7 +69,7 @@ public class PageSequence extends FObj { private Hashtable _flowMap; /** - * the "master-name" attribute + * the "master-reference" attribute */ private String masterName; @@ -121,9 +121,8 @@ public class PageSequence extends FObj { private String currentPageMasterName; - public PageSequence(FObj parent) { + public PageSequence(FONode parent) { super(parent); - this.name = "fo:page-sequence"; } public void handleAttrs(Attributes attlist) throws FOPException { @@ -166,7 +165,7 @@ public class PageSequence extends FObj { } } - masterName = this.properties.get("master-name").getString(); + masterName = this.properties.get("master-reference").getString(); // get the 'format' properties this.pageNumberGenerator = @@ -517,7 +516,7 @@ public class PageSequence extends FObj { SimplePageMaster simpleMaster = this.layoutMasterSet.getSimplePageMaster(pageSequenceName); if (simpleMaster == null) { - throw new FOPException("'master-name' for 'fo:page-sequence'" + throw new FOPException("'master-reference' for 'fo:page-sequence'" + "matches no 'simple-page-master' or 'page-sequence-master'"); } currentPageMasterName = pageSequenceName; |