Class StyleHeaderFooterPropertiesElement

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

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

  • Constructor Details

    • StyleHeaderFooterPropertiesElement

      public StyleHeaderFooterPropertiesElement(OdfFileDom ownerDoc)
      Create the instance of StyleHeaderFooterPropertiesElement
      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:header-footer-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
    • getFoBorderAttribute

      public String getFoBorderAttribute()
      Receives the value of the ODFDOM attribute representation FoBorderAttribute , See @fo:border
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoBorderAttribute

      public void setFoBorderAttribute(String foBorderValue)
      Sets the value of ODFDOM attribute representation FoBorderAttribute , See @fo:border
      Parameters:
      foBorderValue - The type is String
    • getFoBorderBottomAttribute

      public String getFoBorderBottomAttribute()
      Receives the value of the ODFDOM attribute representation FoBorderBottomAttribute , See @fo:border-bottom
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoBorderBottomAttribute

      public void setFoBorderBottomAttribute(String foBorderBottomValue)
      Sets the value of ODFDOM attribute representation FoBorderBottomAttribute , See @fo:border-bottom
      Parameters:
      foBorderBottomValue - The type is String
    • getFoBorderLeftAttribute

      public String getFoBorderLeftAttribute()
      Receives the value of the ODFDOM attribute representation FoBorderLeftAttribute , See @fo:border-left
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoBorderLeftAttribute

      public void setFoBorderLeftAttribute(String foBorderLeftValue)
      Sets the value of ODFDOM attribute representation FoBorderLeftAttribute , See @fo:border-left
      Parameters:
      foBorderLeftValue - The type is String
    • getFoBorderRightAttribute

      public String getFoBorderRightAttribute()
      Receives the value of the ODFDOM attribute representation FoBorderRightAttribute , See @fo:border-right
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoBorderRightAttribute

      public void setFoBorderRightAttribute(String foBorderRightValue)
      Sets the value of ODFDOM attribute representation FoBorderRightAttribute , See @fo:border-right
      Parameters:
      foBorderRightValue - The type is String
    • getFoBorderTopAttribute

      public String getFoBorderTopAttribute()
      Receives the value of the ODFDOM attribute representation FoBorderTopAttribute , See @fo:border-top
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoBorderTopAttribute

      public void setFoBorderTopAttribute(String foBorderTopValue)
      Sets the value of ODFDOM attribute representation FoBorderTopAttribute , See @fo:border-top
      Parameters:
      foBorderTopValue - 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
    • getFoMinHeightAttribute

      public String getFoMinHeightAttribute()
      Receives the value of the ODFDOM attribute representation FoMinHeightAttribute , See @fo:min-height
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoMinHeightAttribute

      public void setFoMinHeightAttribute(String foMinHeightValue)
      Sets the value of ODFDOM attribute representation FoMinHeightAttribute , See @fo:min-height
      Parameters:
      foMinHeightValue - The type is String
    • getFoPaddingAttribute

      public String getFoPaddingAttribute()
      Receives the value of the ODFDOM attribute representation FoPaddingAttribute , See @fo:padding
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoPaddingAttribute

      public void setFoPaddingAttribute(String foPaddingValue)
      Sets the value of ODFDOM attribute representation FoPaddingAttribute , See @fo:padding
      Parameters:
      foPaddingValue - The type is String
    • getFoPaddingBottomAttribute

      public String getFoPaddingBottomAttribute()
      Receives the value of the ODFDOM attribute representation FoPaddingBottomAttribute , See @fo:padding-bottom
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoPaddingBottomAttribute

      public void setFoPaddingBottomAttribute(String foPaddingBottomValue)
      Sets the value of ODFDOM attribute representation FoPaddingBottomAttribute , See @fo:padding-bottom
      Parameters:
      foPaddingBottomValue - The type is String
    • getFoPaddingLeftAttribute

      public String getFoPaddingLeftAttribute()
      Receives the value of the ODFDOM attribute representation FoPaddingLeftAttribute , See @fo:padding-left
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoPaddingLeftAttribute

      public void setFoPaddingLeftAttribute(String foPaddingLeftValue)
      Sets the value of ODFDOM attribute representation FoPaddingLeftAttribute , See @fo:padding-left
      Parameters:
      foPaddingLeftValue - The type is String
    • getFoPaddingRightAttribute

      public String getFoPaddingRightAttribute()
      Receives the value of the ODFDOM attribute representation FoPaddingRightAttribute , See @fo:padding-right
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoPaddingRightAttribute

      public void setFoPaddingRightAttribute(String foPaddingRightValue)
      Sets the value of ODFDOM attribute representation FoPaddingRightAttribute , See @fo:padding-right
      Parameters:
      foPaddingRightValue - The type is String
    • getFoPaddingTopAttribute

      public String getFoPaddingTopAttribute()
      Receives the value of the ODFDOM attribute representation FoPaddingTopAttribute , See @fo:padding-top
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setFoPaddingTopAttribute

      public void setFoPaddingTopAttribute(String foPaddingTopValue)
      Sets the value of ODFDOM attribute representation FoPaddingTopAttribute , See @fo:padding-top
      Parameters:
      foPaddingTopValue - The type is String
    • getStyleBorderLineWidthAttribute

      public String getStyleBorderLineWidthAttribute()
      Receives the value of the ODFDOM attribute representation StyleBorderLineWidthAttribute , See @style:border-line-width
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleBorderLineWidthAttribute

      public void setStyleBorderLineWidthAttribute(String styleBorderLineWidthValue)
      Sets the value of ODFDOM attribute representation StyleBorderLineWidthAttribute , See @style:border-line-width
      Parameters:
      styleBorderLineWidthValue - The type is String
    • getStyleBorderLineWidthBottomAttribute

      public String getStyleBorderLineWidthBottomAttribute()
      Receives the value of the ODFDOM attribute representation StyleBorderLineWidthBottomAttribute , See @style:border-line-width-bottom
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleBorderLineWidthBottomAttribute

      public void setStyleBorderLineWidthBottomAttribute(String styleBorderLineWidthBottomValue)
      Sets the value of ODFDOM attribute representation StyleBorderLineWidthBottomAttribute , See @style:border-line-width-bottom
      Parameters:
      styleBorderLineWidthBottomValue - The type is String
    • getStyleBorderLineWidthLeftAttribute

      public String getStyleBorderLineWidthLeftAttribute()
      Receives the value of the ODFDOM attribute representation StyleBorderLineWidthLeftAttribute , See @style:border-line-width-left
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleBorderLineWidthLeftAttribute

      public void setStyleBorderLineWidthLeftAttribute(String styleBorderLineWidthLeftValue)
      Sets the value of ODFDOM attribute representation StyleBorderLineWidthLeftAttribute , See @style:border-line-width-left
      Parameters:
      styleBorderLineWidthLeftValue - The type is String
    • getStyleBorderLineWidthRightAttribute

      public String getStyleBorderLineWidthRightAttribute()
      Receives the value of the ODFDOM attribute representation StyleBorderLineWidthRightAttribute , See @style:border-line-width-right
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleBorderLineWidthRightAttribute

      public void setStyleBorderLineWidthRightAttribute(String styleBorderLineWidthRightValue)
      Sets the value of ODFDOM attribute representation StyleBorderLineWidthRightAttribute , See @style:border-line-width-right
      Parameters:
      styleBorderLineWidthRightValue - The type is String
    • getStyleBorderLineWidthTopAttribute

      public String getStyleBorderLineWidthTopAttribute()
      Receives the value of the ODFDOM attribute representation StyleBorderLineWidthTopAttribute , See @style:border-line-width-top
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleBorderLineWidthTopAttribute

      public void setStyleBorderLineWidthTopAttribute(String styleBorderLineWidthTopValue)
      Sets the value of ODFDOM attribute representation StyleBorderLineWidthTopAttribute , See @style:border-line-width-top
      Parameters:
      styleBorderLineWidthTopValue - The type is String
    • getStyleDynamicSpacingAttribute

      public Boolean getStyleDynamicSpacingAttribute()
      Receives the value of the ODFDOM attribute representation StyleDynamicSpacingAttribute , See @style:dynamic-spacing
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setStyleDynamicSpacingAttribute

      public void setStyleDynamicSpacingAttribute(Boolean styleDynamicSpacingValue)
      Sets the value of ODFDOM attribute representation StyleDynamicSpacingAttribute , See @style:dynamic-spacing
      Parameters:
      styleDynamicSpacingValue - The type is Boolean
    • 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
    • getSvgHeightAttribute

      public String getSvgHeightAttribute()
      Receives the value of the ODFDOM attribute representation SvgHeightAttribute , See @svg:height
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgHeightAttribute

      public void setSvgHeightAttribute(String svgHeightValue)
      Sets the value of ODFDOM attribute representation SvgHeightAttribute , See @svg:height
      Parameters:
      svgHeightValue - The type is String
    • 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