java.lang.Object
org.openpdf.layout.LayoutState
A bean which captures all state necessary to lay out an arbitrary box.
Mutable objects must be copied when provided to this class. It is far too
expensive to maintain a bean of this class for each box.
It is only created as needed.
-
Constructor Summary
ConstructorsConstructorDescriptionLayoutState(StyleTracker firstLines, StyleTracker firstLetters, @Nullable MarkerData currentMarkerData, Collection<BlockFormattingContext> blockFormattingContexts) LayoutState(StyleTracker firstLines, StyleTracker firstLetters, @Nullable MarkerData currentMarkerData, Collection<BlockFormattingContext> blockFormattingContexts, @Nullable String pageName, int extraSpaceTop, int extraSpaceBottom, int noPageBreak) -
Method Summary
-
Constructor Details
-
LayoutState
public LayoutState(StyleTracker firstLines, StyleTracker firstLetters, @Nullable MarkerData currentMarkerData, Collection<BlockFormattingContext> blockFormattingContexts, @Nullable String pageName, int extraSpaceTop, int extraSpaceBottom, int noPageBreak) -
LayoutState
public LayoutState(StyleTracker firstLines, StyleTracker firstLetters, @Nullable MarkerData currentMarkerData, Collection<BlockFormattingContext> blockFormattingContexts)
-
-
Method Details
-
getBFCs
-
getCurrentMarkerData
-
getFirstLetters
-
getFirstLines
-
getPageName
-
getExtraSpaceTop
public int getExtraSpaceTop() -
getExtraSpaceBottom
public int getExtraSpaceBottom() -
getNoPageBreak
public int getNoPageBreak()
-