public class TableContentLayoutManager extends Object implements PercentBaseContext
Modifier and Type | Field and Description |
---|---|
protected TableRowIterator |
bodyIter |
Modifier and Type | Method and Description |
---|---|
int |
getBaseLength(int lengthBase,
FObj fobj)
Returns the base length for the given length base.
|
protected LinkedList |
getFooterElements() |
protected int |
getFooterNetHeight() |
protected LinkedList |
getHeaderElements() |
protected int |
getHeaderNetHeight() |
List<ListElement> |
getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM.
|
protected int |
getXOffsetOfGridUnit(int colIndex,
int nrColSpan)
Returns the X offset of the grid unit in the given column.
|
protected int |
getXOffsetOfGridUnit(PrimaryGridUnit gu)
Returns the X offset of the given grid unit.
|
protected TableRowIterator bodyIter
protected int getHeaderNetHeight()
protected int getFooterNetHeight()
protected LinkedList getHeaderElements()
protected LinkedList getFooterElements()
public List<ListElement> getNextKnuthElements(LayoutContext context, int alignment)
context
- the LayoutContext used to store layout informationalignment
- the desired text alignmentLayoutManager.getNextKnuthElements(LayoutContext, int)
protected int getXOffsetOfGridUnit(PrimaryGridUnit gu)
gu
- the grid unitprotected int getXOffsetOfGridUnit(int colIndex, int nrColSpan)
colIndex
- the column index (zero-based)nrColSpan
- number columns spannedpublic 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 evaluatedCopyright © 2025 Apache Software Foundation. All rights reserved.