Reading word template user entered values in java -
i have word template application form (which contains text, dropdowns, checkboxes, date fields..). in web application whenever user starts new process need fill high level data, here need fill of user entered data word template , let user download document. later user takes document offline , fills empty lower level fields in document, whenever done filling upload document application. need read values of each field user entered , store values in database.
can give me direction how achieve using java.
or there better way achieve same other word templates.
-----------------update--------- planning use docx4j library. following higher level steps may follow process
- creating word template using locked content controls
- a unique tag value (w:tag) assigned each content control
- will populate dropdown values , other controls values using docx4j library.
- after user fills form, extract data template using docx4j, considering unique tag value assigned in first step.
the apache openoffice api (based on uno component technology) allows read , manipulate openoffice documents. .doc (not based on xml) formats can use de api convert file odt, turn enabled extract , process data within document.
Comments
Post a Comment