Class RubyProperties
java.lang.Object
com.independentsoft.office.odf.styles.RubyProperties
Represents formatting properties for ruby elements.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets the horizontal alignment of the ruby text in relationship to the ruby base.Gets the vertical position of the ruby text in relationship to the ruby base.voidsetAlignment(RubyAlignment alignment)Sets the horizontal alignment of the ruby text in relationship to the ruby base.voidsetPosition(RubyPosition position)Sets the vertical position of the ruby text in relationship to the ruby base.toString()Converts the value of the current RubyProperties object to its equivalent string representation.
-
Constructor Details
-
RubyProperties
public RubyProperties()Initializes a new instance of the RubyProperties class.
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current RubyProperties object to its equivalent string representation. -
getPosition
Gets the vertical position of the ruby text in relationship to the ruby base.- Returns:
- the position
-
setPosition
Sets the vertical position of the ruby text in relationship to the ruby base.- Parameters:
position- the new position
-
getAlignment
Gets the horizontal alignment of the ruby text in relationship to the ruby base.- Returns:
- the alignment
-
setAlignment
Sets the horizontal alignment of the ruby text in relationship to the ruby base.- Parameters:
alignment- the new alignment
-