Package org.plutext.jaxb.xslfo

Examples of org.plutext.jaxb.xslfo.RegionAfter


      spm.setMarginTop( UnitsOfMeasurement.twipToBest(page.getPgMar().getTop().intValue() ) );
    }

    if (needAfter) {
      // Footer
      RegionAfter rAfter = getFactory().createRegionAfter();
      rAfter.setRegionName("xsl-region-after-"+appendRegionName);
      spm.setRegionAfter(rAfter);
     
      int marginBottomTwips= page.getFooterMargin();
      spm.setMarginBottom( UnitsOfMeasurement.twipToBest(marginBottomTwips) );
     
      // Size footer manually
      rAfter.setExtent( halfPageHeightPts); // A4 portrait is 297mm high
         
      // Leave room for this region in body margin
      rb.setMarginBottom(halfPageHeightPts );
     
    } else {
View Full Code Here

TOP

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

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.