Class RowGroupLayoutManager
java.lang.Object
org.apache.fop.layoutmgr.table.RowGroupLayoutManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static org.apache.commons.logging.Logprivate static final MinOptMaxprivate EffRow[]private TableLayoutManagerprivate TableStepper -
Constructor Summary
ConstructorsConstructorDescriptionRowGroupLayoutManager(TableLayoutManager tableLM, EffRow[] rowGroup, TableStepper tableStepper) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidCalculate the heights of the rows in the row group, see CSS21, 17.5.3 Table height algorithms.private voidcreateElementsForRowGroup(LayoutContext context, int alignment, int bodyType, LinkedList returnList) Creates Knuth elements for a row group (see TableRowIterator.getNextRowGroup()).getNextKnuthElements(LayoutContext context, int alignment, int bodyType)
-
Field Details
-
log
private static org.apache.commons.logging.Log log -
MAX_STRETCH
-
rowGroup
-
tableLM
-
tableStepper
-
-
Constructor Details
-
RowGroupLayoutManager
RowGroupLayoutManager(TableLayoutManager tableLM, EffRow[] rowGroup, TableStepper tableStepper)
-
-
Method Details
-
getNextKnuthElements
public LinkedList<ListElement> getNextKnuthElements(LayoutContext context, int alignment, int bodyType) -
createElementsForRowGroup
private void createElementsForRowGroup(LayoutContext context, int alignment, int bodyType, LinkedList returnList) Creates Knuth elements for a row group (see TableRowIterator.getNextRowGroup()).- Parameters:
context- Active LayoutContextalignment- alignment indicatorbodyType- Indicates what kind of body is being processed (BODY, HEADER or FOOTER)returnList- List to received the generated elements
-
computeRowHeights
private void computeRowHeights()Calculate the heights of the rows in the row group, see CSS21, 17.5.3 Table height algorithms. TODO this method will need to be adapted once clarification has been made by the W3C regarding whether borders or border-separation must be included or not
-