Class CustomXmlRun
java.lang.Object
com.independentsoft.office.word.customMarkup.CustomXmlRun
- All Implemented Interfaces:
IContentElement,IContentRunContent,IParagraphContent,IRunTrackChangeContent
The Class CustomXmlRun.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new custom xml run.CustomXmlRun(InternalXMLStreamReader reader)Instantiates a new custom xml run. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(IParagraphContent contentElement)Adds the.voidAdds the run.voidaddSmartTag(SmartTag smartTag)Adds the smart tag.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
-
CustomXmlRun
public CustomXmlRun()Instantiates a new custom xml run. -
CustomXmlRun
Instantiates a new custom xml run.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
addRun
Adds the run.- Parameters:
run- the run
-
addSmartTag
Adds the smart tag.- Parameters:
smartTag- the smart tag
-
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
-