Package org.docx4j.samples
Class XPathDeleteCheckboxField
java.lang.Object
org.docx4j.samples.XPathDeleteCheckboxField
This deletes complex fields of type checkBox.
It assumes there is only one complex field per paragraph.
It also assumes that the run which begins the field doesn't have any wanted content before the fldChar begin.
Similarly, it assumes that the run which ends the field doesn't have any wanted content after the fldChar end.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic booleandoesRcontainField(R r, STFldCharType fldCharType) static void
-
Constructor Details
-
XPathDeleteCheckboxField
public XPathDeleteCheckboxField()
-
-
Method Details
-
main
- Throws:
Exception
-
deleteComplexField
-
doesRcontainField
-