Package com.openhtmltopdf.layout
Class LayoutState
- java.lang.Object
-
- com.openhtmltopdf.layout.LayoutState
-
public class LayoutState extends Object
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
Constructors Constructor Description LayoutState()
-
Method Summary
Modifier and Type Method Description LinkedList<BlockFormattingContext>getBFCs()MarkerDatagetCurrentMarkerData()intgetExtraSpaceBottom()intgetExtraSpaceTop()StyleTrackergetFirstLetters()StyleTrackergetFirstLines()intgetNoPageBreak()StringgetPageName()voidsetBFCs(LinkedList<BlockFormattingContext> s)voidsetCurrentMarkerData(MarkerData currentMarkerData)voidsetExtraSpaceBottom(int extraSpaceBottom)voidsetExtraSpaceTop(int extraSpaceTop)voidsetFirstLetters(StyleTracker firstLetters)voidsetFirstLines(StyleTracker firstLines)voidsetNoPageBreak(int noPageBreak)voidsetPageName(String pageName)
-
-
-
Method Detail
-
getBFCs
public LinkedList<BlockFormattingContext> getBFCs()
-
setBFCs
public void setBFCs(LinkedList<BlockFormattingContext> s)
-
getCurrentMarkerData
public MarkerData getCurrentMarkerData()
-
setCurrentMarkerData
public void setCurrentMarkerData(MarkerData currentMarkerData)
-
getFirstLetters
public StyleTracker getFirstLetters()
-
setFirstLetters
public void setFirstLetters(StyleTracker firstLetters)
-
getFirstLines
public StyleTracker getFirstLines()
-
setFirstLines
public void setFirstLines(StyleTracker firstLines)
-
getPageName
public String getPageName()
-
setPageName
public void setPageName(String pageName)
-
getExtraSpaceTop
public int getExtraSpaceTop()
-
setExtraSpaceTop
public void setExtraSpaceTop(int extraSpaceTop)
-
getExtraSpaceBottom
public int getExtraSpaceBottom()
-
setExtraSpaceBottom
public void setExtraSpaceBottom(int extraSpaceBottom)
-
getNoPageBreak
public int getNoPageBreak()
-
setNoPageBreak
public void setNoPageBreak(int noPageBreak)
-
-