Class RubyProperties

java.lang.Object
com.independentsoft.office.odf.styles.RubyProperties

public class RubyProperties extends Object
Represents formatting properties for ruby elements.
  • Constructor Details

    • RubyProperties

      public RubyProperties()
      Initializes a new instance of the RubyProperties class.
  • Method Details

    • clone

      public RubyProperties clone()
      Creates a new object that is a deep copy of the current instance.
      Overrides:
      clone in class Object
      Returns:
      A new object that is a copy of this instance.
    • toString

      public String toString()
      Converts the value of the current RubyProperties object to its equivalent string representation.
      Overrides:
      toString in class Object
      Returns:
      the string
    • getPosition

      public RubyPosition getPosition()
      Gets the vertical position of the ruby text in relationship to the ruby base.
      Returns:
      the position
    • setPosition

      public void setPosition(RubyPosition position)
      Sets the vertical position of the ruby text in relationship to the ruby base.
      Parameters:
      position - the new position
    • getAlignment

      public RubyAlignment getAlignment()
      Gets the horizontal alignment of the ruby text in relationship to the ruby base.
      Returns:
      the alignment
    • setAlignment

      public void setAlignment(RubyAlignment alignment)
      Sets the horizontal alignment of the ruby text in relationship to the ruby base.
      Parameters:
      alignment - the new alignment