Class DefaultRubyStyle
java.lang.Object
com.independentsoft.office.odf.styles.DefaultStyle
com.independentsoft.office.odf.styles.DefaultRubyStyle
Represents default styles of the ruby style.
-
Field Summary
Fields inherited from class com.independentsoft.office.odf.styles.DefaultStyle
family -
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the DefaultRubyStyle class. -
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 DefaultRubyStyle object to its equivalent string representation.Methods inherited from class com.independentsoft.office.odf.styles.DefaultStyle
getFamily, setFamily, toString
-
Constructor Details
-
DefaultRubyStyle
public DefaultRubyStyle()Initializes a new instance of the DefaultRubyStyle class.
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current DefaultRubyStyle object to its equivalent string representation.- Overrides:
toStringin classDefaultStyle- Returns:
- the string
-
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
-