org.apache.fop.fo.expr
Class PropertyInfo


public class PropertyInfo

This class holds context information needed during property expression evaluation. It holds the Maker object for the property, the PropertyList being built, and the FObj parent of the FObj for which the property is being set.


Constructor Summary
PropertyInfo(Property.Maker maker, PropertyList plist, FObj fo)
           

Method Summary
 intcurrentFontSize()
          Return the current font-size value as base units (milli-points).
 FObjgetFO()
           
 PercentBasegetPercentBase()
          Return the PercentBase object used to calculate the absolute value from a percent specification.
 PropertyListgetPropertyList()
           
 booleaninheritsSpecified()
          Return whether this property inherits specified values.
 voidpopFunction()
           
 voidpushFunction(Function func)
           

Constructor Detail

PropertyInfo

public PropertyInfo(Property.Maker maker, PropertyList plist, FObj fo)
Method Detail

currentFontSize

public int currentFontSize()
Return the current font-size value as base units (milli-points).

getFO

public FObj getFO()

getPercentBase

public PercentBase getPercentBase()
Return the PercentBase object used to calculate the absolute value from a percent specification. Propagates to the Maker.
Returns: The PercentBase object or null if percentLengthOK()=false.

getPropertyList

public PropertyList getPropertyList()

inheritsSpecified

public boolean inheritsSpecified()
Return whether this property inherits specified values. Propagates to the Maker.
Returns: true if the property inherits specified values, false if it inherits computed values.

popFunction

public void popFunction()

pushFunction

public void pushFunction(Function func)

Association Links

to Class org.apache.fop.fo.Property.Maker

to Class org.apache.fop.fo.PropertyList

to Class org.apache.fop.fo.FObj

to Class java.util.Stack