Package com.independentsoft.office.word
Class Symbol
java.lang.Object
com.independentsoft.office.word.Symbol
- All Implemented Interfaces:
IContentElement,IRunContent
The Class Symbol.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the character.getFont()Gets the font.voidsetCharacter(String character)Sets the character.voidSets the font.toString()
-
Constructor Details
-
Symbol
public Symbol()Instantiates a new symbol. -
Symbol
Instantiates a new symbol.- Parameters:
character- the characterfont- the font
-
-
Method Details
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIRunContent- Overrides:
clonein classObject
-
toString
-
getCharacter
Gets the character.- Returns:
- the character
-
setCharacter
Sets the character.- Parameters:
character- the new character
-
getFont
Gets the font.- Returns:
- the font
-
setFont
Sets the font.- Parameters:
font- the new font
-