public class TableRenderer extends BoxRenderer implements InlineItem
| Modifier and Type | Class and Description |
|---|---|
class |
TableRenderer.BorderLimits |
class |
TableRenderer.ColumnStruct |
Renderer.ReflowPhase| Modifier and Type | Field and Description |
|---|---|
boolean |
childAvoidsPageBreak |
int |
maxPrefWidth |
int |
minPrefWidth |
boolean |
pageBrokenChildren |
int |
tableNettoWidth |
abb, offset, row| Constructor and Description |
|---|
TableRenderer(Element element) |
addAbsChild, borderBottom, borderLeft, borderRight, borderTop, containingBlock, createAssignedPageBreak, createAssignedPageBreak, createAssignedPageBreak, dashCalculator, expandHeight, findParentRenderer, getChildAt, getContentHeight, getContentWidth, getHeight, getParentForAbs, getScrollbarWidth, getTextBaseline, hasBackground, hasBorder, hasPadding, hasPercentualWidth, hasWidthBase, isAbsPositioned, isAvoidPageBreak, isLastChild, isOutOfFlowPositioned, isRelPositioned, isRTL, logicalHeight, logicalMaxHeight, logicalMinHeight, marginBottom, marginLeft, marginRight, marginTop, moveChildUp, paddingBottom, paddingLeft, paddingRight, paddingTop, setHeight, setOuterHeight, verticalMarginExtent, verticalOffsetgetClear, getContext, getDecoration, getDisplayType, getElement, getFloat, getFontSize, getHeightObj, getLang, getMaxHeightObj, getMaxWidthObj, getMinHeightObj, getMinWidthObj, getParent, getTitle, getWidthObj, isAutoWidth, isBody, isBoxSized, isFloating, isTaggedOutput, isTBRL, isUseAwt, reLayout, setParent, setUseAwt, toString, updateHeightsequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHeight, isRTLpublic int tableNettoWidth
public int maxPrefWidth
public int minPrefWidth
public boolean childAvoidsPageBreak
public boolean pageBrokenChildren
public TableRenderer(Element element)
public void resetLayout()
BoxRendererresetLayout in class BoxRendererpublic void resetMinWidth()
resetMinWidth in class BoxRendererpublic int getAbsPositionedBottomEdge()
getAbsPositionedBottomEdge in class Rendererpublic Renderer addChild(Renderer renderer)
addChild in class BoxRendererpublic void createNewSection()
public void endOfTable()
public int getMaxWidth(float base)
throws ForcedTerminationException
getMaxWidth in class RendererForcedTerminationExceptionpublic int getMinWidth(float base)
throws ForcedTerminationException
getMinWidth in class RendererForcedTerminationExceptionpublic int getOuterMinWidth(float base)
throws ForcedTerminationException
getOuterMinWidth in class RendererForcedTerminationExceptionpublic RStatus layout(Renderer.ReflowPhase phase) throws IOException
layout in class BoxRendererIOExceptionpublic int applyRowPositionChanges()
public int getExtraBottomOffset()
getExtraBottomOffset in class BoxRendererpublic int alignContentToPageBreaks(Context.PageBreakRef pbObj) throws IOException
alignContentToPageBreaks in class BoxRendererIOExceptionpublic RStatus findAutoPageBreaks(List<Context.PageBreakRef> pbreaks, int top, int pheight) throws IOException
findAutoPageBreaks in class BoxRendererIOExceptionpublic void finalizeCellContent(Context context) throws IOException
IOExceptionpublic int getAbsVerticalPosition()
getAbsVerticalPosition in class BoxRendererpublic int getAbsHorizontalPosition()
getAbsHorizontalPosition in class BoxRendererpublic int getOffsetInRow()
getOffsetInRow in class BoxRendererpublic boolean doesNotPrintToPage()
throws IOException
doesNotPrintToPage in class RendererIOExceptionpublic RStatus render() throws IOException
render in class RendererIOExceptionpublic void recalcCols(boolean finalize)
public Vector<TableRenderer.ColumnStruct> columns()
public int numLogicalCols()
public int numEffectiveCols()
public int getChildrenNumber()
getChildrenNumber in class BoxRendererpublic TableColumnRenderer getEffectiveColumn(int index)
public int spanOfEffCol(int n)
public void appendColumn(int span)
public int rowIndex(TableRowRenderer row)
public void getDestinationRenderers(Map<String,Renderer> results)
getDestinationRenderers in class Rendererpublic TableSectionRenderer getSectionAbove(TableSectionRenderer tableSectionRenderer)
public TableRowRenderer getRow(int index)
public TableRowRenderer getFirstNonHeaderRow()
public TableSectionRenderer topNonEmptySection()
public int bordersAndPadding()
public int bordersPaddingAndSpacing()
public int hBorderSpacing()
public int vBorderSpacing()
public void addColumnPosition(int i,
float pos)
public int[] columnPositions()
public Length width()
public Document document()
public ArrayList<TableSectionRenderer> sections()
public ArrayList<TableRowRenderer> rows()
public StringBuilder dump(int mode, int indent)
dump in interface InlineItemdump in class Rendererpublic boolean collapseBorders()
collapseBorders in class BoxRendererpublic float nettoWidth()
public float contentWidth()
public void setContentWidth(int width)
public void setWidth(int width)
setWidth in class BoxRendererpublic void setOuterWidth(int width)
setOuterWidth in class BoxRendererpublic float getWidth()
getWidth in interface InlineItempublic float getOuterWidth()
getOuterWidth in interface InlineItemgetOuterWidth in class BoxRendererpublic void expandMarginLeft(float value,
float base)
public void expandMarginRight(float value,
float base)
public void expandMarginTop(int value,
float base)
public void expandMarginBottom(int value,
float base)
public int getBaseline(Context context)
getBaseline in interface InlineItempublic float getX()
getX in interface InlineItemgetX in class Rendererpublic int getOuterHeight()
getOuterHeight in interface InlineItemgetOuterHeight in class BoxRendererpublic void setX(float x)
setX in interface InlineItempublic int horizontalExtent(float base)
horizontalExtent in class BoxRendererpublic int recalcRowsNumber()
public int getRowsNumber()
public void assignToRow(RowRenderer row)
assignToRow in interface InlineItempublic int getHeaderHeight(boolean newPage)
public boolean isHeaderRow(TableRowRenderer row)
public Context.StructTag getSectionType(TableSectionRenderer tableSectionRenderer)
Revision 4.0.15 / 20220727-0149