Class StyleSectionPropertiesElement

    • Constructor Detail

      • StyleSectionPropertiesElement

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

      • 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
      • 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>
      • 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