public class ColumnDocumentRenderer extends DocumentRenderer
Modifier and Type | Field and Description |
---|---|
protected Rectangle[] |
columns |
protected int |
nextAreaNumber |
document, wrappedContentPage
currentArea, currentPageNumber, immediateFlush, waitingDrawingElements
childRenderers, EPS, flushed, INF, isLastRendererForModelElement, modelElement, occupiedArea, parent, positionedRenderers, properties
Constructor and Description |
---|
ColumnDocumentRenderer(Document document, boolean immediateFlush, Rectangle[] columns)
Creates a ColumnDocumentRenderer whose elements need not be flushed immediately.
|
ColumnDocumentRenderer(Document document, Rectangle[] columns)
Creates a ColumnDocumentRenderer.
|
Modifier and Type | Method and Description |
---|---|
int |
getNextAreaNumber()
Gets the array index of the next area that will be written on after the current one is full (overflowed).
|
IRenderer |
getNextRenderer()
For DocumentRenderer , this has a meaning of the renderer that will be used for relayout.
|
protected LayoutArea |
updateCurrentArea(LayoutResult overflowResult) |
addNewPage, flushSingleRenderer, getOccupiedArea
addChild, close, flush, flushWaitingDrawingElements, getCurrentArea, layout, shrinkCurrentAreaAndProcessRenderer
addAllProperties, alignChildHorizontally, allowLastYLineRecursiveExtraction, applyAbsolutePosition, applyAction, applyBorderBox, applyBorderBox, applyDestination, applyDestinationsAndAnnotation, applyLinkAnnotation, applyMargins, applyMargins, applyPaddings, applyPaddings, applyRelativePositioningTranslation, beginElementOpacityApplying, beginTransformationIfApplied, calculateAbsolutePdfBBox, calculateBBox, calculateShiftToPositionBBoxOfPointsAt, clipBackgroundArea, clipBackgroundArea, clipBorderArea, deleteOwnProperty, deleteProperty, draw, drawBackground, drawBorder, drawChildren, endElementOpacityApplying, endTransformationIfApplied, getBorderAreaBBox, getBorderRadii, getBorders, getChildRenderers, getDefaultProperty, getFirstYLineRecursively, getInnerAreaBBox, getLastYLineRecursively, getMargins, getMinMaxWidth, getModelElement, getOccupiedAreaBBox, getOwnProperties, getOwnProperty, getPaddings, getParent, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsColor, getPropertyAsFloat, getPropertyAsFloat, getPropertyAsFont, getPropertyAsInteger, getPropertyAsTransparentColor, getPropertyAsUnitValue, hasAbsoluteUnitValue, hasOwnOrModelProperty, hasOwnProperty, hasProperty, hasRelativeUnitValue, initElementAreas, isAbsolutePosition, isBorderBoxSizing, isFirstOnRootArea, isFixedLayout, isFlushed, isKeepTogether, isNotFittingHeight, isNotFittingLayoutArea, isNotFittingWidth, isOverflowFit, isOverflowProperty, isOverflowProperty, isOverflowProperty, isPositioned, isRelativePosition, isStaticLayout, move, rectangleToPointsList, retrieveHeight, retrieveMaxHeight, retrieveMaxWidth, retrieveMinHeight, retrieveMinWidth, retrieveUnitValue, retrieveUnitValue, retrieveWidth, setBorders, setMinMaxWidthBasedOnFixedWidth, setParent, setProperty, toString, transformPoints, updateHeight, updateHeightsOnSplit, updateMaxHeight, updateMinHeight, updateWidth
protected Rectangle[] columns
protected int nextAreaNumber
public ColumnDocumentRenderer(Document document, Rectangle[] columns)
RootRenderer.immediateFlush
to true.
public int getNextAreaNumber()
public IRenderer getNextRenderer()
DocumentRenderer
DocumentRenderer
, this has a meaning of the renderer that will be used for relayout.
getNextRenderer
in interface IRenderer
getNextRenderer
in class DocumentRenderer
protected LayoutArea updateCurrentArea(LayoutResult overflowResult)
updateCurrentArea
in class DocumentRenderer
Copyright © 1998–2020 iText Group NV. All rights reserved.