Package org.apache.fop.layoutmgr.table
Class ActiveCell.Step
- java.lang.Object
-
- org.apache.fop.layoutmgr.table.ActiveCell.Step
-
- Enclosing class:
- ActiveCell
private static class ActiveCell.Step extends java.lang.Object
Auxiliary class to store all the informations related to a breaking step.
-
-
Field Summary
Fields Modifier and Type Field Description private int
breakClass
private int
condBeforeContentLength
Length of the optional content at the beginning of the step.private int
contentLength
Length of the Knuth elements up to this step.private int
end
Index, in the list of Knuth elements, of the element ending this step.private java.util.List
footnoteList
List of footnotes for this step.private int
penaltyLength
Length of the penalty ending this step, if any.private int
penaltyValue
Value of the penalty ending this step, 0 if the step does not end on a penalty.private int
start
Index, in the list of Knuth elements, of the element starting this step.private int
totalLength
Total length up to this step, including paddings and borders.
-
Constructor Summary
Constructors Constructor Description Step(int contentLength)
Step(ActiveCell.Step other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
set(ActiveCell.Step other)
java.lang.String
toString()
-
-
-
Field Detail
-
start
private int start
Index, in the list of Knuth elements, of the element starting this step.
-
end
private int end
Index, in the list of Knuth elements, of the element ending this step.
-
contentLength
private int contentLength
Length of the Knuth elements up to this step.
-
totalLength
private int totalLength
Total length up to this step, including paddings and borders.
-
penaltyLength
private int penaltyLength
Length of the penalty ending this step, if any.
-
penaltyValue
private int penaltyValue
Value of the penalty ending this step, 0 if the step does not end on a penalty.
-
footnoteList
private java.util.List footnoteList
List of footnotes for this step.
-
breakClass
private int breakClass
One ofConstants.EN_AUTO
,Constants.EN_COLUMN
,Constants.EN_PAGE
,Constants.EN_EVEN_PAGE
,Constants.EN_ODD_PAGE
. Set to auto if the break isn't at a penalty element.
-
condBeforeContentLength
private int condBeforeContentLength
Length of the optional content at the beginning of the step. That is, content that will not appear if this step starts a new page.
-
-
Constructor Detail
-
Step
Step(int contentLength)
-
Step
Step(ActiveCell.Step other)
-
-
Method Detail
-
set
void set(ActiveCell.Step other)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-