Uses of Class
com.itextpdf.layout.layout.LayoutResult
Packages that use LayoutResult
Package
Description
-
Uses of LayoutResult in com.itextpdf.forms.form.renderer
Methods in com.itextpdf.forms.form.renderer that return LayoutResultModifier and TypeMethodDescriptionAbstractFormFieldRenderer.layout
(LayoutContext layoutContext) This method simulates positioning of the renderer, including all of its children, and returns theLayoutResult
, representing the layout result, including occupied area, status, i.e.AbstractSelectFieldRenderer.layout
(LayoutContext layoutContext) This method simulates positioning of the renderer, including all of its children, and returns theLayoutResult
, representing the layout result, including occupied area, status, i.e.FormFieldValueNonTrimmingTextRenderer.layout
(LayoutContext layoutContext) SelectFieldListBoxRenderer.layout
(LayoutContext layoutContext) SignatureAppearanceRenderer.layout
(LayoutContext layoutContext) This method simulates positioning of the renderer, including all of its children, and returns theLayoutResult
, representing the layout result, including occupied area, status, i.e.TextAreaRenderer.layout
(LayoutContext layoutContext) This method simulates positioning of the renderer, including all of its children, and returns theLayoutResult
, representing the layout result, including occupied area, status, i.e.private LayoutResult
AbstractSelectFieldRenderer.makeLayoutResultFull
(LayoutArea layoutArea, LayoutResult layoutResult) Methods in com.itextpdf.forms.form.renderer with parameters of type LayoutResultModifier and TypeMethodDescriptionprivate LayoutResult
AbstractSelectFieldRenderer.makeLayoutResultFull
(LayoutArea layoutArea, LayoutResult layoutResult) -
Uses of LayoutResult in com.itextpdf.layout
Methods in com.itextpdf.layout with parameters of type LayoutResultModifier and TypeMethodDescriptionprotected LayoutArea
ColumnDocumentRenderer.updateCurrentArea
(LayoutResult overflowResult) -
Uses of LayoutResult in com.itextpdf.layout.layout
Subclasses of LayoutResult in com.itextpdf.layout.layoutModifier and TypeClassDescriptionclass
Represents the result of a linelayouting
.class
Represents the result of contentlayouting
.class
Represents the result of a textlayout
.Methods in com.itextpdf.layout.layout that return LayoutResultModifier and TypeMethodDescriptionLayoutResult.setAreaBreak
(AreaBreak areaBreak) Sets areaBreak value. -
Uses of LayoutResult in com.itextpdf.layout.renderer
Fields in com.itextpdf.layout.renderer declared as LayoutResultModifier and TypeFieldDescription(package private) LayoutResult
OrphansWidowsLayoutHelper.OrphansWidowsLayoutAttempt.attemptResult
TextSequenceWordWrapping.LastFittingChildRendererData.childLayoutResult
private LayoutResult
RootRenderer.keepWithNextHangingRendererLayoutResult
Methods in com.itextpdf.layout.renderer that return LayoutResultModifier and TypeMethodDescriptionprivate LayoutResult
ListRenderer.correctListSplitting
(IRenderer splitRenderer, IRenderer overflowRenderer, IRenderer causeOfNothing, LayoutArea occupiedArea) Corrects split and overflow renderers whenProperty.FORCED_PLACEMENT
is applied.protected LayoutResult
ParagraphRenderer.directLayout
(LayoutContext layoutContext) private static LayoutResult
OrphansWidowsLayoutHelper.handleAttemptAsSuccessful
(OrphansWidowsLayoutHelper.OrphansWidowsLayoutAttempt attemptResult, LayoutContext originalContext) private LayoutResult
ListRenderer.initializeListSymbols
(LayoutContext layoutContext) AreaBreakRenderer.layout
(LayoutContext layoutContext) BlockRenderer.layout
(LayoutContext layoutContext) This method simulates positioning of the renderer, including all of its children, and returns theLayoutResult
, representing the layout result, including occupied area, status, i.e.FlexContainerRenderer.layout
(LayoutContext layoutContext) This method simulates positioning of the renderer, including all of its children, and returns theLayoutResult
, representing the layout result, including occupied area, status, i.e.GridContainerRenderer.layout
(LayoutContext layoutContext) This method simulates positioning of the renderer, including all of its children, and returns theLayoutResult
, representing the layout result, including occupied area, status, i.e.ImageRenderer.layout
(LayoutContext layoutContext) IRenderer.layout
(LayoutContext layoutContext) This method simulates positioning of the renderer, including all of its children, and returns theLayoutResult
, representing the layout result, including occupied area, status, i.e.LineRenderer.layout
(LayoutContext layoutContext) LineSeparatorRenderer.layout
(LayoutContext layoutContext) This method simulates positioning of the renderer, including all of its children, and returns theLayoutResult
, representing the layout result, including occupied area, status, i.e.ListItemRenderer.layout
(LayoutContext layoutContext) ListRenderer.layout
(LayoutContext layoutContext) MulticolRenderer.layout
(LayoutContext layoutContext) This method simulates positioning of the renderer, including all of its children, and returns theLayoutResult
, representing the layout result, including occupied area, status, i.e.ParagraphRenderer.layout
(LayoutContext layoutContext) This method simulates positioning of the renderer, including all of its children, and returns theLayoutResult
, representing the layout result, including occupied area, status, i.e.RootRenderer.layout
(LayoutContext layoutContext) This method simulates positioning of the renderer, including all of its children, and returns theLayoutResult
, representing the layout result, including occupied area, status, i.e.TableRenderer.layout
(LayoutContext layoutContext) This method simulates positioning of the renderer, including all of its children, and returns theLayoutResult
, representing the layout result, including occupied area, status, i.e.TabRenderer.layout
(LayoutContext layoutContext) TextRenderer.layout
(LayoutContext layoutContext) (package private) static LayoutResult
OrphansWidowsLayoutHelper.orphansWidowsAwareLayout
(ParagraphRenderer renderer, LayoutContext context, ParagraphOrphansControl orphansControl, ParagraphWidowsControl widowsControl) (package private) LayoutResult
BlockRenderer.processNotFullChildResult
(LayoutContext layoutContext, Map<Integer, IRenderer> waitingFloatsSplitRenderers, List<IRenderer> waitingOverflowFloatRenderers, boolean wasHeightClipped, List<Rectangle> floatRendererAreas, boolean marginsCollapsingEnabled, float clearHeightCorrection, Border[] borders, UnitValue[] paddings, List<Rectangle> areas, int currentAreaPos, Rectangle layoutBox, Set<Rectangle> nonChildFloatingRendererAreas, IRenderer causeOfNothing, boolean anythingPlaced, int childPos, LayoutResult result) (package private) LayoutResult
FlexContainerRenderer.processNotFullChildResult
(LayoutContext layoutContext, Map<Integer, IRenderer> waitingFloatsSplitRenderers, List<IRenderer> waitingOverflowFloatRenderers, boolean wasHeightClipped, List<Rectangle> floatRendererAreas, boolean marginsCollapsingEnabled, float clearHeightCorrection, Border[] borders, UnitValue[] paddings, List<Rectangle> areas, int currentAreaPos, Rectangle layoutBox, Set<Rectangle> nonChildFloatingRendererAreas, IRenderer causeOfNothing, boolean anythingPlaced, int childPos, LayoutResult result) Methods in com.itextpdf.layout.renderer with parameters of type LayoutResultModifier and TypeMethodDescriptionprivate void
FlexContainerRenderer.adjustLayoutResultToHandleOverflowRenderers
(LayoutResult result, List<IRenderer> renderersToOverflow) private void
TableRenderer.correctLayoutedCellsOccupiedAreas
(LayoutResult[] splits, int row, int[] targetOverflowRowIndex, Float blockMinHeight, Rectangle layoutBox, List<Boolean> rowsHasCellWithSetHeight, boolean isLastRenderer, boolean processBigRowspan, boolean skip) private void
TableRenderer.correctRowCellsOccupiedAreas
(LayoutResult[] splits, int row, int[] targetOverflowRowIndex, int currentRowIndex, List<Boolean> rowsHasCellWithSetHeight, float cumulativeShift, float additionalCellHeight) (package private) AbstractRenderer[]
BlockRenderer.createSplitAndOverflowRenderers
(int childPos, int layoutStatus, LayoutResult childResult, Map<Integer, IRenderer> waitingFloatsSplitRenderers, List<IRenderer> waitingOverflowFloatRenderers) (package private) AbstractRenderer[]
FlexContainerRenderer.createSplitAndOverflowRenderers
(int childPos, int layoutStatus, LayoutResult childResult, Map<Integer, IRenderer> waitingFloatsSplitRenderers, List<IRenderer> waitingOverflowFloatRenderers) (package private) void
BlockRenderer.decreaseLayoutBoxAfterChildPlacement
(Rectangle layoutBox, LayoutResult result, IRenderer childRenderer) (package private) void
FlexContainerRenderer.decreaseLayoutBoxAfterChildPlacement
(Rectangle layoutBox, LayoutResult result, IRenderer childRenderer) (package private) void
FlexContainerRenderer.decreaseLayoutBoxAfterChildPlacementRowLayout
(Rectangle layoutBox, LayoutResult result, IRenderer childRenderer) private void
FlexContainerRenderer.fillSplitOverflowRenderersForPartialResult
(AbstractRenderer splitRenderer, AbstractRenderer overflowRenderer, List<FlexItemInfo> line, IRenderer childRenderer, LayoutResult childResult) (package private) float[]
LineRenderer.getAscentDescentOfLayoutedChildRenderer
(IRenderer childRenderer, LayoutResult childResult, RenderingMode childRenderingMode, boolean isInlineBlockChild) Extracts ascender and descender of an already layoutedchildRenderer
.(package private) LayoutArea
FlexContainerRenderer.getOccupiedAreaInCaseNothingWasWrappedWithFull
(LayoutResult result, IRenderer splitRenderer) static boolean
TextSequenceWordWrapping.postprocessTextSequenceOverflowX
(LineRenderer lineRenderer, boolean textSequenceOverflowXProcessing, int childPos, IRenderer childRenderer, LayoutResult childResult, boolean wasXOverflowChanged) Checks if the layouting should be stopped on current child and resets configurations set onTextSequenceWordWrapping.preprocessTextSequenceOverflowX(LineRenderer, boolean, IRenderer, boolean, OverflowPropertyValue)
.private static int
GridContainerRenderer.processLayoutResult
(GridContainerRenderer.GridLayoutResult layoutResult, GridCell cell, LayoutResult cellResult) (package private) LayoutResult
BlockRenderer.processNotFullChildResult
(LayoutContext layoutContext, Map<Integer, IRenderer> waitingFloatsSplitRenderers, List<IRenderer> waitingOverflowFloatRenderers, boolean wasHeightClipped, List<Rectangle> floatRendererAreas, boolean marginsCollapsingEnabled, float clearHeightCorrection, Border[] borders, UnitValue[] paddings, List<Rectangle> areas, int currentAreaPos, Rectangle layoutBox, Set<Rectangle> nonChildFloatingRendererAreas, IRenderer causeOfNothing, boolean anythingPlaced, int childPos, LayoutResult result) (package private) LayoutResult
FlexContainerRenderer.processNotFullChildResult
(LayoutContext layoutContext, Map<Integer, IRenderer> waitingFloatsSplitRenderers, List<IRenderer> waitingOverflowFloatRenderers, boolean wasHeightClipped, List<Rectangle> floatRendererAreas, boolean marginsCollapsingEnabled, float clearHeightCorrection, Border[] borders, UnitValue[] paddings, List<Rectangle> areas, int currentAreaPos, Rectangle layoutBox, Set<Rectangle> nonChildFloatingRendererAreas, IRenderer causeOfNothing, boolean anythingPlaced, int childPos, LayoutResult result) protected void
RootRenderer.shrinkCurrentAreaAndProcessRenderer
(IRenderer renderer, List<IRenderer> resultRenderers, LayoutResult result) private LineRenderer[]
LineRenderer.splitNotFittingFloat
(int childPos, LayoutResult childResult) (package private) boolean
BlockRenderer.stopLayoutingChildrenIfChildResultNotFull
(LayoutResult returnResult) (package private) boolean
FlexContainerRenderer.stopLayoutingChildrenIfChildResultNotFull
(LayoutResult returnResult) private boolean
RootRenderer.tryDisableKeepTogether
(LayoutResult result, boolean rendererIsFloat, RootRendererAreaStateHandler rootRendererStateHandler) private void
RootRenderer.updateCurrentAndInitialArea
(LayoutResult overflowResult) protected LayoutArea
CanvasRenderer.updateCurrentArea
(LayoutResult overflowResult) protected LayoutArea
DocumentRenderer.updateCurrentArea
(LayoutResult overflowResult) protected abstract LayoutArea
RootRenderer.updateCurrentArea
(LayoutResult overflowResult) private static void
TextSequenceWordWrapping.updateMinMaxWidthOfLineRendererAfterTextRendererSequenceProcessing
(boolean noSoftWrap, int childPos, LayoutResult layoutResult, AbstractWidthHandler widthHandler, TextSequenceWordWrapping.MinMaxWidthOfTextRendererSequenceHelper minMaxWidthOfTextRendererSequenceHelper, Map<Integer, LayoutResult> textRendererLayoutResults) static void
TextSequenceWordWrapping.updateTextSequenceLayoutResults
(Map<Integer, LayoutResult> textRendererLayoutResults, boolean specialScripts, IRenderer childRenderer, int childPos, LayoutResult childResult) Method parameters in com.itextpdf.layout.renderer with type arguments of type LayoutResultModifier and TypeMethodDescription(package private) static float
TextSequenceWordWrapping.getCurWidthRelayoutedTextSequenceDecrement
(int childPos, int newChildPos, Map<Integer, LayoutResult> textRendererLayoutResults) TextSequenceWordWrapping.getIndexAndLayoutResultOfTheLastTextRendererContainingSpecialScripts
(LineRenderer lineRenderer, int childPos, Map<Integer, LayoutResult> specialScriptLayoutResults, boolean wasParentsHeightClipped, boolean isOverflowFit) TextSequenceWordWrapping.getIndexAndLayoutResultOfTheLastTextRendererWithNoSpecialScripts
(LineRenderer lineRenderer, int childPos, Map<Integer, LayoutResult> textSequenceLayoutResults, boolean wasParentsHeightClipped, boolean isOverflowFit, boolean floatsPlaced) static void
TextSequenceWordWrapping.resetTextSequenceIfItEnded
(Map<Integer, LayoutResult> textRendererLayoutResults, boolean specialScripts, IRenderer childRenderer, int childPos, TextSequenceWordWrapping.MinMaxWidthOfTextRendererSequenceHelper minMaxWidthOfTextRendererSequenceHelper, boolean noSoftWrap, AbstractWidthHandler widthHandler) private static void
TextSequenceWordWrapping.updateMinMaxWidthOfLineRendererAfterTextRendererSequenceProcessing
(boolean noSoftWrap, int childPos, LayoutResult layoutResult, AbstractWidthHandler widthHandler, TextSequenceWordWrapping.MinMaxWidthOfTextRendererSequenceHelper minMaxWidthOfTextRendererSequenceHelper, Map<Integer, LayoutResult> textRendererLayoutResults) TextSequenceWordWrapping.updateTextRendererSequenceMinMaxWidth
(LineRenderer lineRenderer, AbstractWidthHandler widthHandler, int childPos, TextSequenceWordWrapping.MinMaxWidthOfTextRendererSequenceHelper minMaxWidthOfTextRendererSequenceHelper, boolean anythingPlaced, Map<Integer, LayoutResult> textRendererLayoutResults, Map<Integer, LayoutResult> specialScriptLayoutResults, float textIndent) static void
TextSequenceWordWrapping.updateTextSequenceLayoutResults
(Map<Integer, LayoutResult> textRendererLayoutResults, boolean specialScripts, IRenderer childRenderer, int childPos, LayoutResult childResult) Constructors in com.itextpdf.layout.renderer with parameters of type LayoutResultModifierConstructorDescriptionLastFittingChildRendererData
(int childIndex, LayoutResult childLayoutResult)