Package com.openhtmltopdf.newtable
Class TableCellBox
java.lang.Object
com.openhtmltopdf.render.Box
com.openhtmltopdf.render.BlockBox
com.openhtmltopdf.newtable.TableCellBox
- All Implemented Interfaces:
InlinePaintable,Styleable,DisplayListItem
public class TableCellBox extends BlockBox
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openhtmltopdf.render.BlockBox
BlockBox.MarginCollapseResultNested classes/interfaces inherited from class com.openhtmltopdf.render.Box
Box.ChildIteratorOfType<T> -
Field Summary
Fields Modifier and Type Field Description static TableCellBoxSPANNING_CELLFields inherited from class com.openhtmltopdf.render.BlockBox
CONTENT_BLOCK, CONTENT_EMPTY, CONTENT_INLINE, CONTENT_UNKNOWN, NO_BASELINE, POSITION_BOTH, POSITION_HORIZONTALLY, POSITION_VERTICALLYFields inherited from class com.openhtmltopdf.render.Box
CHILDREN_FLUX, DONE, DUMP_LAYOUT, DUMP_RENDER, FLUX, LINE_SEPARATOR, NOTHING -
Constructor Summary
Constructors Constructor Description TableCellBox() -
Method Summary
Methods inherited from class com.openhtmltopdf.render.BlockBox
addBoxID, appendPositioningInfo, calcBreakAtLineContext, calcCanvasLocation, calcChildLocations, calcChildPaintingInfo, calcDimensions, calcDimensions, calcInitialBreakAtLine, calcInitialFloatedCanvasLocation, calcInlineBaseline, calcLayoutHeight, calcMinMaxWidth, checkPageContext, collapseMargins, createMarkerData, dump, ensureChildren, findLastNthLineBox, findOffset, getAvailableWidth, getChildrenContentType, getChildrenHeight, getCSSFitToWidth, getCSSWidth, getCSSWidth, getDocumentParent, getExtraBoxDescription, getFirstLetterStyle, getFirstLineStyle, getFloatedBoxData, getInlineContent, getLineBox, getListCounter, getMarkerData, getMaxWidth, getMinWidth, getNextCollapsableSibling, getPageClearance, getPersistentBFC, getReplacedElement, getStaticEquivalent, initStaticPos, isBottomMarginCalculated, isContainsInlineContent, isCurrentBreakAtLineContext, isFloated, isFromCaptionedTable, isInline, isInlineBlock, isInMainFlow, isListItem, isMayCollapseMarginsWithChildren, isMinMaxCalculated, isNeedPageClear, isNeedsClipOnPaint, isNeedsKeepWithInline, isPageBreakNeededBecauseOfMinHeight, isReplaced, isTopMarginCalculated, layout, layoutChildren, layoutInlineChildren, paintDebugOutline, paintInline, paintListMarker, positionAbsolute, positionAbsoluteOnPage, propagateExtraSpace, reset, resolveAutoMargins, setBottomMarginCalculated, setChildrenContentType, setChildrenHeight, setDimensionsCalculated, setElement, setFirstLetterStyle, setFirstLineStyle, setFloatedBoxData, setFromCaptionedTable, setInlineContent, setListCounter, setMarkerData, setMaxWidth, setMinMaxCalculated, setMinWidth, setNeedPageClear, setNeedShrinkToFitCalculatation, setPersistentBFC, setReplacedElement, setStaticEquivalent, setTopMarginCalculated, shouldBeReplaced, styleText, styleText, toStringMethods inherited from class com.openhtmltopdf.render.Box
addAllChildren, addChild, addChildForLayout, analyzePageBreaks, ancestors, ancestorsWhile, calcPaintingInfo, collectText, connectChildrenToCurrentLayer, crossesPageBreak, detach, dumpBoxes, exportPageBoxText, exportText, find, findAncestor, findColumnBreakOpportunities, forcePageBreakAfter, forcePageBreakBefore, forcePageBreakBefore, getAbsoluteClipBox, getAbsX, getAbsY, getAccessibilityObject, getBorderBox, getBorderBoxHeight, getBorderBoxWidth, getBorderEdge, getBorderSides, getBoxDimensions, getChild, getChildCount, getChildIterator, getChildIteratorOfType, getChildren, getChildrenClipEdge, getClipBox, 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, getRestyleTarget, getRightMBP, getState, getStyle, getStyleMargin, getStyleMargin, getTx, getTy, getWidth, getX, getY, hasNonTextContent, hasRootElementBackground, initContainingLayer, intersects, isAnonymous, isBody, isContainedInMarginBox, isFirstChild, isInDocumentFlow, isInitialContainingBlock, isMarginAreaRoot, isRoot, isStyled, isTerminalColumnBreak, moveIfGreater, paintRootElementBackground, positionRelative, removeAllChildren, removeChild, removeChild, resetChildren, resetChildren, resetTopMargin, restyle, restyleChildren, rootBox, setAbsX, setAbsY, setAccessiblityObject, setAnonymous, setBorderBoxHeight, setBorderBoxWidth, setBoxDimensions, setContainingBlock, setContainingLayer, setContentWidth, setHeight, setIndex, setLayer, setLeftMBP, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setParent, setPseudoElementOrClass, setRelativeOffset, setRightMBP, setState, setStyle, setTx, setTy, setX, setY, stateToString
-
Field Details
-
SPANNING_CELL
-
-
Constructor Details
-
TableCellBox
public TableCellBox()
-
-
Method Details
-
copyOf
-
getBorder
-
calcCollapsedBorder
-
getCol
public int getCol() -
setCol
public void setCol(int col) -
getRow
public int getRow() -
setRow
public void setRow(int row) -
layout
-
getTable
-
getSection
-
getOuterStyleWidth
-
getOuterStyleOrColWidth
-
setLayoutWidth
-
isAutoHeight
public boolean isAutoHeight()- Overrides:
isAutoHeightin classBlockBox
-
calcBaseline
- Overrides:
calcBaselinein classBlockBox
-
calcBlockBaseline
-
moveContent
-
isPageBreaksChange
-
getVerticalAlign
-
paintBackground
- Overrides:
paintBackgroundin classBox
-
paintBorder
- Overrides:
paintBorderin classBox
-
paintCollapsedBorder
-
getChildrenClipEdge
-
isFixedWidthAdvisoryOnly
protected boolean isFixedWidthAdvisoryOnly()- Overrides:
isFixedWidthAdvisoryOnlyin classBlockBox
-
isSkipWhenCollapsingMargins
protected boolean isSkipWhenCollapsingMargins()- Overrides:
isSkipWhenCollapsingMarginsin classBlockBox
-
compareBorders
public static CollapsedBorderValue compareBorders(CollapsedBorderValue border1, CollapsedBorderValue border2, boolean returnNullOnEqual) -
getPaintingClipEdge
- Overrides:
getPaintingClipEdgein classBlockBox
-
hasCollapsedPaintingBorder
public boolean hasCollapsedPaintingBorder() -
getCollapsedPaintingBorder
-
getCollapsedBorderBottom
-
getCollapsedBorderLeft
-
getCollapsedBorderRight
-
getCollapsedBorderTop
-
addCollapsedBorders
-
getCSSHeight
- Overrides:
getCSSHeightin classBlockBox
-
isAllowHeightToShrink
protected boolean isAllowHeightToShrink()- Overrides:
isAllowHeightToShrinkin classBlockBox
-
isNeedsClipOnPaint
-