Class NumberEmbeddedText
java.lang.Object
com.independentsoft.office.odf.styles.NumberEmbeddedText
Represents text that is displayed at one specific position within a number.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the NumberEmbeddedText class. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.intGets the position where text appears.getText()Gets the text that appears.voidsetPosition(int position)Sets the position where text appears.voidSets the text that appears.toString()Converts the value of the current NumberEmbeddedText object to its equivalent string representation.
-
Constructor Details
-
NumberEmbeddedText
public NumberEmbeddedText()Initializes a new instance of the NumberEmbeddedText class.
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current NumberEmbeddedText object to its equivalent string representation. -
getPosition
public int getPosition()Gets the position where text appears.- Returns:
- the position
-
setPosition
public void setPosition(int position)Sets the position where text appears.- Parameters:
position- the new position
-
getText
Gets the text that appears.- Returns:
- the text
-
setText
Sets the text that appears.- Parameters:
text- the new text
-