Package org.apache.fop.layout

Examples of org.apache.fop.layout.PageMasterFactory


        {
            throw new FOPException("page-sequence is missing an"
            + " sequence-specification");
        }

        PageMasterFactory pmf =
        this.sequenceSpecification.getFirstPageMasterFactory();

        pageMaster = pmf.getNextPageMaster();

        while ( pageMaster == null )
        {
            /* move on to next sequence specifier */
            pmf = pmf.getNext();
            if ( pmf == null )
            {
                throw new FOPException("out of sequence specifiers"
                + " (FOP will eventually allow this)");
            }
            pageMaster = pmf.getNextPageMaster();
        }
        return pageMaster.makePage(areaTree);
    }
View Full Code Here


  if (this.sequenceSpecification == null) {
      throw new FOPException("page-sequence is missing an"
           + " sequence-specification");
  }
   
  PageMasterFactory pmf =
      this.sequenceSpecification.getFirstPageMasterFactory();

  pageMaster = pmf.getNextPageMaster();

  while (pageMaster == null) {
      /* move on to next sequence specifier */
      pmf = pmf.getNext();
      if (pmf == null) {
    throw new FOPException("out of sequence specifiers"
               + " (FOP will eventually allow this)");
      }
      pageMaster = pmf.getNextPageMaster();
  }
  return pageMaster.makePage(areaTree);
    }
View Full Code Here

TOP

Related Classes of org.apache.fop.layout.PageMasterFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.