Class LineLayoutResult

    • Field Detail

      • splitForcedByNewline

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

        private java.util.List<IRenderer> floatsOverflowedToNextPage
    • Method Detail

      • 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 java.util.List<IRenderer> getFloatsOverflowedToNextPage()
        Gets the list of floats overflowed to next page.
        Returns:
        list of floats overflowed to next page
      • setFloatsOverflowedToNextPage

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