fop 0.91beta

org.apache.fop.fo.expr
Class PropertyInfo

java.lang.Object
  |
  +--org.apache.fop.fo.expr.PropertyInfo

public class PropertyInfo
extends java.lang.Object

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(PropertyMaker maker, PropertyList plist, FObj fo)
          Constructor
 
Method Summary
 Length currentFontSize()
           
 FObj getFO()
          accessor for FObj
 PercentBase getPercentBase()
          Return the PercentBase object used to calculate the absolute value from a percent specification.
 PropertyList getPropertyList()
          accessor for PropertyList
 PropertyMaker getPropertyMaker()
          accessor for PropertyMaker
 void popFunction()
          pop a function off of the function stack
 void pushFunction(Function func)
          push a function onto the function stack
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyInfo

public PropertyInfo(PropertyMaker maker,
                    PropertyList plist,
                    FObj fo)
Constructor
Parameters:
maker - Property.Maker object
plist - PropertyList object
fo - FObj
Method Detail

getPercentBase

public PercentBase getPercentBase()
                           throws PropertyException
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.

currentFontSize

public Length currentFontSize()
                       throws PropertyException
Returns:
the current font-size value as base units (milli-points).

getFO

public FObj getFO()
accessor for FObj
Returns:
FObj

getPropertyList

public PropertyList getPropertyList()
accessor for PropertyList
Returns:
PropertyList object

getPropertyMaker

public PropertyMaker getPropertyMaker()
accessor for PropertyMaker
Returns:
PropertyMaker object

pushFunction

public void pushFunction(Function func)
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

fop 0.91beta

Copyright 1999-2005 The Apache Software Foundation. All Rights Reserved.