Interface Cell

    • Method Detail

      • getColumn

        Column getColumn()
      • getColspan

        int getColspan()
      • getRowspan

        int getRowspan()
      • getText

        java.lang.String getText()
        Returns:
        The text of the cell including substitutions being applied.
      • getSource

        java.lang.String getSource()
        Returns:
        The text of the cell without substitutions being applied.
      • setSource

        void setSource​(java.lang.String source)
        Sets the source of the Cell.
        Parameters:
        source - The source of this Cell, substitutions will still be applied.
      • getStyle

        java.lang.String getStyle()
        Returns the style of this cell. The default is null. Possible values are:
        • null
        • "strong"
        • "emphasis"
        • "monospaced"
        • "header"
        • "literal"
        • "verse"
        • "asciidoc"
        Specified by:
        getStyle in interface StructuralNode
        Returns:
        The style of this cell.
      • setStyle

        void setStyle​(java.lang.String style)
        Sets the style of this cell.
        Specified by:
        setStyle in interface StructuralNode
        Parameters:
        style - Values like asciidoc, verse, literalor header.
        See Also:
        getStyle()
      • getHorizontalAlignment

        Table.HorizontalAlignment getHorizontalAlignment()
        Returns the horizonzal alignment of this cell.
        Returns:
        a constant representing the horizontal alignment.
      • getVerticalAlignment

        Table.VerticalAlignment getVerticalAlignment()
        Returns the vertical alignment of this cell.
        Returns:
        a constant representing the vertical alignment.
      • getInnerDocument

        Document getInnerDocument()
        If the style of a cell is asciidoc the content of the cell is an inner document. This method returns this inner document.
        Returns:
        The inner document if the cell style is asciidoc