java.lang.Object
org.openpdf.render.Box
org.openpdf.render.BlockBox
org.openpdf.newtable.TableCellBox
- All Implemented Interfaces:
InlinePaintable,Styleable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openpdf.render.BlockBox
BlockBox.ContentType, BlockBox.Position -
Field Summary
FieldsFields inherited from class org.openpdf.render.BlockBox
NO_BASELINE -
Constructor Summary
ConstructorsConstructorDescriptionTableCellBox(@Nullable Element source, @Nullable CalculatedStyle style, boolean anonymous) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCollapsedBorders(Set<CollapsedBorderValue> all, List<CollapsedBorderSide> borders) intintvoidstatic CollapsedBorderValuecompareBorders(CollapsedBorderValue border1, CollapsedBorderValue border2, boolean returnNullOnEqual) copyOf()getBorder(CssContext cssCtx) intgetCol()protected BorderPropertySetprotected intintgetRow()protected @Nullable TableSectionBox@Nullable TableBoxgetTable()booleanprotected booleanbooleanprotected booleanbooleanbooleanisPageBreaksChange(LayoutContext c, int posDeltaY) protected booleanvoidvoidmoveContent(int deltaY) voidvoidvoidpaintCollapsedBorder(RenderingContext c, int side) voidsetCol(int col) voidsetLayoutWidth(LayoutContext c, int width) voidsetRow(int row) Methods inherited from class org.openpdf.render.BlockBox
appendPositioningInfo, calcBreakAtLineContext, calcCanvasLocation, calcChildLocations, calcChildPaintingInfo, calcDimensions, calcDimensions, calcInitialBreakAtLine, calcInitialFloatedCanvasLocation, calcInlineBaseline, calcLayoutHeight, calcMinMaxWidth, checkPageContext, dump, ensureChildren, findLastNthLineBox, findOffset, getAvailableWidth, getChildrenContentType, getChildrenHeight, getCSSFitToWidth, getCSSWidth, getCSSWidth, getExtraBoxDescription, getFirstLetterStyle, getFirstLineStyle, getFloatedBoxData, getInlineContent, getLineBox, getListCounter, getMarkerData, getMaxWidth, getMinWidth, getPageClearance, getPersistentBFC, getReplacedElement, getStaticEquivalent, initStaticPos, isBottomMarginCalculated, isContainsInlineContent, isCurrentBreakAtLineContext, isFloated, isFromCaptionedTable, isInline, isInlineBlock, isInMainFlow, isMayCollapseMarginsWithChildren, isMinMaxCalculated, isNeedPageClear, isNeedsKeepWithInline, isReplaced, isTopMarginCalculated, layout, layoutChildren, layoutInlineChildren, paintDebugOutline, paintInline, paintListMarker, positionAbsolute, positionAbsoluteOnPage, propagateExtraSpace, reset, 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, getBorderEdge, getBorderSides, getBoxDimensions, getChild, getChildCount, getChildren, 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
-
SPANNING_CELL
-
-
Constructor Details
-
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
public void moveContent(int deltaY) -
isPageBreaksChange
-
getVerticalAlign
-
paintBackground
- Overrides:
paintBackgroundin classBox
-
paintBorder
- Overrides:
paintBorderin classBox
-
paintCollapsedBorder
-
getChildrenClipEdge
- Overrides:
getChildrenClipEdgein classBox
-
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
- Overrides:
isNeedsClipOnPaintin classBlockBox
-