Package org.plutext.jaxb.xslfo

Examples of org.plutext.jaxb.xslfo.PageSequenceMaster


  private static PageSequenceMaster createPageSequenceMaster(HeaderFooterPolicy hf,
      String sectionName ) {
   
    boolean noHeadersFootersAfterFirstPage = true;
   
    PageSequenceMaster psm = getFactory().createPageSequenceMaster();
    psm.setMasterName(sectionName);
   
    RepeatablePageMasterAlternatives rpma = getFactory().createRepeatablePageMasterAlternatives();
   
    psm.getSinglePageMasterReferenceOrRepeatablePageMasterReferenceOrRepeatablePageMasterAlternatives().add(rpma);
   
    // has first header or footer?
    if (hf.getFirstHeader()!=null || hf.getFirstFooter()!=null) {     
      ConditionalPageMasterReference cpmr1 = getFactory().createConditionalPageMasterReference();
      cpmr1.setMasterReference(sectionName+"-firstpage");
View Full Code Here

TOP

Related Classes of org.plutext.jaxb.xslfo.PageSequenceMaster

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.