iText 7 7.1.9 API
|
Represents the result of a text layout. More...
Public Member Functions |
|
TextLayoutResult (int status, LayoutArea occupiedArea, IRenderer splitRenderer, IRenderer overflowRenderer) | |
Creates the LayoutResult result of layouting }. More... |
|
TextLayoutResult (int status, LayoutArea occupiedArea, IRenderer splitRenderer, IRenderer overflowRenderer, IRenderer cause) | |
Creates the LayoutResult result of layouting }. More... |
|
virtual bool | IsWordHasBeenSplit () |
Indicates whether some word in a rendered text was splitted during layout. More... |
|
virtual iText.Layout.Layout.TextLayoutResult | SetWordHasBeenSplit (bool wordHasBeenSplit) |
Sets wordHasBeenSplit More... |
|
virtual bool | IsSplitForcedByNewline () |
Indicates whether split was forced by new line symbol in rendered text. More... |
|
virtual iText.Layout.Layout.TextLayoutResult | SetSplitForcedByNewline (bool isSplitForcedByNewline) |
Sets IsSplitForcedByNewline() More... |
|
![]() |
|
MinMaxWidthLayoutResult (int status, LayoutArea occupiedArea, IRenderer splitRenderer, IRenderer overflowRenderer) | |
MinMaxWidthLayoutResult (int status, LayoutArea occupiedArea, IRenderer splitRenderer, IRenderer overflowRenderer, IRenderer cause) | |
virtual MinMaxWidth | GetMinMaxWidth () |
virtual iText.Layout.Layout.MinMaxWidthLayoutResult | SetMinMaxWidth (MinMaxWidth minMaxWidth) |
![]() |
|
LayoutResult (int status, LayoutArea occupiedArea, IRenderer splitRenderer, IRenderer overflowRenderer) | |
Creates the LayoutResult result of layouting }. More... |
|
LayoutResult (int status, LayoutArea occupiedArea, IRenderer splitRenderer, IRenderer overflowRenderer, IRenderer cause) | |
Creates the LayoutResult result of layouting }. More... |
|
virtual int | GetStatus () |
Gets the status of iText.Layout.Renderer.IRenderer.Layout(LayoutContext). More... |
|
virtual void | SetStatus (int status) |
Sets the status of iText.Layout.Renderer.IRenderer.Layout(LayoutContext). More... |
|
virtual LayoutArea | GetOccupiedArea () |
Gets the layout area occupied by the content during layouting. More... |
|
virtual IRenderer | GetSplitRenderer () |
Gets the split renderer created during layouting. More... |
|
virtual void | SetSplitRenderer (IRenderer splitRenderer) |
Sets the split renderer. More... |
|
virtual IRenderer | GetOverflowRenderer () |
Gets the overflow renderer created during layouting. More... |
|
virtual void | SetOverflowRenderer (IRenderer overflowRenderer) |
Sets the overflow renderer. More... |
|
virtual AreaBreak | GetAreaBreak () |
virtual iText.Layout.Layout.LayoutResult | SetAreaBreak (AreaBreak areaBreak) |
virtual IRenderer | GetCauseOfNothing () |
Gets the first renderer to produce NOTHING during iText.Layout.Renderer.IRenderer.Layout(LayoutContext) More... |
|
override String | ToString () |
Additional Inherited Members |
|
![]() |
|
const int | FULL = 1 |
The status of iText.Layout.Renderer.IRenderer.Layout(LayoutContext) which indicates that the content was fully placed. More... |
|
const int | PARTIAL = 2 |
The status of iText.Layout.Renderer.IRenderer.Layout(LayoutContext) which indicates that the content was placed partially. More... |
|
const int | NOTHING = 3 |
The status of iText.Layout.Renderer.IRenderer.Layout(LayoutContext) which indicates that the content was not placed. More... |
|
Represents the result of a text layout.
|
inline |
Creates the LayoutResult result of layouting }.
Creates the LayoutResult result of layouting }. The LayoutResult.causeOfNothing will be set as null.
status | the status of iText.Layout.Renderer.TextRenderer.Layout(LayoutContext) |
occupiedArea | the area occupied by the content |
splitRenderer | the renderer to draw the splitted part of the content |
overflowRenderer | the renderer to draw the overflowed part of the content |
|
inline |
Creates the LayoutResult result of layouting }.
status | the status of iText.Layout.Renderer.TextRenderer.Layout(LayoutContext) |
occupiedArea | the area occupied by the content |
splitRenderer | the renderer to draw the splitted part of the content |
overflowRenderer | the renderer to draw the overflowed part of the content |
cause | the first renderer to produce LayoutResult.NOTHING |
|
inlinevirtual |
Indicates whether split was forced by new line symbol in rendered text.
Indicates whether split was forced by new line symbol in rendered text. The value will be set as true if, for example, the rendered text contains '
' symbol. This value can also be true even if the text was fully placed, but had line break at the end.
|
inlinevirtual |
Indicates whether some word in a rendered text was splitted during layout.
Indicates whether some word in a rendered text was splitted during layout. The value will be set as true if, for example, the rendered words width is bigger than the width of layout area.
|
inlinevirtual |
isSplitForcedByNewline | indicates that split was forced by new line symbol in rendered text. |
this layout result the setting was applied on.
|
inlinevirtual |
Sets wordHasBeenSplit
wordHasBeenSplit | indicates that some word was splitted during layout. |
this layout result the setting was applied on