Class StyleTableRowPropertiesElement

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

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

  • Constructor Details

    • StyleTableRowPropertiesElement

      public StyleTableRowPropertiesElement(OdfFileDom ownerDoc)
      Create the instance of StyleTableRowPropertiesElement
      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-row-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
    • getFoKeepTogetherAttribute

      public String getFoKeepTogetherAttribute()
      Receives the value of the ODFDOM attribute representation FoKeepTogetherAttribute , See @fo:keep-together
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoKeepTogetherAttribute

      public void setFoKeepTogetherAttribute(String foKeepTogetherValue)
      Sets the value of ODFDOM attribute representation FoKeepTogetherAttribute , See @fo:keep-together
      Parameters:
      foKeepTogetherValue - The type is String
    • getStyleMinRowHeightAttribute

      public String getStyleMinRowHeightAttribute()
      Receives the value of the ODFDOM attribute representation StyleMinRowHeightAttribute , See @style:min-row-height
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleMinRowHeightAttribute

      public void setStyleMinRowHeightAttribute(String styleMinRowHeightValue)
      Sets the value of ODFDOM attribute representation StyleMinRowHeightAttribute , See @style:min-row-height
      Parameters:
      styleMinRowHeightValue - The type is String
    • getStyleRowHeightAttribute

      public String getStyleRowHeightAttribute()
      Receives the value of the ODFDOM attribute representation StyleRowHeightAttribute , See @style:row-height
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleRowHeightAttribute

      public void setStyleRowHeightAttribute(String styleRowHeightValue)
      Sets the value of ODFDOM attribute representation StyleRowHeightAttribute , See @style:row-height
      Parameters:
      styleRowHeightValue - The type is String
    • getStyleUseOptimalRowHeightAttribute

      public Boolean getStyleUseOptimalRowHeightAttribute()
      Receives the value of the ODFDOM attribute representation StyleUseOptimalRowHeightAttribute , See @style:use-optimal-row-height
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setStyleUseOptimalRowHeightAttribute

      public void setStyleUseOptimalRowHeightAttribute(Boolean styleUseOptimalRowHeightValue)
      Sets the value of ODFDOM attribute representation StyleUseOptimalRowHeightAttribute , See @style:use-optimal-row-height
      Parameters:
      styleUseOptimalRowHeightValue - 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