Class SimpleField
java.lang.Object
com.independentsoft.office.word.fields.SimpleField
- All Implemented Interfaces:
IContentElement,IParagraphContent
The Class SimpleField.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new simple field.SimpleField(InternalXMLStreamReader reader)Instantiates a new simple field.SimpleField(Field field)Instantiates a new simple field.SimpleField(String codes)Instantiates a new simple field. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the.voidadd(IParagraphContent contentElement)Adds the.voidAdds the.clone()getCodes()Gets the codes.Gets the content.getDirty()Gets the dirty.getField()Gets the field.getLock()Gets the lock.voidSets the codes.voidsetDirty(ExtendedBoolean dirty)Sets the dirty.voidSets the field.voidsetLock(ExtendedBoolean lockfield)Sets the lock.toString()
-
Constructor Details
-
SimpleField
public SimpleField()Instantiates a new simple field. -
SimpleField
Instantiates a new simple field.- Parameters:
field- the field
-
SimpleField
Instantiates a new simple field.- Parameters:
codes- the codes
-
SimpleField
Instantiates a new simple field.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
add
Adds the.- Parameters:
run- the run
-
add
Adds the.- 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 interfaceIParagraphContent- Overrides:
clonein classObject
-
toString
-
getField
Gets the field.- Returns:
- the field
-
setField
Sets the field.- Parameters:
field- the new field
-
getContent
Gets the content.- Returns:
- the content
-
getDirty
Gets the dirty.- Returns:
- the dirty
-
setDirty
Sets the dirty.- Parameters:
dirty- the new dirty
-
getLock
Gets the lock.- Returns:
- the lock
-
setLock
Sets the lock.- Parameters:
lockfield- the new lock
-
getCodes
Gets the codes.- Returns:
- the codes
-
setCodes
Sets the codes.- Parameters:
codes- the new codes
-