Class SmartTag
java.lang.Object
com.independentsoft.office.word.customMarkup.SmartTag
- All Implemented Interfaces:
IContentElement,IContentRunContent,IParagraphContent,IRunTrackChangeContent
The Class SmartTag.
-
Constructor Summary
ConstructorsConstructorDescriptionSmartTag()Instantiates a new smart tag.SmartTag(InternalXMLStreamReader reader)Instantiates a new smart tag. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(CustomXmlRun customXmlRun)Adds the.voidAdds the.voidadd(StructuredDocumentTagRun structuredDocumentTagRun)Adds the.voidadd(SimpleField simpleField)Adds the.voidAdds the.voidadd(IParagraphContent contentElement)Adds the.voidAdds the.clone()Gets the content.getName()Gets the name.Gets the namespace.Gets the properties.voidSets the name.voidsetNamespace(String namespace)Sets the namespace.toString()
-
Constructor Details
-
SmartTag
public SmartTag()Instantiates a new smart tag. -
SmartTag
Instantiates a new smart tag.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
add
Adds the.- Parameters:
run- the run
-
add
Adds the.- Parameters:
hyperlink- the hyperlink
-
add
Adds the.- Parameters:
simpleField- the simple field
-
add
Adds the.- Parameters:
smartTag- the smart tag
-
add
Adds the.- Parameters:
customXmlRun- the custom xml run
-
add
Adds the.- Parameters:
structuredDocumentTagRun- the structured document tag run
-
add
Adds the.- Parameters:
contentElement- the content element
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIContentRunContent- Specified by:
clonein interfaceIParagraphContent- Specified by:
clonein interfaceIRunTrackChangeContent- Overrides:
clonein classObject
-
toString
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getNamespace
Gets the namespace.- Returns:
- the namespace
-
setNamespace
Sets the namespace.- Parameters:
namespace- the new namespace
-
getContent
Gets the content.- Returns:
- the content
-
getProperties
Gets the properties.- Returns:
- the properties
-