org.apache.fop.fo.properties
Class DimensionPropertyMaker
public class DimensionPropertyMaker
- me
To change the template for this generated type comment go to
Window - Preferences - Java - Code Generation - Code and Comments
Property | compute(PropertyList propertyList) - Return a Property object representing the value of this property,
based on other property values for this FO.
|
boolean | isCorrespondingForced(PropertyList propertyList) - For properties that operate on a relative direction (before, after,
start, end) instead of an absolute direction (top, bottom, left,
right), this method determines whether a corresponding property
is specified on the corresponding absolute direction.
|
void | setExtraCorresponding(int[][] extraCorresponding)
|
DimensionPropertyMaker
public DimensionPropertyMaker(PropertyMaker baseMaker)
compute
public Property compute(PropertyList propertyList)
throws PropertyException
Return a Property object representing the value of this property,
based on other property values for this FO.
A special case is properties which inherit the specified value,
rather than the computed value.
- compute in interface CorrespondingPropertyMaker
propertyList
- The PropertyList for the FO.
- Property A computed Property value or null if no rules
are specified (in foproperties.xml) to compute the value.
isCorrespondingForced
public boolean isCorrespondingForced(PropertyList propertyList)
For properties that operate on a relative direction (before, after,
start, end) instead of an absolute direction (top, bottom, left,
right), this method determines whether a corresponding property
is specified on the corresponding absolute direction. For example,
the border-start-color property in a lr-tb writing-mode specifies
the same thing that the border-left-color property specifies. In this
example, if the Maker for the border-start-color property is testing,
and if the border-left-color is specified in the properties,
this method should return true.
- isCorrespondingForced in interface CorrespondingPropertyMaker
propertyList
- collection of properties to be tested
- true iff 1) the property operates on a relative direction,
AND 2) the property has a corresponding property on an absolute
direction, AND 3) the corresponding property on that absolute
direction has been specified in the input properties
setExtraCorresponding
public void setExtraCorresponding(int[][] extraCorresponding)
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.