Class TableTableRowElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • TableTableRowElement

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

      • getOdfName

        public OdfName getOdfName()
        Get the element name
        Specified by:
        getOdfName in class OdfElement
        Returns:
        return OdfName the name of element {
      • getTableDefaultCellStyleNameAttribute

        public String getTableDefaultCellStyleNameAttribute()
        Receives the value of the ODFDOM attribute representation TableDefaultCellStyleNameAttribute , See {
        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 {
        Parameters:
        tableDefaultCellStyleNameValue - The type is String
      • getTableNumberRowsRepeatedAttribute

        public Integer getTableNumberRowsRepeatedAttribute()
        Receives the value of the ODFDOM attribute representation TableNumberRowsRepeatedAttribute , See {
        Returns:
        - the Integer , the value or null, if the attribute is not set and no default value defined.
      • setTableNumberRowsRepeatedAttribute

        public void setTableNumberRowsRepeatedAttribute​(Integer tableNumberRowsRepeatedValue)
        Sets the value of ODFDOM attribute representation TableNumberRowsRepeatedAttribute , See {
        Parameters:
        tableNumberRowsRepeatedValue - The type is Integer
      • getTableStyleNameAttribute

        public String getTableStyleNameAttribute()
        Receives the value of the ODFDOM attribute representation TableStyleNameAttribute , See {
        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 {
        Parameters:
        tableStyleNameValue - The type is String
      • getTableVisibilityAttribute

        public String getTableVisibilityAttribute()
        Receives the value of the ODFDOM attribute representation TableVisibilityAttribute , See {
        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 {
        Parameters:
        tableVisibilityValue - The type is String
      • getXmlIdAttribute

        public String getXmlIdAttribute()
        Receives the value of the ODFDOM attribute representation XmlIdAttribute , See {
        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 {
        Parameters:
        xmlIdValue - The type is String
      • newTableCoveredTableCellElement

        public TableCoveredTableCellElement newTableCoveredTableCellElement​(double officeValueValue,
                                                                            String officeValueTypeValue)
        Create child element {
        Parameters:
        officeValueValue - the Double value * of OfficeValueAttribute, see {
        officeValueTypeValue - the String value * of OfficeValueTypeAttribute , see {
        Returns:
        the element {
      • newTableTableCellElement

        public TableTableCellElement newTableTableCellElement​(double officeValueValue,
                                                              String officeValueTypeValue)
        Create child element {
        Parameters:
        officeValueValue - the Double value * of OfficeValueAttribute, see {
        officeValueTypeValue - the String value * of OfficeValueTypeAttribute , see {
        Returns:
        the element {
      • 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
      • setVisiblity

        public void setVisiblity​(Boolean show)
        Changes the visibility of the @table:visibility attributes
      • 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).
      • getRepetition

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

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