public final class ValidationPercentBaseContext extends Object implements PercentBaseContext
Example: A table with collapsing border model has no padding. The Table FO should be able to check if non-zero values (even percentages) have been specified.
Modifier and Type | Method and Description |
---|---|
int |
getBaseLength(int lengthBase,
FObj fobj)
Returns the value for the given lengthBase.
|
static PercentBaseContext |
getPseudoContext() |
public int getBaseLength(int lengthBase, FObj fobj)
LengthBase
.getBaseLength
in interface PercentBaseContext
lengthBase
- Indicates which type of the base length value is to be returnedfobj
- The FO object against which the percentage should be evaluatedpublic static PercentBaseContext getPseudoContext()
Copyright © 2025 Apache Software Foundation. All rights reserved.