Class StyleTablePropertiesElement

All Implemented Interfaces:
Serializable, Cloneable, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class StyleTablePropertiesElement extends OdfStylePropertiesBase
DOM implementation of OpenDocument element <style:table-properties>.
See Also:
  • Field Details

  • Constructor Details

    • StyleTablePropertiesElement

      public StyleTablePropertiesElement(OdfFileDom ownerDoc)
      Create the instance of StyleTablePropertiesElement
      Parameters:
      ownerDoc - The type is OdfFileDom
  • Method Details

    • getOdfName

      public OdfName getOdfName()
      Get the element name
      Specified by:
      getOdfName in class OdfElement
      Returns:
      return OdfName the name of element <style:table-properties>.
    • getFoBackgroundColorAttribute

      public String getFoBackgroundColorAttribute()
      Receives the value of the ODFDOM attribute representation FoBackgroundColorAttribute , See @fo:background-color
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoBackgroundColorAttribute

      public void setFoBackgroundColorAttribute(String foBackgroundColorValue)
      Sets the value of ODFDOM attribute representation FoBackgroundColorAttribute , See @fo:background-color
      Parameters:
      foBackgroundColorValue - The type is String
    • getFoBreakAfterAttribute

      public String getFoBreakAfterAttribute()
      Receives the value of the ODFDOM attribute representation FoBreakAfterAttribute , See @fo:break-after
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoBreakAfterAttribute

      public void setFoBreakAfterAttribute(String foBreakAfterValue)
      Sets the value of ODFDOM attribute representation FoBreakAfterAttribute , See @fo:break-after
      Parameters:
      foBreakAfterValue - The type is String
    • getFoBreakBeforeAttribute

      public String getFoBreakBeforeAttribute()
      Receives the value of the ODFDOM attribute representation FoBreakBeforeAttribute , See @fo:break-before
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoBreakBeforeAttribute

      public void setFoBreakBeforeAttribute(String foBreakBeforeValue)
      Sets the value of ODFDOM attribute representation FoBreakBeforeAttribute , See @fo:break-before
      Parameters:
      foBreakBeforeValue - The type is String
    • getFoKeepWithNextAttribute

      public String getFoKeepWithNextAttribute()
      Receives the value of the ODFDOM attribute representation FoKeepWithNextAttribute , See @fo:keep-with-next
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoKeepWithNextAttribute

      public void setFoKeepWithNextAttribute(String foKeepWithNextValue)
      Sets the value of ODFDOM attribute representation FoKeepWithNextAttribute , See @fo:keep-with-next
      Parameters:
      foKeepWithNextValue - The type is String
    • getFoMarginAttribute

      public String getFoMarginAttribute()
      Receives the value of the ODFDOM attribute representation FoMarginAttribute , See @fo:margin
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoMarginAttribute

      public void setFoMarginAttribute(String foMarginValue)
      Sets the value of ODFDOM attribute representation FoMarginAttribute , See @fo:margin
      Parameters:
      foMarginValue - The type is String
    • getFoMarginBottomAttribute

      public String getFoMarginBottomAttribute()
      Receives the value of the ODFDOM attribute representation FoMarginBottomAttribute , See @fo:margin-bottom
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoMarginBottomAttribute

      public void setFoMarginBottomAttribute(String foMarginBottomValue)
      Sets the value of ODFDOM attribute representation FoMarginBottomAttribute , See @fo:margin-bottom
      Parameters:
      foMarginBottomValue - The type is String
    • getFoMarginLeftAttribute

      public String getFoMarginLeftAttribute()
      Receives the value of the ODFDOM attribute representation FoMarginLeftAttribute , See @fo:margin-left
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoMarginLeftAttribute

      public void setFoMarginLeftAttribute(String foMarginLeftValue)
      Sets the value of ODFDOM attribute representation FoMarginLeftAttribute , See @fo:margin-left
      Parameters:
      foMarginLeftValue - The type is String
    • getFoMarginRightAttribute

      public String getFoMarginRightAttribute()
      Receives the value of the ODFDOM attribute representation FoMarginRightAttribute , See @fo:margin-right
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoMarginRightAttribute

      public void setFoMarginRightAttribute(String foMarginRightValue)
      Sets the value of ODFDOM attribute representation FoMarginRightAttribute , See @fo:margin-right
      Parameters:
      foMarginRightValue - The type is String
    • getFoMarginTopAttribute

      public String getFoMarginTopAttribute()
      Receives the value of the ODFDOM attribute representation FoMarginTopAttribute , See @fo:margin-top
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoMarginTopAttribute

      public void setFoMarginTopAttribute(String foMarginTopValue)
      Sets the value of ODFDOM attribute representation FoMarginTopAttribute , See @fo:margin-top
      Parameters:
      foMarginTopValue - The type is String
    • getStyleMayBreakBetweenRowsAttribute

      public Boolean getStyleMayBreakBetweenRowsAttribute()
      Receives the value of the ODFDOM attribute representation StyleMayBreakBetweenRowsAttribute , See @style:may-break-between-rows
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setStyleMayBreakBetweenRowsAttribute

      public void setStyleMayBreakBetweenRowsAttribute(Boolean styleMayBreakBetweenRowsValue)
      Sets the value of ODFDOM attribute representation StyleMayBreakBetweenRowsAttribute , See @style:may-break-between-rows
      Parameters:
      styleMayBreakBetweenRowsValue - The type is Boolean
    • getStylePageNumberAttribute

      public Integer getStylePageNumberAttribute()
      Receives the value of the ODFDOM attribute representation StylePageNumberAttribute , See @style:page-number
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setStylePageNumberAttribute

      public void setStylePageNumberAttribute(Integer stylePageNumberValue)
      Sets the value of ODFDOM attribute representation StylePageNumberAttribute , See @style:page-number
      Parameters:
      stylePageNumberValue - The type is Integer
    • getStyleRelWidthAttribute

      public String getStyleRelWidthAttribute()
      Receives the value of the ODFDOM attribute representation StyleRelWidthAttribute , See @style:rel-width
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleRelWidthAttribute

      public void setStyleRelWidthAttribute(String styleRelWidthValue)
      Sets the value of ODFDOM attribute representation StyleRelWidthAttribute , See @style:rel-width
      Parameters:
      styleRelWidthValue - The type is String
    • getStyleShadowAttribute

      public String getStyleShadowAttribute()
      Receives the value of the ODFDOM attribute representation StyleShadowAttribute , See @style:shadow
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleShadowAttribute

      public void setStyleShadowAttribute(String styleShadowValue)
      Sets the value of ODFDOM attribute representation StyleShadowAttribute , See @style:shadow
      Parameters:
      styleShadowValue - The type is String
    • getStyleWidthAttribute

      public String getStyleWidthAttribute()
      Receives the value of the ODFDOM attribute representation StyleWidthAttribute , See @style:width
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleWidthAttribute

      public void setStyleWidthAttribute(String styleWidthValue)
      Sets the value of ODFDOM attribute representation StyleWidthAttribute , See @style:width
      Parameters:
      styleWidthValue - The type is String
    • getStyleWritingModeAttribute

      public String getStyleWritingModeAttribute()
      Receives the value of the ODFDOM attribute representation StyleWritingModeAttribute , See @style:writing-mode
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleWritingModeAttribute

      public void setStyleWritingModeAttribute(String styleWritingModeValue)
      Sets the value of ODFDOM attribute representation StyleWritingModeAttribute , See @style:writing-mode
      Parameters:
      styleWritingModeValue - The type is String
    • getTableAlignAttribute

      public String getTableAlignAttribute()
      Receives the value of the ODFDOM attribute representation TableAlignAttribute , See @table:align
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableAlignAttribute

      public void setTableAlignAttribute(String tableAlignValue)
      Sets the value of ODFDOM attribute representation TableAlignAttribute , See @table:align
      Parameters:
      tableAlignValue - The type is String
    • getTableBorderModelAttribute

      public String getTableBorderModelAttribute()
      Receives the value of the ODFDOM attribute representation TableBorderModelAttribute , See @table:border-model
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableBorderModelAttribute

      public void setTableBorderModelAttribute(String tableBorderModelValue)
      Sets the value of ODFDOM attribute representation TableBorderModelAttribute , See @table:border-model
      Parameters:
      tableBorderModelValue - The type is String
    • getTableDisplayAttribute

      public Boolean getTableDisplayAttribute()
      Receives the value of the ODFDOM attribute representation TableDisplayAttribute , See @table:display
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setTableDisplayAttribute

      public void setTableDisplayAttribute(Boolean tableDisplayValue)
      Sets the value of ODFDOM attribute representation TableDisplayAttribute , See @table:display
      Parameters:
      tableDisplayValue - The type is Boolean
    • newStyleBackgroundImageElement

      public StyleBackgroundImageElement newStyleBackgroundImageElement()
      Create child element <style:background-image>.

      Child element was added in ODF 1.2

      Returns:
      the element <style:background-image>
    • accept

      public void accept(ElementVisitor visitor)
      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