public class TableSectionBox extends BlockBox
BlockBox.ContentType, BlockBox.MarginCollapseResultBox.ChildIteratorOfType<T>NO_BASELINE, POSITION_BOTH, POSITION_HORIZONTALLY, POSITION_VERTICALLY_element, CHILDREN_FLUX, DONE, DUMP_LAYOUT, DUMP_RENDER, FLUX, LINE_SEPARATOR, NOTHING| Constructor and Description |
|---|
TableSectionBox() |
| Modifier and Type | Method and Description |
|---|---|
void |
calcBorders(LayoutContext c) |
TableCellBox |
cellAt(int row,
int col) |
BlockBox |
copyOf() |
void |
extendGridToColumnCount(int columnCount) |
List<RowData> |
getGrid() |
TableRowBox |
getLastRow() |
int |
getOriginalAbsY() |
int |
getReservedHeight()
The section's full height including any first-fragment-hidden rows: the
space to reserve at continuation-page tops and to reposition the repeated
header from.
|
TableBox |
getTable() |
boolean |
isAutoHeight() |
boolean |
isCapturedOriginalAbsY() |
boolean |
isFooter() |
boolean |
isHeader() |
boolean |
isPageBreakNeededBecauseOfMinHeight(LayoutContext c)
Using the css:
-fs-page-break-min-height: 5cm;
on a block element you can force a pagebreak before this block, if not
enough space (e.g.
|
protected boolean |
isSkipWhenCollapsingMargins() |
void |
layout(LayoutContext c,
int contentStart) |
protected void |
layoutChildren(LayoutContext c,
int contentStart) |
int |
numRows() |
void |
paintBackground(RenderingContext c) |
void |
paintBorder(RenderingContext c) |
void |
recalcCells(LayoutContext c) |
void |
reset(LayoutContext c)
Responsible for resetting the state of the box before a repeat
call to
BlockBox.layout(LayoutContext) or other layout methods. |
void |
setCapturedOriginalAbsY(boolean capturedOriginalAbsY) |
void |
setFooter(boolean footer) |
void |
setHeader(boolean header) |
void |
setNeedPageClear(boolean needPageClear) |
void |
setOriginalAbsY(int originalAbsY) |
void |
splitColumn(int pos) |
addBoxID, appendPositioningInfo, calcBaseline, calcBreakAtLineContext, calcCanvasLocation, calcChildLocations, calcChildPaintingInfo, calcDimensions, calcDimensions, calcInitialBreakAtLine, calcInitialFloatedCanvasLocation, calcInlineBaseline, calcLayoutHeight, calcMinMaxWidth, checkPageContext, checkPopBfc, checkPushBfc, checkPushLayer, collapseMargins, collectLayoutText, createMarkerData, dump, ensureChildren, findLastNthLineBox, findOffset, getAvailableWidth, getChildrenContentType, getChildrenHeight, getCSSFitToWidth, getCSSHeight, getCSSWidth, getCSSWidth, getDocumentParent, getExtraBoxDescription, getFirstLetterStyle, getFirstLineStyle, getFloatedBoxData, getInlineContent, getLineBox, getListCounter, getMarkerData, getMaxWidth, getMinWidth, getNextCollapsableSibling, getPageClearance, getPaintingClipEdge, getPersistentBFC, getReplacedElement, getStaticEquivalent, initStaticPos, isAllowHeightToShrink, isBottomMarginCalculated, isContainsInlineContent, isCurrentBreakAtLineContext, isFixedWidthAdvisoryOnly, isFloated, isFromCaptionedTable, isInline, isInlineBlock, isInMainFlow, isListItem, isMayCollapseMarginsWithChildren, isMinMaxCalculated, isNeedPageClear, isNeedsClipOnPaint, isNeedsKeepWithInline, isReplaced, isTopMarginCalculated, layout, layoutInlineChildren, paintDebugOutline, paintListMarker, positionAbsolute, positionAbsoluteOnPage, propagateExtraSpace, resolveAutoMargins, setBottomMarginCalculated, setChildrenContentType, setChildrenHeight, setDimensionsCalculated, setElement, setFirstLetterStyle, setFirstLineStyle, setFloatedBoxData, setFromCaptionedTable, setInlineContent, setListCounter, setMarkerData, setMaxWidth, setMinMaxCalculated, setMinWidth, setNeedShrinkToFitCalculation, setPersistentBFC, setReplacedElement, setStaticEquivalent, setTopMarginCalculated, shouldBeReplaced, styleText, styleText, toStringaddAllChildren, addChild, addChildForLayout, analyzePageBreaks, ancestors, ancestorsWhile, calcPaintingInfo, collectText, connectChildrenToCurrentLayer, crossesPageBreak, detach, dumpBoxes, exportPageBoxText, exportText, find, findAncestor, findColumnBreakOpportunities, forcePageBreakAfter, forcePageBreakBefore, forcePageBreakBefore, forcePageBreakBefore, getAbsoluteClipBox, getAbsX, getAbsY, getAccessibilityObject, getBorder, getBorderBox, getBorderBoxHeight, getBorderBoxWidth, getBorderEdge, getBorderSides, getBoxDimensions, getChild, getChildCount, getChildIterator, getChildIteratorOfType, getChildren, getChildrenClipEdge, getClipBox, getColumnGroupRequestedWidth, getContainingBlock, getContainingBlockWidth, getContainingLayer, getContentAreaEdge, getContentWidth, getEffBackgroundColor, getEffectiveWidth, getElement, getElementBoxes, getHeight, getIndex, getLayer, getLeftMBP, getMargin, getMarginBorderPadding, getMarginEdge, getMarginEdge, getNext, getNextSibling, getPadding, getPaddingEdge, getPaddingWidth, getPaintingBorderEdge, getPaintingInfo, getPaintingPaddingEdge, getParent, getParentClipBox, getPrevious, getPreviousSibling, getPseudoElementOrClass, getRelativeOffset, getRightMBP, getState, getStyle, getStyleMargin, getStyleMargin, getTx, getTy, getWidth, getX, getY, hasNonTextContent, hasRootElementBackground, initContainingLayer, isAnonymous, isBody, isBody, isContainedInMarginBox, isFirstChild, isInDocumentFlow, isInitialContainingBlock, isMarginAreaRoot, isRoot, isStyled, isTallerThanPage, isTerminalColumnBreak, moveIfGreater, paintRootElementBackground, positionRelative, removeAllChildren, removeChild, removeChild, resetChildren, resetChildren, resetTopMargin, rootBox, setAbsX, setAbsY, setAccessiblityObject, setAnonymous, setBorderBoxHeight, setBorderBoxWidth, setBoxDimensions, setColumnGroupRequestedWidth, setColumnGroupRequestedWidth, setContainingBlock, setContainingLayer, setContentWidth, setHeight, setIndex, setLayer, setLeftMBP, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setParent, setPseudoElementOrClass, setRelativeOffset, setRightMBP, setState, setStyle, setTx, setTy, setX, setY, stateToStringpublic void extendGridToColumnCount(int columnCount)
public void splitColumn(int pos)
public void recalcCells(LayoutContext c)
public void calcBorders(LayoutContext c)
public TableCellBox cellAt(int row, int col)
public boolean isPageBreakNeededBecauseOfMinHeight(LayoutContext c)
BlockBoxisPageBreakNeededBecauseOfMinHeight in class BlockBoxpublic TableBox getTable()
protected void layoutChildren(LayoutContext c, int contentStart)
layoutChildren in class BlockBoxpublic void reset(LayoutContext c)
BoxBlockBox.layout(LayoutContext) or other layout methods.
public boolean isAutoHeight()
isAutoHeight in class BlockBoxpublic int numRows()
protected boolean isSkipWhenCollapsingMargins()
isSkipWhenCollapsingMargins in class BlockBoxpublic void paintBorder(RenderingContext c)
paintBorder in class Boxpublic void paintBackground(RenderingContext c)
paintBackground in class Boxpublic TableRowBox getLastRow()
public void layout(LayoutContext c, int contentStart)
public int getReservedHeight()
Box.getHeight() is the (possibly smaller) flow height.public boolean isFooter()
public void setFooter(boolean footer)
public boolean isHeader()
public void setHeader(boolean header)
public boolean isCapturedOriginalAbsY()
public void setCapturedOriginalAbsY(boolean capturedOriginalAbsY)
public int getOriginalAbsY()
public void setOriginalAbsY(int originalAbsY)
public void setNeedPageClear(boolean needPageClear)
setNeedPageClear in class BlockBoxCopyright © 2004–2026. All rights reserved.