Package org.apache.fop.layoutmgr.table
Class RowGroupLayoutManager
- java.lang.Object
-
- org.apache.fop.layoutmgr.table.RowGroupLayoutManager
-
class RowGroupLayoutManager extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.commons.logging.Log
log
private static MinOptMax
MAX_STRETCH
private EffRow[]
rowGroup
private TableLayoutManager
tableLM
private TableStepper
tableStepper
-
Constructor Summary
Constructors Constructor Description RowGroupLayoutManager(TableLayoutManager tableLM, EffRow[] rowGroup, TableStepper tableStepper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
computeRowHeights()
Calculate the heights of the rows in the row group, see CSS21, 17.5.3 Table height algorithms.private void
createElementsForRowGroup(LayoutContext context, int alignment, int bodyType, java.util.LinkedList returnList)
Creates Knuth elements for a row group (see TableRowIterator.getNextRowGroup()).java.util.LinkedList
getNextKnuthElements(LayoutContext context, int alignment, int bodyType)
-
-
-
Field Detail
-
log
private static org.apache.commons.logging.Log log
-
MAX_STRETCH
private static final MinOptMax MAX_STRETCH
-
rowGroup
private EffRow[] rowGroup
-
tableLM
private TableLayoutManager tableLM
-
tableStepper
private TableStepper tableStepper
-
-
Constructor Detail
-
RowGroupLayoutManager
RowGroupLayoutManager(TableLayoutManager tableLM, EffRow[] rowGroup, TableStepper tableStepper)
-
-
Method Detail
-
getNextKnuthElements
public java.util.LinkedList getNextKnuthElements(LayoutContext context, int alignment, int bodyType)
-
createElementsForRowGroup
private void createElementsForRowGroup(LayoutContext context, int alignment, int bodyType, java.util.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
-
-