Class TabbedChunk

  • All Implemented Interfaces:
    Element, IAccessibleElement

    public class TabbedChunk
    extends Chunk
    A TabbedChunk is a Chunk that contains tabcount and alignment data to allow the HTML to PDF conversion to accept tabstop css.
    • Constructor Detail

      • TabbedChunk

        public TabbedChunk​(String content)
        Constructor
        Parameters:
        content - the content of the Chunk
      • TabbedChunk

        public TabbedChunk​(VerticalPositionMark verticalPositionMark,
                           float parseToPt,
                           boolean b,
                           String alignment)
        Parameters:
        verticalPositionMark - the drawInterface used to draw the tab. tabPosition an X
        parseToPt - that will be used as start position for the next Chunk.
        b - if true, a newline will be added if the tabPosition has already been reached.
        alignment - the alignment
      • TabbedChunk

        public TabbedChunk​(VerticalPositionMark verticalPositionMark,
                           float parseToPt,
                           boolean b)
        Parameters:
        verticalPositionMark - the drawInterface to use to draw the tab. tabPosition an X
        parseToPt - that will be used as start position for the next Chunk.
        b - if true, a newline will be added if the tabPosition has already been reached.
    • Method Detail

      • setTabCount

        public void setTabCount​(int tabCount)
        Set the tabCount for this Chunk.
        Parameters:
        tabCount - the tabcount
      • getTabCount

        public int getTabCount()
        Returns the tabCount for this Chunk.
        Returns:
        tabCount
      • setAlignment

        public void setAlignment​(String alignment)
        Returns the alignment for this Chunk.
        Parameters:
        alignment - the alignment
      • getAlignment

        public String getAlignment()
        Return the Alignment for this Chunk
        Returns:
        alignment