Package org.xhtmlrenderer.newtable
Class TableRowBox
java.lang.Object
org.xhtmlrenderer.render.Box
org.xhtmlrenderer.render.BlockBox
org.xhtmlrenderer.newtable.TableRowBox
- All Implemented Interfaces:
InlinePaintable,Styleable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.xhtmlrenderer.render.BlockBox
BlockBox.ContentType, BlockBox.Position -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate @Nullable ContentLimitContainerprivate intprivate intprivate booleanprivate intFields inherited from class org.xhtmlrenderer.render.BlockBox
NO_BASELINE -
Constructor Summary
ConstructorsConstructorDescriptionTableRowBox(@Nullable Element element, @Nullable CalculatedStyle style, boolean anonymous) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate booleanvoidanalyzePageBreaks(LayoutContext c, ContentLimitContainer container) private voidprivate voidprivate voidprotected voidcalcLayoutHeight(LayoutContext c, BorderPropertySet border, RectPropertySet margin, RectPropertySet padding) private intcalcMiddleBottomDeltaY(TableCellBox cell, IdentValue verticalAlign) private voidcopyOf()voidexportText(RenderingContext c, Writer writer) intforcePageBreakBefore(LayoutContext c, IdentValue pageBreakValue, boolean pendingPageName) int@Nullable ContentLimitContainerprotected Stringintintintprivate TableSectionBoxprivate TableBoxgetTable()voidinitStaticPos(LayoutContext c, BlockBox parent, int childOffset) booleanbooleanprivate booleanprivate booleanprotected booleanvoidlayout(LayoutContext c, int contentStart) private voidlayoutCell(LayoutContext c, TableCellBox cell, int contentStart) protected voidlayoutChildren(LayoutContext c, int contentStart) voidvoidprivate voidrelayoutCell(LayoutContext c, TableCellBox cell, int contentStart) voidvoidsetBaseline(int baseline) private voidvoidsetContentLimitContainer(@Nullable ContentLimitContainer contentLimitContainer) voidsetExtraSpaceBottom(int extraSpaceBottom) voidsetExtraSpaceTop(int extraSpaceTop) voidsetHaveBaseline(boolean haveBaseline) voidsetHeightOverride(int heightOverride) Methods inherited from class org.xhtmlrenderer.render.BlockBox
appendPositioningInfo, calcBaseline, calcBreakAtLineContext, calcCanvasLocation, calcChildLocations, calcChildPaintingInfo, calcDimensions, calcDimensions, calcInitialBreakAtLine, calcInitialFloatedCanvasLocation, calcInlineBaseline, calcMinMaxWidth, checkPageContext, dump, ensureChildren, findLastNthLineBox, findOffset, getAvailableWidth, getChildrenContentType, getChildrenHeight, getCSSFitToWidth, getCSSHeight, getCSSWidth, getCSSWidth, getFirstLetterStyle, getFirstLineStyle, getFloatedBoxData, getInlineContent, getLineBox, getListCounter, getMarkerData, getMaxWidth, getMinWidth, getPageClearance, getPaintingClipEdge, getPersistentBFC, getReplacedElement, getStaticEquivalent, 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.xhtmlrenderer.render.Box
addAllChildren, addChild, addChildForLayout, appendPosition, appendSize, calcPaintingInfo, clearSelection, collectText, connectChildrenToCurrentLayer, crossesPageBreak, detach, dumpBoxes, exportPageBoxText, find, forcePageBreakAfter, 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
-
Field Details
-
_baseline
private int _baseline -
_haveBaseline
private boolean _haveBaseline -
_heightOverride
private int _heightOverride -
_contentLimitContainer
-
_extraSpaceTop
private int _extraSpaceTop -
_extraSpaceBottom
private int _extraSpaceBottom
-
-
Constructor Details
-
TableRowBox
-
-
Method Details
-
copyOf
-
isAutoHeight
public boolean isAutoHeight()- Overrides:
isAutoHeightin classBlockBox
-
getTable
-
getSection
-
layout
-
isShouldMoveToNextPage
-
analyzePageBreaks
- Overrides:
analyzePageBreaksin classBox
-
calcExtraSpaceTop
-
calcExtraSpaceBottom
-
layoutChildren
- Overrides:
layoutChildrenin classBlockBox
-
alignBaselineAlignedCells
-
alignMiddleAndBottomAlignedCells
-
calcMiddleBottomDeltaY
-
calcLayoutHeight
protected void calcLayoutHeight(LayoutContext c, BorderPropertySet border, RectPropertySet margin, RectPropertySet padding) - Overrides:
calcLayoutHeightin classBlockBox
-
calcRowHeight
-
isLastRow
private boolean isLastRow() -
calcDefaultBaseline
-
setCellHeights
private void setCellHeights() -
relayoutCell
-
layoutCell
-
initStaticPos
- Overrides:
initStaticPosin classBlockBox
-
getBaseline
public int getBaseline() -
setBaseline
public void setBaseline(int baseline) -
isSkipWhenCollapsingMargins
protected boolean isSkipWhenCollapsingMargins()- Overrides:
isSkipWhenCollapsingMarginsin classBlockBox
-
paintBorder
- Overrides:
paintBorderin classBox
-
paintBackground
- Overrides:
paintBackgroundin classBox
-
reset
-
isHaveBaseline
public boolean isHaveBaseline() -
setHaveBaseline
public void setHaveBaseline(boolean haveBaseline) -
getExtraBoxDescription
- Overrides:
getExtraBoxDescriptionin classBlockBox
-
getHeightOverride
public int getHeightOverride() -
setHeightOverride
public void setHeightOverride(int heightOverride) -
exportText
- Overrides:
exportTextin classBox- Throws:
IOException
-
getContentLimitContainer
-
setContentLimitContainer
-
getExtraSpaceTop
public int getExtraSpaceTop() -
setExtraSpaceTop
public void setExtraSpaceTop(int extraSpaceTop) -
getExtraSpaceBottom
public int getExtraSpaceBottom() -
setExtraSpaceBottom
public void setExtraSpaceBottom(int extraSpaceBottom) -
forcePageBreakBefore
public int forcePageBreakBefore(LayoutContext c, IdentValue pageBreakValue, boolean pendingPageName) - Overrides:
forcePageBreakBeforein classBox
-