Class Symbol

java.lang.Object
com.independentsoft.office.word.Symbol
All Implemented Interfaces:
IContentElement, IRunContent

public class Symbol extends Object implements IRunContent
The Class Symbol.
  • Constructor Details

    • Symbol

      public Symbol()
      Instantiates a new symbol.
    • Symbol

      public Symbol(String character, String font)
      Instantiates a new symbol.
      Parameters:
      character - the character
      font - the font
  • Method Details

    • getContentElements

      public List<IContentElement> getContentElements()
      Specified by:
      getContentElements in interface IContentElement
    • clone

      public Symbol clone()
      Specified by:
      clone in interface IContentElement
      Specified by:
      clone in interface IRunContent
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getCharacter

      public String getCharacter()
      Gets the character.
      Returns:
      the character
    • setCharacter

      public void setCharacter(String character)
      Sets the character.
      Parameters:
      character - the new character
    • getFont

      public String getFont()
      Gets the font.
      Returns:
      the font
    • setFont

      public void setFont(String font)
      Sets the font.
      Parameters:
      font - the new font