Class StyleSectionPropertiesElement

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

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

  • Constructor Details

    • StyleSectionPropertiesElement

      public StyleSectionPropertiesElement(OdfFileDom ownerDoc)
      Create the instance of StyleSectionPropertiesElement
      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:section-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
    • 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
    • getStyleEditableAttribute

      public Boolean getStyleEditableAttribute()
      Receives the value of the ODFDOM attribute representation StyleEditableAttribute , See @style:editable
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setStyleEditableAttribute

      public void setStyleEditableAttribute(Boolean styleEditableValue)
      Sets the value of ODFDOM attribute representation StyleEditableAttribute , See @style:editable
      Parameters:
      styleEditableValue - The type is Boolean
    • getStyleProtectAttribute

      public String getStyleProtectAttribute()
      Receives the value of the ODFDOM attribute representation StyleProtectAttribute , See @style:protect
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleProtectAttribute

      public void setStyleProtectAttribute(String styleProtectValue)
      Sets the value of ODFDOM attribute representation StyleProtectAttribute , See @style:protect
      Parameters:
      styleProtectValue - 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
    • getTextDontBalanceTextColumnsAttribute

      public Boolean getTextDontBalanceTextColumnsAttribute()
      Receives the value of the ODFDOM attribute representation TextDontBalanceTextColumnsAttribute , See @text:dont-balance-text-columns
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setTextDontBalanceTextColumnsAttribute

      public void setTextDontBalanceTextColumnsAttribute(Boolean textDontBalanceTextColumnsValue)
      Sets the value of ODFDOM attribute representation TextDontBalanceTextColumnsAttribute , See @text:dont-balance-text-columns
      Parameters:
      textDontBalanceTextColumnsValue - 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>
    • newStyleColumnsElement

      public StyleColumnsElement newStyleColumnsElement(int foColumnCountValue)
      Create child element <style:columns>.
      Parameters:
      foColumnCountValue - the Integer value of FoColumnCountAttribute , see @fo:column-count at specification Child element was added in ODF 1.2
      Returns:
      the element <style:columns>
    • newTextNotesConfigurationElement

      public TextNotesConfigurationElement newTextNotesConfigurationElement(String styleNumFormatValue, String textNoteClassValue)
      Create child element <text:notes-configuration>.
      Parameters:
      styleNumFormatValue - the String value of StyleNumFormatAttribute , see @style:num-format at specification
      textNoteClassValue - the String value of TextNoteClassAttribute, see @text:note-class at specification Child element was added in ODF 1.2
      Returns:
      the element <text:notes-configuration>
    • 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