java.lang.Object
com.independentsoft.office.word.customMarkup.SmartTag
All Implemented Interfaces:
IContentElement, IContentRunContent, IParagraphContent, IRunTrackChangeContent

public class SmartTag extends Object implements IContentRunContent
The Class SmartTag.
  • Constructor Details

  • Method Details

    • add

      public void add(Run run)
      Adds the.
      Parameters:
      run - the run
    • add

      public void add(Hyperlink hyperlink)
      Adds the.
      Parameters:
      hyperlink - the hyperlink
    • add

      public void add(SimpleField simpleField)
      Adds the.
      Parameters:
      simpleField - the simple field
    • add

      public void add(SmartTag smartTag)
      Adds the.
      Parameters:
      smartTag - the smart tag
    • add

      public void add(CustomXmlRun customXmlRun)
      Adds the.
      Parameters:
      customXmlRun - the custom xml run
    • add

      public void add(StructuredDocumentTagRun structuredDocumentTagRun)
      Adds the.
      Parameters:
      structuredDocumentTagRun - the structured document tag run
    • add

      public void add(IParagraphContent contentElement)
      Adds the.
      Parameters:
      contentElement - the content element
    • getContentElements

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

      public SmartTag clone()
      Specified by:
      clone in interface IContentElement
      Specified by:
      clone in interface IContentRunContent
      Specified by:
      clone in interface IParagraphContent
      Specified by:
      clone in interface IRunTrackChangeContent
      Overrides:
      clone in class Object
    • toString

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

      public String getName()
      Gets the name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets the name.
      Parameters:
      name - the new name
    • getNamespace

      public String getNamespace()
      Gets the namespace.
      Returns:
      the namespace
    • setNamespace

      public void setNamespace(String namespace)
      Sets the namespace.
      Parameters:
      namespace - the new namespace
    • getContent

      public List<IParagraphContent> getContent()
      Gets the content.
      Returns:
      the content
    • getProperties

      public List<SmartTagProperty> getProperties()
      Gets the properties.
      Returns:
      the properties