Hey guys, I'm new to the concept of working with with files outside of simple text and pictures. I have more experience in C++ than Java. I am writing a program that so far is able to extract plain text out of a pdf using pdfbox. My next step, once I figure it out, will be to parse the extracted text into a map. For now I just have a hard-coded map of data. The map contains things such as firstName, lastName, address, dob, etc. I would like to be able to insert that data into an existing word template that has fields to enter data and titles of fields above them. I did not create the template, but I do know that it's .dot format (MS Word 2003). I successfully saved it as .docx and .rtf without losing the template formatting. I've been able to inject data into .rtf version using jrtf library by replacing %%variable%% with the data from the map; however, it doesn't give me an ability to manipulate check boxes... and it's just a hack-it way of doing things anyways, since jrtf doesn't support full editing of existing rtf files. I am wondering, if docx4j is the right tool for what I'm trying to accomplish and how I would go about it. You have to forgive me, but I've spent 4 days of nonstop reading through bunch of documentation, and at this point I just want some sane people to help me out a little bit.
As a side note: I absolutely do not care what document type my templates will be in the end, as long as they're printable in the original format. I'm just trying to help out our clerical people to lighten their load by not having to re-enter the information from the pdf forms into these word template forms we got.