diff options
author | Glen Mazza <gmazza@apache.org> | 2004-09-05 04:00:52 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-09-05 04:00:52 +0000 |
commit | efb1d8b52a886e9fe36f82abcb0064a89b2e022f (patch) | |
tree | edc05717405d4227252323e2cdf80b89fc94dc84 /src/java/org/apache/fop/render/mif | |
parent | fe2d99426ed26953441a63e27aa87935e0877d6d (diff) | |
download | xmlgraphics-fop-efb1d8b52a886e9fe36f82abcb0064a89b2e022f.tar.gz xmlgraphics-fop-efb1d8b52a886e9fe36f82abcb0064a89b2e022f.zip |
PR:
Obtained from:
Submitted by:
Reviewed by:
1.) AddChildNode(), characters() modified to throw SAXParseException to
allow AddChildNode() to do validation of its own.
2.) Better child validation added to PageSequence.java.
3.) Various other code cleanups.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197903 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/mif')
-rw-r--r-- | src/java/org/apache/fop/render/mif/MIFHandler.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/render/mif/MIFHandler.java b/src/java/org/apache/fop/render/mif/MIFHandler.java index 16b0ba357..2a50c3536 100644 --- a/src/java/org/apache/fop/render/mif/MIFHandler.java +++ b/src/java/org/apache/fop/render/mif/MIFHandler.java @@ -116,9 +116,9 @@ public class MIFHandler extends FOInputHandler { // get the layout master set // setup the pages for this sequence String name = pageSeq.getPropString(Constants.PR_MASTER_REFERENCE); - SimplePageMaster spm = pageSeq.getLayoutMasterSet().getSimplePageMaster(name); + SimplePageMaster spm = pageSeq.getRoot().getLayoutMasterSet().getSimplePageMaster(name); if (spm == null) { - PageSequenceMaster psm = pageSeq.getLayoutMasterSet().getPageSequenceMaster(name); + PageSequenceMaster psm = pageSeq.getRoot().getLayoutMasterSet().getPageSequenceMaster(name); } else { // create simple master with regions MIFElement prop = new MIFElement("PageType"); @@ -159,8 +159,7 @@ public class MIFHandler extends FOInputHandler { /** * @see org.apache.fop.fo.FOInputHandler#endPageSequence(PageSequence) */ - public void endPageSequence(PageSequence pageSeq) throws FOPException { - + public void endPageSequence(PageSequence pageSeq) { } /** |