org.apache.fop.fo.properties
Class IndentPropertyMaker
public class IndentPropertyMaker
This property maker handles the calculations described in 5.3.2 which
involves the sizes of the corresponding margin-* properties and the
padding-* and border-*-width properties.
IndentPropertyMaker
public IndentPropertyMaker(PropertyMaker baseMaker)
Create a start-indent or end-indent property maker.
baseMaker
- the property maker to use
computeAlternativeRuleset
public Property computeAlternativeRuleset(PropertyList propertyList)
throws PropertyException
Calculate the corresponding value for start-indent and end-indent.
This method calculates indent following an alternative rule set that
tries to mimic many commercial solutions that chose to violate the
XSL specification.
setBorderWidthCorresponding
public void setBorderWidthCorresponding(int[] borderWidthCorresponding)
Set the corresponding values for the border-*-width properties.
borderWidthCorresponding
- the corresping propids.
setPaddingCorresponding
public void setPaddingCorresponding(int[] paddingCorresponding)
Set the corresponding values for the padding-* properties.
paddingCorresponding
- the corresping propids.
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.