Fill out form fields in a word 97-2007 document using POI

337 Views Asked by At

I'm struggling how to read and fill out form fields (text, checkboxes) contained in a .dot document using Apache POI.

Sorry that I do not provide any code snippet but I have absolutely no idea how to read and fill out the fields.

Is there any code example available how to do so?

1

There are 1 best solutions below

0
Abid On

As stated in the comments it's probably not possible with the old .dot format.

But there are existing code samples which handle form fields with the newer xml format:

  1. How to create checkbox and input text fields in docx document?
  2. Problem with processing word document java