Package com.independentsoft.office.odf
Class RubyText
java.lang.Object
com.independentsoft.office.odf.RubyText
Contains an annotation text. It may contain only plain text.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.getStyle()Gets the style for ruby which shall be a style with family of text.getText()Gets an annotation text.voidSets the style for ruby which shall be a style with family of text.voidSets an annotation text.toString()Converts the value of the current RubyText object to its equivalent string representation.
-
Constructor Details
-
RubyText
public RubyText()Initializes a new instance of the RubyText class.
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current RubyText object to its equivalent string representation. -
getStyle
Gets the style for ruby which shall be a style with family of text.- Returns:
- the style
-
setStyle
Sets the style for ruby which shall be a style with family of text.- Parameters:
style- the new style
-
getText
Gets an annotation text.- Returns:
- the text
-
setText
Sets an annotation text.- Parameters:
text- the new text
-