Uses of Class
org.xhtmlrenderer.layout.LayoutContext
Packages that use LayoutContext
Package
Description
-
Uses of LayoutContext in org.xhtmlrenderer.context
Methods in org.xhtmlrenderer.context with parameters of type LayoutContextModifier and TypeMethodDescription@Nullable String
ContentFunctionFactory.LeaderFunction.calculate
(LayoutContext c, FSFunction function) @Nullable String
ContentFunctionFactory.PageNumberFunction.calculate
(LayoutContext c, FSFunction function) @Nullable String
ContentFunctionFactory.TargetCounterFunction.calculate
(LayoutContext c, FSFunction function) boolean
ContentFunctionFactory.LeaderFunction.canHandle
(LayoutContext c, FSFunction function) boolean
ContentFunctionFactory.PageCounterFunction.canHandle
(LayoutContext c, FSFunction function) boolean
ContentFunctionFactory.PagesCounterFunction.canHandle
(LayoutContext c, FSFunction function) boolean
ContentFunctionFactory.TargetCounterFunction.canHandle
(LayoutContext c, FSFunction function) @Nullable ContentFunction
ContentFunctionFactory.lookupFunction
(LayoutContext c, FSFunction function) -
Uses of LayoutContext in org.xhtmlrenderer.css.extend
Methods in org.xhtmlrenderer.css.extend with parameters of type LayoutContextModifier and TypeMethodDescriptionContentFunction.calculate
(LayoutContext c, FSFunction function) boolean
ContentFunction.canHandle
(LayoutContext c, FSFunction function) -
Uses of LayoutContext in org.xhtmlrenderer.extend
Methods in org.xhtmlrenderer.extend with parameters of type LayoutContextModifier and TypeMethodDescription@Nullable ReplacedElement
ReplacedElementFactory.createReplacedElement
(LayoutContext c, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight) NOTE: Only block equivalent elements can be replaced.void
ReplacedElement.detach
(LayoutContext c) -
Uses of LayoutContext in org.xhtmlrenderer.layout
Fields in org.xhtmlrenderer.layout declared as LayoutContextModifier and TypeFieldDescriptionprivate final LayoutContext
InlineBoxing.DynamicFloatDistances.c
Methods in org.xhtmlrenderer.layout that return LayoutContextModifier and TypeMethodDescriptionSharedContext.newLayoutContextInstance
(FontContext fontContext) Methods in org.xhtmlrenderer.layout with parameters of type LayoutContextModifier and TypeMethodDescriptionprivate static void
BoxBuilder.addColumnOrColumnGroup
(LayoutContext c, TableBox table, Element e, CalculatedStyle style) private static void
BoxBuilder.addColumns
(LayoutContext c, TableBox table, TableColumn parent) private static InlineLayoutBox
InlineBoxing.addFirstLetterBox
(LayoutContext c, LineBox current, InlineLayoutBox currentIB, LineBreakContext lbContext, int maxAvailableWidth, int remainingWidth) private static @Nullable InlineLayoutBox
InlineBoxing.addOpenInlineBoxes
(LayoutContext c, LineBox line, List<InlineBox> openParents, int cbWidth, Map<InlineBox, InlineLayoutBox> iBMap) private static void
InlineBoxing.alignInlineContent
(LayoutContext c, Box box, float ascent, float descent, VerticalAlignContext vaContext) private static void
InlineBoxing.alignLine
(LayoutContext c, LineBox current, int maxAvailableWidth) private PaintingInfo
Layer.calcPaintingDimension
(LayoutContext c) private static InlineBoxMeasurements
InlineBoxing.calculateInlineMeasurements
(LayoutContext c, InlineLayoutBox iB, VerticalAlignContext vaContext) void
BlockFormattingContext.clear
(LayoutContext c, Box current) private static void
BoxBuilder.createAnonymousTableContent
(LayoutContext c, BlockBox source, IdentValue next, List<Styleable> childrenForAnonymous, List<Styleable> childrenWithAnonymous) static void
BoxBuilder.createChildren
(LayoutContext c, BlockBox parent) private static void
BoxBuilder.createChildren
(LayoutContext c, BlockBox blockParent, Element parent, List<Styleable> children, BoxBuilder.ChildBoxInfo info, boolean inline) static StrutMetrics
InlineBoxing.createDefaultStrutMetrics
(LayoutContext c, Box container) BoxBuilder.createGeneratedContent
(LayoutContext c, Element element, String peName, CalculatedStyle style, PropertyValue property, BoxBuilder.ChildBoxInfo info) BoxBuilder.createGeneratedContentList
(LayoutContext c, Element element, PropertyValue propValue, @Nullable String peName, CalculatedStyle style, int mode, @Nullable BoxBuilder.ChildBoxInfo info) BoxBuilder.createGeneratedMarginBoxContent
(LayoutContext c, Element element, PropertyValue property, CalculatedStyle style, BoxBuilder.ChildBoxInfo info) private static @Nullable TableCellBox
BoxBuilder.createMarginBox
(LayoutContext c, CascadedStyle cascadedStyle, boolean alwaysCreate) static @Nullable TableBox
BoxBuilder.createMarginTable
(LayoutContext c, PageInfo pageInfo, MarginBoxName[] names, int height, BoxBuilder.MarginDirection direction) static BlockBox
BoxBuilder.createRootBox
(LayoutContext c, Document document) boolean
Layer.crossesPageBreak
(LayoutContext c, int top, int bottom) void
Layer.finish
(LayoutContext c) private static void
InlineBoxing.finishPendingInlineLayers
(LayoutContext c, List<Layer> layers) void
BlockFormattingContext.floatBox
(LayoutContext c, BlockBox floated) void
FloatManager.floatBox
(LayoutContext c, Layer layer, BlockFormattingContext bfc, BlockBox box) private static InlineBoxMeasurements
InlineBoxing.getInitialMeasurements
(LayoutContext c, Box container, FSFontMetrics strutM) Layer.getPaintingDimension
(LayoutContext c) static @Nullable BlockBox
BoxBuilder.getRunningBlock
(LayoutContext c, PropertyValue value) private static void
BoxBuilder.insertGeneratedContent
(LayoutContext c, Element element, CalculatedStyle parentStyle, String peName, List<Styleable> children, BoxBuilder.ChildBoxInfo info) private static boolean
InlineBoxing.isAlwaysBreak
(LayoutContext c, BlockBox parent, int breakAtLine, int lineOffset) private static boolean
BlockBoxing.isPageBreakBetweenChildBoxes
(int runStart, int runEnd, LayoutContext c, BlockBox block) static void
LayoutUtil.layoutAbsolute
(LayoutContext c, LineBox currentLine, BlockBox box) private void
Layer.layoutAbsoluteChild
(LayoutContext c, Layer child) private void
Layer.layoutAbsoluteChildren
(LayoutContext c) private static void
BlockBoxing.layoutBlockChild
(LayoutContext c, BlockBox parent, BlockBox child, boolean needPageClear, int childOffset, int trimmedPageCount, LayoutState layoutState) private static void
BlockBoxing.layoutBlockChild0
(LayoutContext c, BlockBox parent, BlockBox child, boolean needPageClear, int childOffset, int trimmedPageCount) static void
BlockBoxing.layoutContent
(LayoutContext c, BlockBox block, int contentStart) static void
InlineBoxing.layoutContent
(LayoutContext c, BlockBox box, int initialY, int breakAtLine) static FloatLayoutResult
LayoutUtil.layoutFloated
(LayoutContext c, LineBox currentLine, BlockBox block, int avail, @Nullable List<FloatLayoutResult> pendingFloats) private static void
InlineBoxing.layoutInlineBlockContent
(LayoutContext c, BlockBox containingBlock, BlockBox inlineBlock, int initialY) void
Layer.layoutPages
(LayoutContext c) private static InlineText
InlineBoxing.layoutText
(LayoutContext c, CalculatedStyle style, int remainingWidth, LineBreakContext lbContext, boolean needFirstLetter) private static @Nullable CounterFunction
BoxBuilder.makeCounterFunction
(FSFunction function, LayoutContext c, CalculatedStyle style) private static LineBox
InlineBoxing.newLine
(LayoutContext c, int y, Box box) private static LineBox
InlineBoxing.newLine
(LayoutContext c, @Nullable LineBox previousLine, Box box) private void
Layer.position
(LayoutContext c) void
Layer.positionChildren
(LayoutContext c) private static void
LayoutUtil.positionFloatOnPage
(LayoutContext c, LineBox currentLine, BlockBox block, boolean movedVertically) private static void
InlineBoxing.positionInlineBlockVertically
(LayoutContext c, VerticalAlignContext vaContext, BlockBox inlineBlock) private static void
InlineBoxing.positionInlineChildrenVertically
(LayoutContext c, InlineLayoutBox current, VerticalAlignContext vaContext) private static void
InlineBoxing.positionInlineContentVertically
(LayoutContext c, VerticalAlignContext vaContext, Box child) private static void
InlineBoxing.positionInlineVertically
(LayoutContext c, VerticalAlignContext vaContext, InlineLayoutBox iB) private static void
InlineBoxing.positionVertically
(LayoutContext c, Box container, LineBox current, @Nullable MarkerData markerData) private static int
InlineBoxing.processOutOfFlowContent
(LayoutContext c, LineBox current, BlockBox block, int available, List<FloatLayoutResult> pendingFloats) private static BlockBoxing.RelayoutRunResult
BlockBoxing.processPageBreakAvoidRun
(LayoutContext c, BlockBox block, List<Box> localChildren, int offset, BlockBoxing.RelayoutDataList relayoutDataList, BlockBoxing.RelayoutData relayoutData) private static int
BlockBoxing.relayoutRun
(LayoutContext c, List<Box> localChildren, BlockBox block, BlockBoxing.RelayoutDataList relayoutDataList, int start, int end, boolean onNewPage) private static BlockBox
BoxBuilder.reorderTableContent
(LayoutContext c, TableBox table) Reorganizes a table so that the header is the first row group and the footer the last.private static void
BlockBoxing.repositionBox
(LayoutContext c, BlockBox child, int trimmedPageCount) private static void
LayoutUtil.resetAndFloatBlock
(LayoutContext c, LineBox currentLine, BlockBox block) private static void
BoxBuilder.resolveChildTableContent
(LayoutContext c, BlockBox parent, List<Styleable> children, BoxBuilder.ChildBoxInfo info, IdentValue target) Handles the situation when we find table content, but our parent is not table related.private static void
BoxBuilder.resolveTableContent
(LayoutContext c, BlockBox parent, List<Styleable> children, BoxBuilder.ChildBoxInfo info) Handles the situation when our current parent is table related.private static void
InlineBoxing.saveLine
(LineBox current, LayoutContext c, BlockBox block, int minHeight, int maxAvailableWidth, List<FloatLayoutResult> pendingFloats, boolean hasFirstLinePCs, List<Layer> pendingInlineLayers, @Nullable MarkerData markerData, int contentStart, boolean alwaysBreak) Constructors in org.xhtmlrenderer.layout with parameters of type LayoutContextModifierConstructorDescriptionBlockFormattingContext
(BlockBox block, LayoutContext c) private
DynamicFloatDistances
(LayoutContext c, LineBox current, int maxAvailableWidth) PersistentBFC
(BlockBox master, LayoutContext c) private
StaticFloatDistances
(LayoutContext c, LineBox current, int maxAvailableWidth) -
Uses of LayoutContext in org.xhtmlrenderer.layout.breaker
Methods in org.xhtmlrenderer.layout.breaker with parameters of type LayoutContextModifier and TypeMethodDescriptionstatic void
Breaker.breakFirstLetter
(LayoutContext c, LineBreakContext context, int avail, CalculatedStyle style) static void
Breaker.breakText
(LayoutContext c, LineBreakContext context, int avail, CalculatedStyle style) private static void
Breaker.doBreakText
(LayoutContext c, LineBreakContext context, int avail, CalculatedStyle style, boolean tryToBreakAnywhere) static BreakPointsProvider
Breaker.getBreakPointsProvider
(String text, LayoutContext c, Element element, CalculatedStyle style) static BreakPointsProvider
Breaker.getBreakPointsProvider
(String text, LayoutContext c, Text textNode, CalculatedStyle style) private static String
Breaker.getLanguage
(LayoutContext c, @Nullable Element element) private static String
Breaker.getLanguage
(LayoutContext c, @Nullable Text textNode) private static int
Breaker.getWidth
(LayoutContext c, FSFont f, String text) -
Uses of LayoutContext in org.xhtmlrenderer.newtable
Methods in org.xhtmlrenderer.newtable with parameters of type LayoutContextModifier and TypeMethodDescriptionprivate void
TableRowBox.alignBaselineAlignedCells
(LayoutContext c) private boolean
TableRowBox.alignMiddleAndBottomAlignedCells
(LayoutContext c) private void
TableBox.analyzePageBreaks
(LayoutContext c) void
TableBox.analyzePageBreaks
(LayoutContext c, @Nullable ContentLimitContainer container) void
TableRowBox.analyzePageBreaks
(LayoutContext c, ContentLimitContainer container) int
TableCellBox.calcBaseline
(LayoutContext c) int
TableCellBox.calcBlockBaseline
(LayoutContext c) private void
TableBox.calcBorders
(LayoutContext c) void
TableSectionBox.calcBorders
(LayoutContext c) private void
TableRowBox.calcDefaultBaseline
(LayoutContext c) private long
TableBox.AutoTableLayout.calcEffectiveWidth
(LayoutContext c) private void
TableRowBox.calcExtraSpaceBottom
(LayoutContext c) private void
TableRowBox.calcExtraSpaceTop
(LayoutContext c) protected void
TableBox.calcLayoutHeight
(LayoutContext c, BorderPropertySet border, RectPropertySet margin, RectPropertySet padding) protected void
TableRowBox.calcLayoutHeight
(LayoutContext c, BorderPropertySet border, RectPropertySet margin, RectPropertySet padding) void
TableBox.AutoTableLayout.calcMinMaxWidth
(LayoutContext c) void
TableBox.calcMinMaxWidth
(LayoutContext c) void
TableBox.FixedTableLayout.calcMinMaxWidth
(LayoutContext c) void
TableBox.MarginTableLayout.calcMinMaxWidth
(LayoutContext c) void
TableBox.TableLayout.calcMinMaxWidth
(LayoutContext c) private void
TableBox.calcPageClearance
(LayoutContext c) private int
TableBox.FixedTableLayout.calcWidthArray
(LayoutContext c) int
TableRowBox.forcePageBreakBefore
(LayoutContext c, IdentValue pageBreakValue, boolean pendingPageName) private void
TableBox.AutoTableLayout.fullRecalc
(LayoutContext c) void
TableRowBox.initStaticPos
(LayoutContext c, BlockBox parent, int childOffset) boolean
TableCellBox.isPageBreaksChange
(LayoutContext c, int posDeltaY) private boolean
TableRowBox.isShouldMoveToNextPage
(LayoutContext c) void
TableBox.AutoTableLayout.layout
(LayoutContext c) void
TableBox.FixedTableLayout.layout
(LayoutContext c) void
TableBox.layout
(LayoutContext c) void
TableBox.TableLayout.layout
(LayoutContext c) void
TableCellBox.layout
(LayoutContext c) void
TableRowBox.layout
(LayoutContext c, int contentStart) void
TableSectionBox.layout
(LayoutContext c, int contentStart) private void
TableRowBox.layoutCell
(LayoutContext c, TableCellBox cell, int contentStart) protected void
TableBox.layoutChildren
(LayoutContext c, int contentStart) protected void
TableRowBox.layoutChildren
(LayoutContext c, int contentStart) protected void
TableSectionBox.layoutChildren
(LayoutContext c, int contentStart) private int
TableBox.layoutRunningFooter
(LayoutContext c) private int
TableBox.layoutRunningHeader
(LayoutContext c) private void
TableBox.layoutTable
(LayoutContext c) void
TableSectionBox.recalcCells
(LayoutContext c) private void
TableBox.AutoTableLayout.recalcColumn
(LayoutContext c, int effCol) private void
TableBox.recalcSections
(LayoutContext c) private void
TableRowBox.relayoutCell
(LayoutContext c, TableCellBox cell, int contentStart) void
TableBox.reset
(LayoutContext c) void
TableRowBox.reset
(LayoutContext c) void
TableSectionBox.reset
(LayoutContext c) protected void
TableBox.resolveAutoMargins
(LayoutContext c, int cssWidth, RectPropertySet padding, BorderPropertySet border) private void
TableBox.setCellWidths
(LayoutContext c) (package private) void
TableSectionBox.setCellWidths
(LayoutContext c) void
TableCellBox.setLayoutWidth
(LayoutContext c, int width) -
Uses of LayoutContext in org.xhtmlrenderer.pdf
Methods in org.xhtmlrenderer.pdf that return LayoutContextMethods in org.xhtmlrenderer.pdf with parameters of type LayoutContextModifier and TypeMethodDescription@Nullable ReplacedElement
ITextReplacedElementFactory.createReplacedElement
(LayoutContext c, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight) void
AbstractFormField.detach
(LayoutContext c) void
BookmarkElement.detach
(LayoutContext c) void
ITextImageElement.detach
(LayoutContext c) void
RadioButtonFormField.detach
(LayoutContext c) private Rectangle
ITextRenderer.getInitialExtents
(LayoutContext c) protected void
AbstractFormField.initDimensions
(LayoutContext c, BlockBox box, int cssWidth, int cssHeight) protected void
TextFormField.initDimensions
(LayoutContext c, BlockBox box, int cssWidth, int cssHeight) Constructors in org.xhtmlrenderer.pdf with parameters of type LayoutContextModifierConstructorDescriptionCheckboxFormField
(LayoutContext c, BlockBox box, int cssWidth, int cssHeight) RadioButtonFormField
(ITextReplacedElementFactory factory, LayoutContext c, BlockBox box, int cssWidth, int cssHeight) TextFormField
(LayoutContext c, BlockBox box, int cssWidth, int cssHeight) -
Uses of LayoutContext in org.xhtmlrenderer.render
Methods in org.xhtmlrenderer.render with parameters of type LayoutContextModifier and TypeMethodDescriptionprivate void
BlockBox.addBoxID
(LayoutContext c) void
Box.addChildForLayout
(LayoutContext c, Box child) void
InlineLayoutBox.addInlineChild
(LayoutContext c, Object child) void
InlineLayoutBox.addInlineChild
(LayoutContext c, Object child, boolean callUnmarkPending) void
Box.analyzePageBreaks
(LayoutContext c, ContentLimitContainer container) void
LineBox.analyzePageBreaks
(LayoutContext c, ContentLimitContainer container) int
BlockBox.calcBaseline
(LayoutContext c) BlockBox.calcBreakAtLineContext
(LayoutContext c) private void
BlockBox.calcClearance
(LayoutContext c) void
BlockBox.calcDimensions
(LayoutContext c) protected void
BlockBox.calcDimensions
(LayoutContext c, int cssWidth) private int
BlockBox.calcEffPageRelativeWidth
(LayoutContext c) private void
BlockBox.calcExtraPageClearance
(LayoutContext c) protected int
BlockBox.calcInitialBreakAtLine
(LayoutContext c) void
BlockBox.calcInitialFloatedCanvasLocation
(LayoutContext c) protected void
BlockBox.calcLayoutHeight
(LayoutContext c, BorderPropertySet border, RectPropertySet margin, RectPropertySet padding) private void
InlineBox.calcMaxWidthFromLineLength
(LayoutContext c, int cbWidth, boolean trim) private void
BlockBox.calcMinMaxCSSMinMaxWidth
(LayoutContext c, RectPropertySet margin, BorderPropertySet border, RectPropertySet padding) void
BlockBox.calcMinMaxWidth
(LayoutContext c) void
InlineBox.calcMinMaxWidth
(LayoutContext c, int cbWidth, boolean trimLeadingSpace) private void
BlockBox.calcMinMaxWidthBlockChildren
(LayoutContext c) private void
BlockBox.calcMinMaxWidthInlineChildren
(LayoutContext c) private int
InlineBox.calcMinWidthFromWordLength
(LayoutContext c, int cbWidth, boolean trimLeadingSpace, boolean includeWS) private int
BlockBox.calcShrinkToFitWidth
(LayoutContext c) private void
BlockBox.calcShrinkToFitWidthIfNeeded
(LayoutContext c) void
InlineLayoutBox.calculateHeight
(LayoutContext c) void
InlineLayoutBox.calculateTextDecoration
(LayoutContext c) boolean
BlockBox.checkPageContext
(LayoutContext c) void
LineBox.checkPagePosition
(LayoutContext c, boolean alwaysBreak) private void
BlockBox.collapseBottomMargin
(LayoutContext c, boolean calculationRoot, BlockBox.MarginCollapseResult result) private void
BlockBox.collapseEmptySubtreeMargins
(LayoutContext c, BlockBox.MarginCollapseResult result) private void
BlockBox.collapseMargins
(LayoutContext c) private void
BlockBox.collapseTopMargin
(LayoutContext c, boolean calculationRoot, BlockBox.MarginCollapseResult result) void
void
InlineLayoutBox.connectChildrenToCurrentLayer
(LayoutContext c) private MarkerData
BlockBox.createMarkerData
(LayoutContext c) boolean
Box.crossesPageBreak
(LayoutContext c) void
Box.detach
(LayoutContext c) BlockBox.dump
(LayoutContext c, String indent, Box.Dump which) abstract String
Box.dump
(LayoutContext c, String indent, Box.Dump which) InlineLayoutBox.dump
(LayoutContext c, String indent, Box.Dump which) LineBox.dump
(LayoutContext c, String indent, Box.Dump which) protected void
Box.dumpBoxes
(LayoutContext c, String indent, List<Box> boxes, Box.Dump which, StringBuilder result) void
BlockBox.ensureChildren
(LayoutContext c) private ReplacedElement
BlockBox.fitReplacedElement
(LayoutContext c, ReplacedElement re) void
Box.forcePageBreakAfter
(LayoutContext c, IdentValue pageBreakValue) int
Box.forcePageBreakBefore
(LayoutContext c, IdentValue pageBreakValue, boolean pendingPageName) protected int
BlockBox.getAvailableWidth
(LayoutContext c) private int
InlineBox.getInlineMBP
(LayoutContext c, int cbWidth) private int
InlineBox.getMaxCharWidth
(LayoutContext c, String s) ContentLimitContainer.getPage
(LayoutContext c, int absY) int
InlineBox.getSpaceWidth
(LayoutContext c) private int
InlineBox.getTextWidth
(LayoutContext c, String s) int
InlineBox.getTrailingSpaceWidth
(LayoutContext c) void
Box.initContainingLayer
(LayoutContext c) private MarkerData
BlockBox.initMarkerData
(LayoutContext c) void
BlockBox.initStaticPos
(LayoutContext c, BlockBox parent, int childOffset) boolean
BlockBox.isContainsInlineContent
(LayoutContext c) boolean
BlockBox.isCurrentBreakAtLineContext
(LayoutContext c) boolean
BlockBox.isNeedsKeepWithInline
(LayoutContext c) private boolean
BlockBox.isNoBottomPaddingOrBorder
(LayoutContext c) private boolean
BlockBox.isNoTopPaddingOrBorder
(LayoutContext c) private boolean
BlockBox.isVerticalMarginsAdjoin
(LayoutContext c) void
AnonymousBlockBox.layout
(LayoutContext c) void
BlockBox.layout
(LayoutContext c) void
BlockBox.layout
(LayoutContext c, int contentStart) void
PageBox.layout
(LayoutContext c) protected void
BlockBox.layoutChildren
(LayoutContext c, int contentStart) protected void
BlockBox.layoutInlineChildren
(LayoutContext c, int contentStart, int breakAtLine, boolean tryAgain) private void
PageBox.layoutMarginAreas
(LayoutContext c) private @Nullable MarkerData.ImageMarker
BlockBox.makeImageMarker
(LayoutContext c, StrutMetrics structMetrics, String image) private MarkerData.TextMarker
BlockBox.makeTextMarker
(LayoutContext c, IdentValue listStyle) void
BlockBox.positionAbsoluteOnPage
(LayoutContext c) protected void
BlockBox.propagateExtraSpace
(LayoutContext c, ContentLimitContainer parentContainer, ContentLimitContainer currentContainer, int extraTop, int extraBottom) private void
BlockBox.recalculateMargin
(LayoutContext c) void
BlockBox.reset
(LayoutContext c) void
Box.reset
(LayoutContext c) void
LineBox.reset
(LayoutContext c) protected void
Box.resetChildren
(LayoutContext c) void
Box.resetChildren
(LayoutContext c, int start, int end) protected void
InlineLayoutBox.resetChildren
(LayoutContext c) protected void
BlockBox.resolveAutoMargins
(LayoutContext c, int cssWidth, RectPropertySet padding, BorderPropertySet border) void
Box.restyle
(LayoutContext c) void
InlineLayoutBox.restyle
(LayoutContext c) void
LineBox.restyle
(LayoutContext c) protected void
Box.restyleChildren
(LayoutContext c) protected void
InlineLayoutBox.restyleChildren
(LayoutContext c) private void
PageBox.retrievePageMetadata
(LayoutContext c) private void
BlockBox.satisfyWidowsAndOrphans
(LayoutContext c, int contentStart, boolean tryAgain) private void
BlockBox.setCollapsedBottomMargin
(LayoutContext c, RectPropertySet margin, BlockBox.MarginCollapseResult collapsedMargin) void
AnonymousBlockBox.styleText
(LayoutContext c) void
BlockBox.styleText
(LayoutContext c) void
BlockBox.styleText
(LayoutContext c, CalculatedStyle style) void
InlineText.trimTrailingSpace
(LayoutContext c) void
LineBox.trimTrailingSpace
(LayoutContext c) void
InlineLayoutBox.unmarkPending
(LayoutContext c) void
ContentLimitContainer.updateBottom
(LayoutContext c, int absY) void
ContentLimitContainer.updateTop
(LayoutContext c, int absY) Constructors in org.xhtmlrenderer.render with parameters of type LayoutContextModifierConstructorDescriptionContentLimitContainer
(LayoutContext c, int startAbsY) InlineLayoutBox
(LayoutContext c, @Nullable Element elem, @Nullable CalculatedStyle style, int cbWidth) -
Uses of LayoutContext in org.xhtmlrenderer.simple.extend
Methods in org.xhtmlrenderer.simple.extend with parameters of type LayoutContextModifier and TypeMethodDescription@Nullable FormField
XhtmlForm.addComponent
(Element e, LayoutContext context, BlockBox box) -
Uses of LayoutContext in org.xhtmlrenderer.simple.extend.form
Fields in org.xhtmlrenderer.simple.extend.form declared as LayoutContextMethods in org.xhtmlrenderer.simple.extend.form that return LayoutContextMethods in org.xhtmlrenderer.simple.extend.form with parameters of type LayoutContextModifier and TypeMethodDescriptionstatic @Nullable FormField
FormFieldFactory.create
(XhtmlForm form, LayoutContext context, BlockBox box) Constructors in org.xhtmlrenderer.simple.extend.form with parameters of type LayoutContextModifierConstructorDescriptionAbstractButtonField
(Element e, XhtmlForm form, LayoutContext context, BlockBox box) (package private)
ButtonField
(Element e, XhtmlForm form, LayoutContext context, BlockBox box) (package private)
CheckboxField
(Element e, XhtmlForm form, LayoutContext context, BlockBox box) (package private)
FileField
(Element e, XhtmlForm form, LayoutContext context, BlockBox box) protected
FormField
(Element e, XhtmlForm form, LayoutContext context, BlockBox box) (package private)
HiddenField
(Element e, XhtmlForm form, LayoutContext context, BlockBox box) (package private)
ImageField
(Element e, XhtmlForm form, LayoutContext context, BlockBox box) protected
InputField
(Element e, XhtmlForm form, LayoutContext context, BlockBox box) (package private)
PasswordField
(Element e, XhtmlForm form, LayoutContext context, BlockBox box) (package private)
RadioButtonField
(Element e, XhtmlForm form, LayoutContext context, BlockBox box) (package private)
ResetField
(Element e, XhtmlForm form, LayoutContext context, BlockBox box) (package private)
SelectField
(Element e, XhtmlForm form, LayoutContext context, BlockBox box) (package private)
SubmitField
(Element e, XhtmlForm form, LayoutContext context, BlockBox box) (package private)
TextAreaField
(Element e, XhtmlForm form, LayoutContext context, BlockBox box) (package private)
TextField
(Element e, XhtmlForm form, LayoutContext context, BlockBox box) -
Uses of LayoutContext in org.xhtmlrenderer.swing
Fields in org.xhtmlrenderer.swing declared as LayoutContextMethods in org.xhtmlrenderer.swing that return LayoutContextModifier and TypeMethodDescription@Nullable LayoutContext
RootPanel.getLayoutContext()
private LayoutContext
Java2DRenderer.newLayoutContext()
protected LayoutContext
RootPanel.newLayoutContext
(Graphics2D g) Methods in org.xhtmlrenderer.swing with parameters of type LayoutContextModifier and TypeMethodDescription@Nullable ReplacedElement
SwingReplacedElementFactory.createReplacedElement
(LayoutContext context, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight) void
EmptyReplacedElement.detach
(LayoutContext c) void
ImageReplacedElement.detach
(LayoutContext c) void
SwingReplacedElement.detach
(LayoutContext c) private Rectangle
RootPanel.getInitialExtents
(LayoutContext c) protected @Nullable Element
SwingReplacedElementFactory.getParentForm
(Element e, LayoutContext context) protected @Nullable ReplacedElement
SwingReplacedElementFactory.replaceImage
(UserAgentCallback uac, LayoutContext context, Element elem, int cssWidth, int cssHeight) Handles replacement of image elements in the document. -
Uses of LayoutContext in org.xhtmlrenderer.swt
Fields in org.xhtmlrenderer.swt declared as LayoutContextMethods in org.xhtmlrenderer.swt that return LayoutContextModifier and TypeMethodDescriptionBasicRenderer.getLayoutContext()
protected LayoutContext
BasicRenderer.newLayoutcontext()
protected LayoutContext
PrinterRenderer.newLayoutcontext
(org.eclipse.swt.graphics.GC gc) Methods in org.xhtmlrenderer.swt with parameters of type LayoutContextModifier and TypeMethodDescriptionvoid
FormControlReplacementElement.calculateSize
(LayoutContext c, CalculatedStyle style, int cssWidth, int cssHeight) Recalculate the size of the control based on the css lengths.@Nullable ReplacedElement
SWTReplacedElementFactory.createReplacedElement
(LayoutContext c, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight) void
FormControlReplacementElement.detach
(LayoutContext c) void
ImageReplacedElement.detach
(LayoutContext c) protected Rectangle
BasicRenderer.getInitialExtents
(LayoutContext c) protected @Nullable ReplacedElement
SWTReplacedElementFactory.replaceImage
(UserAgentCallback uac, LayoutContext context, Element elem, int cssWidth, int cssHeight) Handles replacement of image elements in the document.