Package org.docx4j.model.fields
Class FieldUpdater
java.lang.Object
org.docx4j.model.fields.FieldUpdater
Refreshes the values of certain fields in the
docx (currently DOCPROPERTY and DOCVARIABLE only).
(For MERGEFIELD, see FieldsMailMerge)
Do this whether they are simple or complex.
This updates the docx. If you don't want to do
that, apply it to a clone instead.
- Author:
- jharrop
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidsetSimpleFieldConent(R r, String val) voidupdate(boolean processHeadersAndFooters) voidupdateComplex(JaxbXmlPart part) voidupdatePart(JaxbXmlPart part) voidupdateSimple(JaxbXmlPart part)
-
Constructor Details
-
FieldUpdater
-
-
Method Details
-
update
- Throws:
Docx4JException
-
updatePart
- Throws:
Docx4JException
-
updateSimple
- Throws:
Docx4JException
-
setSimpleFieldConent
-
updateComplex
- Throws:
Docx4JException
-