开发者

Read form data from doc or rtf file with java

开发者 https://www.devze.com 2023-03-30 06:49 出处:网络
i have a word document with a form that is filled by users and , after that, it is saved开发者_C百科. I would like to access form field data from a Java application in order to automatize some busines

i have a word document with a form that is filled by users and , after that, it is saved开发者_C百科. I would like to access form field data from a Java application in order to automatize some business process. I have tested Apache POI but it is unabled to access form elements. Is there some api to access form element data with java?


You can use: Class FFDataBaseAbstractType (org.apache.poi.hwpf.model.types).

The FFData structure specifies form field data for a text box, check box, or drop-down list box.


You may try Aspose.Words for Java which allows you to access form fields and data in Java applications. The API is quite simple and easy to use. The component is a simple Jar file which is easy to deploy with your application. Also note that you do not need to install MS Word in order to use this component. Please see if this might help in your scenario.

Disclosure: I work as developer evangelist at Aspose.

0

精彩评论

暂无评论...
验证码 换一张
取 消