Package org.apache.fop.layout

Examples of org.apache.fop.layout.Region


  int marginBottom = this.properties.get("margin-bottom").getLength().mvalue();
  int marginLeft = this.properties.get("margin-left").getLength().mvalue();
  int marginRight = this.properties.get("margin-right").getLength().mvalue();
  int extent = this.properties.get("extent").getLength().mvalue();

  return new Region(allocationRectangleXPosition + marginLeft,
        allocationRectangleYPosition -
        allocationRectangleHeight + extent,
        allocationRectangleWidth - marginLeft -
        marginRight,extent);
    }
View Full Code Here


  int marginBottom = this.properties.get("margin-bottom").getLength().mvalue();
  int marginLeft = this.properties.get("margin-left").getLength().mvalue();
  int marginRight = this.properties.get("margin-right").getLength().mvalue();
  int extent = this.properties.get("extent").getLength().mvalue();
   
  return new Region(allocationRectangleXPosition + marginLeft,
        allocationRectangleYPosition - marginTop,
        allocationRectangleWidth - marginLeft -
        marginRight, extent);
    }
View Full Code Here

  int marginTop = this.properties.get("margin-top").getLength().mvalue();
  int marginBottom = this.properties.get("margin-bottom").getLength().mvalue();
  int marginLeft = this.properties.get("margin-left").getLength().mvalue();
  int marginRight = this.properties.get("margin-right").getLength().mvalue();

  return new Region(allocationRectangleXPosition + marginLeft,
        allocationRectangleYPosition - marginTop,
        allocationRectangleWidth - marginLeft -
        marginRight, allocationRectangleHeight -
        marginTop - marginBottom);
    }
View Full Code Here

TOP

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

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.