public class LineLayoutResult extends MinMaxWidthLayoutResult
layouting.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
splitForcedByNewline
Indicates whether split was forced by new line symbol or not.
|
minMaxWidthareaBreak, causeOfNothing, FULL, NOTHING, occupiedArea, overflowRenderer, PARTIAL, splitRenderer, status| Constructor and Description |
|---|
LineLayoutResult(int status,
LayoutArea occupiedArea,
IRenderer splitRenderer,
IRenderer overflowRenderer)
|
LineLayoutResult(int status,
LayoutArea occupiedArea,
IRenderer splitRenderer,
IRenderer overflowRenderer,
IRenderer cause)
|
| Modifier and Type | Method and Description |
|---|---|
List<IRenderer> |
getFloatsOverflowedToNextPage() |
boolean |
isSplitForcedByNewline()
Indicates whether split was forced by new line symbol in rendered text.
|
void |
setFloatsOverflowedToNextPage(List<IRenderer> floatsOverflowedToNextPage) |
LineLayoutResult |
setSplitForcedByNewline(boolean isSplitForcedByNewline)
|
getMinMaxWidth, setMinMaxWidthgetAreaBreak, getCauseOfNothing, getOccupiedArea, getOverflowRenderer, getSplitRenderer, getStatus, setAreaBreak, setOverflowRenderer, setSplitRenderer, setStatus, toStringprotected boolean splitForcedByNewline
public LineLayoutResult(int status,
LayoutArea occupiedArea,
IRenderer splitRenderer,
IRenderer overflowRenderer)
result of {@link com.itextpdf.layout.renderer.LineRenderer#layout(LayoutContext) layouting}.
The LayoutResult.causeOfNothing will be set as null.status - the status of LineRenderer.layout(LayoutContext)occupiedArea - the area occupied by the contentsplitRenderer - the renderer to draw the splitted part of the contentoverflowRenderer - the renderer to draw the overflowed part of the contentpublic LineLayoutResult(int status,
LayoutArea occupiedArea,
IRenderer splitRenderer,
IRenderer overflowRenderer,
IRenderer cause)
result of {@link com.itextpdf.layout.renderer.LineRenderer#layout(LayoutContext) layouting}.status - the status of LineRenderer.layout(LayoutContext)occupiedArea - the area occupied by the contentsplitRenderer - the renderer to draw the splitted part of the contentoverflowRenderer - the renderer to draw the overflowed part of the contentcause - the first renderer to produce LayoutResult.NOTHINGpublic boolean isSplitForcedByNewline()
public LineLayoutResult setSplitForcedByNewline(boolean isSplitForcedByNewline)
isSplitForcedByNewline - indicates that split was forced by new line symbol in rendered text.this layout result the setting was applied on.setSplitForcedByNewline(boolean)Copyright © 1998–2020 iText Group NV. All rights reserved.