Package org.apache.fop.fo.expr
Class PropertyInfo
java.lang.Object
org.apache.fop.fo.expr.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
-
Method Summary
Modifier and TypeMethodDescriptiongetFO()
accessor for FObjReturn the PercentBase object used to calculate the absolute value from a percent specification.accessor for PropertyListaccessor for PropertyMakerprotected FOUserAgent
Convenience shortcut to get a reference to the FOUserAgentvoid
pop a function off of the function stackvoid
pushFunction
(Function func) push a function onto the function stack
-
Constructor Details
-
PropertyInfo
Constructor- Parameters:
maker
- Property.Maker objectplist
- PropertyList object
-
-
Method Details
-
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.
- Throws:
PropertyException
- if a property exception occurs
-
currentFontSize
- Returns:
- the current font-size value as base units (milli-points).
- Throws:
PropertyException
- if a property exception occurs
-
getFO
accessor for FObj- Returns:
- FObj
-
getPropertyList
accessor for PropertyList- Returns:
- PropertyList object
-
getPropertyMaker
accessor for PropertyMaker- Returns:
- PropertyMaker object
-
pushFunction
push a function onto the function stack- Parameters:
func
- function to push onto stack
-
popFunction
public void popFunction()pop a function off of the function stack -
getUserAgent
Convenience shortcut to get a reference to the FOUserAgent- Returns:
- the FOUserAgent
-