Uses of Class
com.itextpdf.layout.layout.LayoutContext
Packages that use LayoutContext
Package
Description
-
Uses of LayoutContext in com.itextpdf.forms.form.renderer
Methods in com.itextpdf.forms.form.renderer with parameters of type LayoutContextModifier and TypeMethodDescriptionprotected abstract void
AbstractFormFieldRenderer.adjustFieldLayout
(LayoutContext layoutContext) Adjusts the field layout.protected void
ButtonRenderer.adjustFieldLayout
(LayoutContext layoutContext) Adjusts the field layout.protected void
CheckBoxRenderer.adjustFieldLayout
(LayoutContext layoutContext) Adjusts the field layout.protected void
InputFieldRenderer.adjustFieldLayout
(LayoutContext layoutContext) Adjusts the field layout.protected void
RadioRenderer.adjustFieldLayout
(LayoutContext layoutContext) Adjusts the field layout.protected void
SignatureAppearanceRenderer.adjustFieldLayout
(LayoutContext layoutContext) Adjusts the field layout.protected void
TextAreaRenderer.adjustFieldLayout
(LayoutContext layoutContext) Adjusts the field layout.(package private) float
AbstractTextFieldRenderer.approximateFontSize
(LayoutContext layoutContext, float lFontSize, float rFontSize) Approximates font size to fit occupied area if width anf height are specified.private void
SignatureAppearanceRenderer.approximateFontSizeToFitLayoutArea
(LayoutContext layoutContext) private void
TextAreaRenderer.approximateFontSizeToFitMultiLine
(LayoutContext layoutContext) (package private) float
AbstractTextFieldRenderer.calculateFittingFontSize
(IRenderer renderer, float lFontSize, float rFontSize, LayoutContext newLayoutContext, int numberOfIterations) AbstractFormFieldRenderer.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. -
Uses of LayoutContext in com.itextpdf.layout.layout
Subclasses of LayoutContext in com.itextpdf.layout.layoutModifier and TypeClassDescriptionclass
Represents the context for content of a linelayouting
.class
Represents the result of positioning for layout context.Constructors in com.itextpdf.layout.layout with parameters of type LayoutContextModifierConstructorDescriptionLineLayoutContext
(LayoutContext layoutContext) Creates the context for content of a line. -
Uses of LayoutContext in com.itextpdf.layout.renderer
Fields in com.itextpdf.layout.renderer declared as LayoutContextModifier and TypeFieldDescription(package private) LayoutContext
OrphansWidowsLayoutHelper.OrphansWidowsLayoutAttempt.attemptContext
Methods in com.itextpdf.layout.renderer that return LayoutContextModifier and TypeMethodDescriptionprivate static LayoutContext
GridContainerRenderer.getCellLayoutContext
(LayoutContext layoutContext, Rectangle actualBBox, GridCell cell) Methods in com.itextpdf.layout.renderer with parameters of type LayoutContextModifier and TypeMethodDescription(package private) void
AbstractRenderer.applyAbsolutePositionIfNeeded
(LayoutContext layoutContext) private static OrphansWidowsLayoutHelper.OrphansWidowsLayoutAttempt
OrphansWidowsLayoutHelper.attemptLayout
(ParagraphRenderer renderer, LayoutContext originalContext, LayoutArea attemptArea) MulticolRenderer.balanceContentAndLayoutColumns
(LayoutContext prelayoutContext, Rectangle actualBbox) private LayoutArea
GridContainerRenderer.calculateContainerOccupiedArea
(LayoutContext layoutContext, boolean isFull) private LayoutArea
MulticolRenderer.calculateContainerOccupiedArea
(LayoutContext layoutContext, boolean isFull) protected LayoutResult
ParagraphRenderer.directLayout
(LayoutContext layoutContext) private static LayoutContext
GridContainerRenderer.getCellLayoutContext
(LayoutContext layoutContext, Rectangle actualBBox, GridCell cell) private static LayoutResult
OrphansWidowsLayoutHelper.handleAttemptAsSuccessful
(OrphansWidowsLayoutHelper.OrphansWidowsLayoutAttempt attemptResult, LayoutContext originalContext) private LayoutResult
ListRenderer.initializeListSymbols
(LayoutContext layoutContext) (package private) boolean
LineRenderer.isForceOverflowForTextRendererPartialResult
(IRenderer childRenderer, boolean wasXOverflowChanged, OverflowPropertyValue oldXOverflow, LayoutContext layoutContext, Rectangle layoutBox, boolean wasParentsHeightClipped) Checks if the word that's been split when has been layouted on this line can fit the next line without splitting.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) MulticolRenderer.layoutColumnsAndReturnOverflowRenderer
(LayoutContext preLayoutContext, Rectangle actualBBox, float workingHeight) GridContainerRenderer.layoutGrid
(LayoutContext layoutContext, Rectangle actualBBox, Grid grid) protected MulticolRenderer.MulticolLayoutResult
MulticolRenderer.layoutInColumns
(LayoutContext layoutContext, Rectangle actualBBox) Layouts multicol in the passed area.(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)