Class StyleRubyPropertiesElement

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

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

  • Constructor Details

    • StyleRubyPropertiesElement

      public StyleRubyPropertiesElement(OdfFileDom ownerDoc)
      Create the instance of StyleRubyPropertiesElement
      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:ruby-properties>.
    • getStyleRubyAlignAttribute

      public String getStyleRubyAlignAttribute()
      Receives the value of the ODFDOM attribute representation StyleRubyAlignAttribute , See @style:ruby-align
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleRubyAlignAttribute

      public void setStyleRubyAlignAttribute(String styleRubyAlignValue)
      Sets the value of ODFDOM attribute representation StyleRubyAlignAttribute , See @style:ruby-align
      Parameters:
      styleRubyAlignValue - The type is String
    • getStyleRubyPositionAttribute

      public String getStyleRubyPositionAttribute()
      Receives the value of the ODFDOM attribute representation StyleRubyPositionAttribute , See @style:ruby-position
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleRubyPositionAttribute

      public void setStyleRubyPositionAttribute(String styleRubyPositionValue)
      Sets the value of ODFDOM attribute representation StyleRubyPositionAttribute , See @style:ruby-position
      Parameters:
      styleRubyPositionValue - The type is String
    • 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