poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mviv <mviv...@gmail.com>
Subject Re: Drop down form field in Word doc
Date Mon, 03 May 2010 16:09:01 GMT

Thanks for your inputs Mark.
I am using HWPF to read a .doc file (Office 2003 format).
I was not able to find anything concrete (in the API docs or on this forum)
regarding this feature. I wanted to ensure that I am not missing something
and using the API as expected. All the FORMTEXT fields in the TextPiece do
have the associated text. It's FORMDROPDOWN which is causing problem for me
right now.


MSB wrote:
> Which version of the file format are you targetting please, the binary
> (.doc) files with HWPF or the xml based (.docx) files with XWPF?
> I have to say that I do not know that this is the case but I do very much
> doubt that it is possible to do what you require. HWPF is an immature api
> that is in need of developers - hint! - and it will not be a trivial task
> to add the required functionality I suspect. XWPF will, if it does not
> already include the necessary support, be much easier to fix as the file
> format is better documented and more accessible.
> Either way, it would be wonderful if you would consider adding this
> feature into the api - assuming that I am correct and it does not exist -
> and contributing the work to the project.
> Yours
> Mark B
> mviv wrote:
>> How can I read a drop down form field from a Word document?
>> When I try to do this, the TextPiece contains FORMDROPDOWN without the
>> selected value. How can I get the value that is selected in the drop
>> down?
>> Thanks.

View this message in context: http://old.nabble.com/Drop-down-form-field-in-Word-doc-tp28434950p28436982.html
Sent from the POI - User mailing list archive at Nabble.com.

To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org

View raw message