Package org.docx4j.model.fields
Class FieldUpdater
java.lang.Object
org.docx4j.model.fields.FieldUpdater
public class FieldUpdater
extends java.lang.Object
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 Constructor Description FieldUpdater(WordprocessingMLPackage wordMLPackage) -
Method Summary
Modifier and Type Method Description voidupdate(boolean processHeadersAndFooters)voidupdateComplex(JaxbXmlPart part)voidupdatePart(JaxbXmlPart part)voidupdateSimple(JaxbXmlPart part)
-
Constructor Details
-
Method Details
-
update
- Throws:
Docx4JException
-
updatePart
- Throws:
Docx4JException
-
updateSimple
- Throws:
Docx4JException
-
updateComplex
- Throws:
Docx4JException
-