Class TableTableColumnElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • TableTableColumnElement

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

      • getTableDefaultCellStyleNameAttribute

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

        public void setTableDefaultCellStyleNameAttribute​(String tableDefaultCellStyleNameValue)
        Sets the value of ODFDOM attribute representation TableDefaultCellStyleNameAttribute , See @table:default-cell-style-name
        Parameters:
        tableDefaultCellStyleNameValue - The type is String
      • getTableNumberColumnsRepeatedAttribute

        public Integer getTableNumberColumnsRepeatedAttribute()
        Receives the value of the ODFDOM attribute representation TableNumberColumnsRepeatedAttribute , See @table:number-columns-repeated
        Returns:
        - the Integer , the value or null, if the attribute is not set and no default value defined.
      • setTableNumberColumnsRepeatedAttribute

        public void setTableNumberColumnsRepeatedAttribute​(Integer tableNumberColumnsRepeatedValue)
        Sets the value of ODFDOM attribute representation TableNumberColumnsRepeatedAttribute , See @table:number-columns-repeated
        Parameters:
        tableNumberColumnsRepeatedValue - The type is Integer
      • 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
      • getTableVisibilityAttribute

        public String getTableVisibilityAttribute()
        Receives the value of the ODFDOM attribute representation TableVisibilityAttribute , See @table:visibility
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setTableVisibilityAttribute

        public void setTableVisibilityAttribute​(String tableVisibilityValue)
        Sets the value of ODFDOM attribute representation TableVisibilityAttribute , See @table:visibility
        Parameters:
        tableVisibilityValue - The type is String
      • 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
      • getRepetition

        public int getRepetition()
        Overrides:
        getRepetition in class OdfElement
        Returns:
        the repetition the element represents, by default it is 1
      • isRepeatable

        public boolean isRepeatable()
        Overrides:
        isRepeatable in class OdfElement
        Returns:
        true if the element does represent multiple instances. (only applicable for some elements as cell or row).
      • split

        public TableTableColumnElement split​(int posStart)
        Splitting the element at the given position into two halves
        Overrides:
        split in class OdfElement
        Parameters:
        posStart - The split position. Counting is starting with zero. The start of the second half.
        Returns:
        the new created second element (or if posStart was less than 1 the original element)
      • setVisiblity

        public void setVisiblity​(Boolean show)
        Changes the visibility of the @table:visibility attributes