public class ColumnDocumentRenderer extends DocumentRenderer
Modifier and Type | Field and Description |
---|---|
protected Rectangle[] |
columns |
protected int |
nextAreaNumber |
document, wrappedContentPage
currentArea, currentPageNumber, immediateFlush
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).
|
protected LayoutArea |
updateCurrentArea(LayoutResult overflowResult) |
addNewPage, flushSingleRenderer, getNextRenderer, getOccupiedArea
addChild, close, flush, getCurrentArea, layout
addAllProperties, alignChildHorizontally, applyAbsolutePosition, applyAction, applyBorderBox, applyBorderBox, applyDestination, applyDestinationsAndAnnotation, applyLinkAnnotation, applyMargins, applyMargins, applyPaddings, applyPaddings, applyRelativePositioningTranslation, beginElementOpacityApplying, calculateAbsolutePdfBBox, calculateBBox, calculateShiftToPositionBBoxOfPointsAt, deleteOwnProperty, deleteProperty, draw, drawBackground, drawBorder, drawChildren, endElementOpacityApplying, getBorderAreaBBox, getBorders, getChildRenderers, getDefaultProperty, getFirstYLineRecursively, getInnerAreaBBox, getMargins, getModelElement, getOccupiedAreaBBox, getOwnProperties, getOwnProperty, getPaddings, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsColor, getPropertyAsFloat, getPropertyAsFloat, getPropertyAsFont, getPropertyAsInteger, getPropertyAsTransparentColor, hasOwnOrModelProperty, hasOwnProperty, hasProperty, initElementAreas, isAbsolutePosition, isFixedLayout, isFlushed, isKeepTogether, isNotFittingHeight, isNotFittingLayoutArea, isPositioned, isRelativePosition, isStaticLayout, move, overrideHeightProperties, rectangleToPointsList, retrieveHeight, retrieveMaxHeight, retrieveMinHeight, retrieveUnitValue, retrieveWidth, setBorders, setParent, setProperty, toString, transformPoints
protected Rectangle[] columns
protected int nextAreaNumber
public ColumnDocumentRenderer(Document document, Rectangle[] columns)
RootRenderer.immediateFlush
to true.
protected LayoutArea updateCurrentArea(LayoutResult overflowResult)
updateCurrentArea
in class DocumentRenderer
public int getNextAreaNumber()
Copyright © 1998–2017 iText Group NV. All rights reserved.