|
fop 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.DummyPercentBaseContext
A dummy implementation of PercentBaseContext
Method Summary | |
int |
getBaseLength(int lengthBase,
FObj fo)
Returns the base length for the given length base. Length base should be one of the constants defined in LengthBase . |
static DummyPercentBaseContext |
getInstance()
Returns an instance of this dummy implementation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static DummyPercentBaseContext getInstance()
public int getBaseLength(int lengthBase, FObj fo)
LengthBase
.
getBaseLength
in interface PercentBaseContext
lengthBase
- Indicates which type of the base length value is to be returnedfo
- The FO object against which the percentage should be evaluated
|
fop 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |