Class TableTableElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • TableTableElement

        public TableTableElement​(OdfFileDom ownerDoc)
        Create the instance of TableTableElement
        Parameters:
        ownerDoc - The type is OdfFileDom
    • Method Detail

      • getTableIsSubTableAttribute

        public Boolean getTableIsSubTableAttribute()
        Receives the value of the ODFDOM attribute representation TableIsSubTableAttribute , See @table:is-sub-table
        Returns:
        - the Boolean , the value or null, if the attribute is not set and no default value defined.
      • setTableIsSubTableAttribute

        public void setTableIsSubTableAttribute​(Boolean tableIsSubTableValue)
        Sets the value of ODFDOM attribute representation TableIsSubTableAttribute , See @table:is-sub-table
        Parameters:
        tableIsSubTableValue - The type is Boolean
      • getTableNameAttribute

        public String getTableNameAttribute()
        Receives the value of the ODFDOM attribute representation TableNameAttribute , See @table:name
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setTableNameAttribute

        public void setTableNameAttribute​(String tableNameValue)
        Sets the value of ODFDOM attribute representation TableNameAttribute , See @table:name
        Parameters:
        tableNameValue - The type is String
      • getTablePrintAttribute

        public Boolean getTablePrintAttribute()
        Receives the value of the ODFDOM attribute representation TablePrintAttribute , See @table:print
        Returns:
        - the Boolean , the value or null, if the attribute is not set and no default value defined.
      • setTablePrintAttribute

        public void setTablePrintAttribute​(Boolean tablePrintValue)
        Sets the value of ODFDOM attribute representation TablePrintAttribute , See @table:print
        Parameters:
        tablePrintValue - The type is Boolean
      • getTablePrintRangesAttribute

        public String getTablePrintRangesAttribute()
        Receives the value of the ODFDOM attribute representation TablePrintRangesAttribute , See @table:print-ranges
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setTablePrintRangesAttribute

        public void setTablePrintRangesAttribute​(String tablePrintRangesValue)
        Sets the value of ODFDOM attribute representation TablePrintRangesAttribute , See @table:print-ranges
        Parameters:
        tablePrintRangesValue - The type is String
      • getTableProtectedAttribute

        public Boolean getTableProtectedAttribute()
        Receives the value of the ODFDOM attribute representation TableProtectedAttribute , See @table:protected
        Returns:
        - the Boolean , the value or null, if the attribute is not set and no default value defined.
      • setTableProtectedAttribute

        public void setTableProtectedAttribute​(Boolean tableProtectedValue)
        Sets the value of ODFDOM attribute representation TableProtectedAttribute , See @table:protected
        Parameters:
        tableProtectedValue - The type is Boolean
      • getTableProtectionKeyAttribute

        public String getTableProtectionKeyAttribute()
        Receives the value of the ODFDOM attribute representation TableProtectionKeyAttribute , See @table:protection-key
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setTableProtectionKeyAttribute

        public void setTableProtectionKeyAttribute​(String tableProtectionKeyValue)
        Sets the value of ODFDOM attribute representation TableProtectionKeyAttribute , See @table:protection-key
        Parameters:
        tableProtectionKeyValue - The type is String
      • getTableProtectionKeyDigestAlgorithmAttribute

        public String getTableProtectionKeyDigestAlgorithmAttribute()
        Receives the value of the ODFDOM attribute representation TableProtectionKeyDigestAlgorithmAttribute , See @table:protection-key-digest-algorithm
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setTableProtectionKeyDigestAlgorithmAttribute

        public void setTableProtectionKeyDigestAlgorithmAttribute​(String tableProtectionKeyDigestAlgorithmValue)
        Sets the value of ODFDOM attribute representation TableProtectionKeyDigestAlgorithmAttribute , See @table:protection-key-digest-algorithm
        Parameters:
        tableProtectionKeyDigestAlgorithmValue - The type is String
      • getTableStyleNameAttribute

        public String getTableStyleNameAttribute()
        Receives the value of the ODFDOM attribute representation TableStyleNameAttribute , See @table:style-name
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setTableStyleNameAttribute

        public void setTableStyleNameAttribute​(String tableStyleNameValue)
        Sets the value of ODFDOM attribute representation TableStyleNameAttribute , See @table:style-name
        Parameters:
        tableStyleNameValue - The type is String
      • getTableTemplateNameAttribute

        public String getTableTemplateNameAttribute()
        Receives the value of the ODFDOM attribute representation TableTemplateNameAttribute , See @table:template-name
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setTableTemplateNameAttribute

        public void setTableTemplateNameAttribute​(String tableTemplateNameValue)
        Sets the value of ODFDOM attribute representation TableTemplateNameAttribute , See @table:template-name
        Parameters:
        tableTemplateNameValue - The type is String
      • getTableUseBandingColumnsStylesAttribute

        public Boolean getTableUseBandingColumnsStylesAttribute()
        Receives the value of the ODFDOM attribute representation TableUseBandingColumnsStylesAttribute , See @table:use-banding-columns-styles
        Returns:
        - the Boolean , the value or null, if the attribute is not set and no default value defined.
      • setTableUseBandingColumnsStylesAttribute

        public void setTableUseBandingColumnsStylesAttribute​(Boolean tableUseBandingColumnsStylesValue)
        Sets the value of ODFDOM attribute representation TableUseBandingColumnsStylesAttribute , See @table:use-banding-columns-styles
        Parameters:
        tableUseBandingColumnsStylesValue - The type is Boolean
      • getTableUseBandingRowsStylesAttribute

        public Boolean getTableUseBandingRowsStylesAttribute()
        Receives the value of the ODFDOM attribute representation TableUseBandingRowsStylesAttribute , See @table:use-banding-rows-styles
        Returns:
        - the Boolean , the value or null, if the attribute is not set and no default value defined.
      • setTableUseBandingRowsStylesAttribute

        public void setTableUseBandingRowsStylesAttribute​(Boolean tableUseBandingRowsStylesValue)
        Sets the value of ODFDOM attribute representation TableUseBandingRowsStylesAttribute , See @table:use-banding-rows-styles
        Parameters:
        tableUseBandingRowsStylesValue - The type is Boolean
      • getTableUseFirstColumnStylesAttribute

        public Boolean getTableUseFirstColumnStylesAttribute()
        Receives the value of the ODFDOM attribute representation TableUseFirstColumnStylesAttribute , See @table:use-first-column-styles
        Returns:
        - the Boolean , the value or null, if the attribute is not set and no default value defined.
      • setTableUseFirstColumnStylesAttribute

        public void setTableUseFirstColumnStylesAttribute​(Boolean tableUseFirstColumnStylesValue)
        Sets the value of ODFDOM attribute representation TableUseFirstColumnStylesAttribute , See @table:use-first-column-styles
        Parameters:
        tableUseFirstColumnStylesValue - The type is Boolean
      • getTableUseFirstRowStylesAttribute

        public Boolean getTableUseFirstRowStylesAttribute()
        Receives the value of the ODFDOM attribute representation TableUseFirstRowStylesAttribute , See @table:use-first-row-styles
        Returns:
        - the Boolean , the value or null, if the attribute is not set and no default value defined.
      • setTableUseFirstRowStylesAttribute

        public void setTableUseFirstRowStylesAttribute​(Boolean tableUseFirstRowStylesValue)
        Sets the value of ODFDOM attribute representation TableUseFirstRowStylesAttribute , See @table:use-first-row-styles
        Parameters:
        tableUseFirstRowStylesValue - The type is Boolean
      • getTableUseLastColumnStylesAttribute

        public Boolean getTableUseLastColumnStylesAttribute()
        Receives the value of the ODFDOM attribute representation TableUseLastColumnStylesAttribute , See @table:use-last-column-styles
        Returns:
        - the Boolean , the value or null, if the attribute is not set and no default value defined.
      • setTableUseLastColumnStylesAttribute

        public void setTableUseLastColumnStylesAttribute​(Boolean tableUseLastColumnStylesValue)
        Sets the value of ODFDOM attribute representation TableUseLastColumnStylesAttribute , See @table:use-last-column-styles
        Parameters:
        tableUseLastColumnStylesValue - The type is Boolean
      • getTableUseLastRowStylesAttribute

        public Boolean getTableUseLastRowStylesAttribute()
        Receives the value of the ODFDOM attribute representation TableUseLastRowStylesAttribute , See @table:use-last-row-styles
        Returns:
        - the Boolean , the value or null, if the attribute is not set and no default value defined.
      • setTableUseLastRowStylesAttribute

        public void setTableUseLastRowStylesAttribute​(Boolean tableUseLastRowStylesValue)
        Sets the value of ODFDOM attribute representation TableUseLastRowStylesAttribute , See @table:use-last-row-styles
        Parameters:
        tableUseLastRowStylesValue - The type is Boolean
      • getXmlIdAttribute

        public String getXmlIdAttribute()
        Receives the value of the ODFDOM attribute representation XmlIdAttribute , See @xml:id
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setXmlIdAttribute

        public void setXmlIdAttribute​(String xmlIdValue)
        Sets the value of ODFDOM attribute representation XmlIdAttribute , See @xml:id
        Parameters:
        xmlIdValue - The type is String
      • accept

        public void accept​(ElementVisitor visitor)
        Description copied from class: OdfElement
        Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.
        Overrides:
        accept in class OdfElement
        Parameters:
        visitor - an instance of DefaultElementVisitor
      • pushTableGrid

        public void pushTableGrid​(org.json.JSONArray tableGrid)
        OH PLEASE DELETE ME AFTER THE API WAS FIXED
      • requireLaterWidthChange

        public void requireLaterWidthChange​(org.json.JSONArray start)
      • isWidthChangeRequired

        public boolean isWidthChangeRequired()
      • hasChangedWidth

        public void hasChangedWidth()
      • getPosition

        public org.json.JSONArray getPosition()
      • pushTableGrid

        public void pushTableGrid​(List<Integer> columnWidths)
        OH PLEASE DELETE ME AFTER THE API WAS FIXED
      • popTableGrid

        public org.json.JSONArray popTableGrid()
        OH PLEASE DELETE ME AFTER THE API WAS FIXED
      • replaceLastTableGrid

        public void replaceLastTableGrid​(org.json.JSONArray tableGrid)
        OH PLEASE DELETE ME AFTER THE API WAS FIXED