Good day.
Please tell me, is there a Word document template in which there is a certain set of fields into which it is necessary to upload the corresponding data: name, date, and so on.
Is it possible in Apache POI to somehow get these fields and write values ​​to them?

Thank you in advance.

  • in short, you can - Senior Pomidor
  • It is possible, it is intended for this. - Vladislav
  • And if in more detail, is there a sample code. - Renat Ahmetshin
  • If you just write a parser where you process each line and compare it. - Yegor Podolyak
  • @RenatAhmetshin better read this tutorialspoint.com/apache_poi_word ... ... - Senior Pomidor

1 answer 1

  1. Here, Java Word (.docx) documents with docx4j is an example of solving a similar problem, but using docx4j.
  2. See also XDocReport - another way to solve your problem.