| java.lang.Object org.apache.fop.datatypes.SimplePercentBaseContext
SimplePercentBaseContext | public class SimplePercentBaseContext implements PercentBaseContext(Code) | | Class to implement a simple lookup context for a single percent base value.
|
Method Summary | |
public int | getBaseLength(int lengthBase, FObj fobj) Returns the value for the given lengthBase. |
SimplePercentBaseContext | public SimplePercentBaseContext(PercentBaseContext parentContext, int lengthBase, int lengthBaseValue)(Code) | | Parameters: parentContext - the context to be used for all percentages other than lengthBase Parameters: lengthBase - the particular percentage length base for which this context provides a value Parameters: lengthBaseValue - the value to be returned for requests to the given lengthBase |
|
|