java.lang.Object
org.openpdf.render.Box
org.openpdf.render.BlockBox
org.openpdf.newtable.TableSectionBox
- All Implemented Interfaces:
InlinePaintable,Styleable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openpdf.render.BlockBox
BlockBox.ContentType, BlockBox.Position -
Field Summary
Fields inherited from class org.openpdf.render.BlockBox
NO_BASELINE -
Constructor Summary
ConstructorsConstructorDescriptionTableSectionBox(@Nullable Element element, @Nullable CalculatedStyle style, boolean anonymous) -
Method Summary
Modifier and TypeMethodDescriptionvoid@Nullable TableCellBoxcellAt(int row, int col) copyOf()voidextendGridToColumnCount(int columnCount) getGrid()intbooleanbooleanbooleanisFooter()booleanisHeader()protected booleanvoidlayout(LayoutContext c, int contentStart) protected voidlayoutChildren(LayoutContext c, int contentStart) intnumRows()voidvoidvoidvoidvoidsetCapturedOriginalAbsY(boolean capturedOriginalAbsY) voidsetFooter(boolean footer) voidsetHeader(boolean header) voidsetOriginalAbsY(int originalAbsY) voidsplitColumn(int pos) Methods inherited from class org.openpdf.render.BlockBox
appendPositioningInfo, calcBaseline, calcBreakAtLineContext, calcCanvasLocation, calcChildLocations, calcChildPaintingInfo, calcDimensions, calcDimensions, calcInitialBreakAtLine, calcInitialFloatedCanvasLocation, calcInlineBaseline, calcLayoutHeight, calcMinMaxWidth, checkPageContext, dump, ensureChildren, findLastNthLineBox, findOffset, getAvailableWidth, getChildrenContentType, getChildrenHeight, getCSSFitToWidth, getCSSHeight, getCSSWidth, getCSSWidth, getExtraBoxDescription, getFirstLetterStyle, getFirstLineStyle, getFloatedBoxData, getInlineContent, getLineBox, getListCounter, getMarkerData, getMaxWidth, getMinWidth, getPageClearance, getPaintingClipEdge, getPersistentBFC, getReplacedElement, getStaticEquivalent, initStaticPos, isAllowHeightToShrink, isBottomMarginCalculated, isContainsInlineContent, isCurrentBreakAtLineContext, isFixedWidthAdvisoryOnly, isFloated, isFromCaptionedTable, isInline, isInlineBlock, isInMainFlow, isMayCollapseMarginsWithChildren, isMinMaxCalculated, isNeedPageClear, isNeedsClipOnPaint, isNeedsKeepWithInline, isReplaced, isTopMarginCalculated, layout, layoutInlineChildren, paintDebugOutline, paintInline, paintListMarker, positionAbsolute, positionAbsoluteOnPage, propagateExtraSpace, resolveAutoMargins, setBottomMarginCalculated, setChildrenContentType, setChildrenHeight, setDimensionsCalculated, setFirstLetterStyle, setFirstLineStyle, setFloatedBoxData, setFromCaptionedTable, setInlineContent, setListCounter, setMaxWidth, setMinMaxCalculated, setMinWidth, setNeedPageClear, setNeedShrinkToFitCalculation, setPersistentBFC, setReplacedElement, setStaticEquivalent, setTopMarginCalculated, styleText, styleText, toStringMethods inherited from class org.openpdf.render.Box
addAllChildren, addChild, addChildForLayout, analyzePageBreaks, appendPosition, appendSize, calcPaintingInfo, clearSelection, collectText, connectChildrenToCurrentLayer, crossesPageBreak, detach, dumpBoxes, exportPageBoxText, exportText, find, forcePageBreakAfter, forcePageBreakBefore, getAbsX, getAbsY, getBorder, getBorderEdge, getBorderSides, getBoxDimensions, getChild, getChildCount, getChildren, getChildrenClipEdge, 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, getPrevious, getPreviousSibling, getPseudoElementOrClass, getRelativeOffset, getRestyleTarget, getRightMBP, getState, getStyle, getStyleMargin, getStyleMarginNoCache, getTx, getTy, getWidth, getX, getY, initContainingLayer, intersects, isAnonymous, isBody, isContainedInMarginBox, isInDocumentFlow, isInitialContainingBlock, isMarginAreaRoot, isRoot, isStyled, moveIfGreater, paintRootElementBackground, positionRelative, removeAllChildren, removeChild, removeChild, resetChildren, resetChildren, resetTopMargin, restyle, restyleChildren, selectAll, setAbsX, setAbsY, setBoxDimensions, setContainingBlock, setContainingLayer, setContentWidth, setElement, setHeight, setIndex, setLayer, setLeftMBP, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setParent, setPseudoElementOrClass, setRightMBP, setState, setStyle, setTx, setTy, setX, setY
-
Constructor Details
-
TableSectionBox
public TableSectionBox(@Nullable Element element, @Nullable CalculatedStyle style, boolean anonymous)
-
-
Method Details
-
copyOf
-
getGrid
-
extendGridToColumnCount
public void extendGridToColumnCount(int columnCount) -
splitColumn
public void splitColumn(int pos) -
recalcCells
-
calcBorders
-
cellAt
-
layoutChildren
- Overrides:
layoutChildrenin classBlockBox
-
reset
-
isAutoHeight
public boolean isAutoHeight()- Overrides:
isAutoHeightin classBlockBox
-
numRows
public int numRows() -
isSkipWhenCollapsingMargins
protected boolean isSkipWhenCollapsingMargins()- Overrides:
isSkipWhenCollapsingMarginsin classBlockBox
-
paintBorder
- Overrides:
paintBorderin classBox
-
paintBackground
- Overrides:
paintBackgroundin classBox
-
getLastRow
-
layout
-
isHeader
public boolean isHeader() -
setHeader
public void setHeader(boolean header) -
isCapturedOriginalAbsY
public boolean isCapturedOriginalAbsY() -
setCapturedOriginalAbsY
public void setCapturedOriginalAbsY(boolean capturedOriginalAbsY) -
getOriginalAbsY
public int getOriginalAbsY() -
setOriginalAbsY
public void setOriginalAbsY(int originalAbsY)
-