Class LineLayoutResult


public class LineLayoutResult extends MinMaxWidthLayoutResult
Represents the result of a line layouting.
  • Field Details

    • splitForcedByNewline

      protected boolean splitForcedByNewline
      Indicates whether split was forced by new line symbol or not.
  • Constructor Details

  • Method Details

    • isSplitForcedByNewline

      public boolean isSplitForcedByNewline()
      Indicates whether split was forced by new line symbol in rendered text. The value will be set as true if, for example, the rendered text of one of the child renderers contains '\n' symbol.
      Returns:
      whether split was forced by new line or not
    • setSplitForcedByNewline

      public LineLayoutResult setSplitForcedByNewline (boolean isSplitForcedByNewline)
      Sets a flat that split was forced by new line symbol in rendered text.
      Parameters:
      isSplitForcedByNewline - indicates that split was forced by new line symbol in rendered text.
      Returns:
      this layout result the setting was applied on.
    • getFloatsOverflowedToNextPage

      public List<IRenderer> getFloatsOverflowedToNextPage()
      Gets the list of floats overflowed to next page.
      Returns:
      list of floats overflowed to next page
    • setFloatsOverflowedToNextPage

      public void setFloatsOverflowedToNextPage (List<IRenderer> floatsOverflowedToNextPage)
      Sets the list of floats overflowed to next page.
      Parameters:
      floatsOverflowedToNextPage - the floats overflowed to next page