Class XPathDeleteCheckboxField

java.lang.Object
org.docx4j.samples.XPathDeleteCheckboxField

public class XPathDeleteCheckboxField extends Object
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 Details

    • XPathDeleteCheckboxField

      public XPathDeleteCheckboxField()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • deleteComplexField

      public static void deleteComplexField(P p)
    • doesRcontainField

      public static boolean doesRcontainField(R r, STFldCharType fldCharType)