poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MSB <markbrd...@tiscali.co.uk>
Subject Re: reading the drop down list cells
Date Tue, 12 Jan 2010 16:42:27 GMT

I have never needed to do anything like this and do not know the answer.
Hoever, it looks as though you need to get at the DVRecord for the
workbook/worksheet, I am not too sure which structure it is associated with
yet but I would guess the latter. The first way I have seen to gain access
to this record is the createDVRecord() method of the HSSFDataValidation
class but that method is not static and so you need an instance of the
HSSFDataValidation class and I cannot see how to get at that currently. If
you have a good search through the javadocs for methods that return a
DVRecord, that should be a good place to start I think. Hopefully, one of
the developers who knows the structure far better than I will respond soon.

Will keep looking myself and if anything else presents itself, I will post


Mark B

VK123 wrote:
> When reading the spreadsheet how to identify the cell containing a drop 
> down list. After identifying  I need to retrieve all the values in the 
> drop down list.
> Also when writing in to the existing spreadsheet I want to update the 
> selected value in the drop down list cell.
> Can some one please point me in the right on how to do these tasks using 
> POI.
> Regards,
> Vijayakumar Gowdaman
> ---
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and delete this e-mail. Any
> unauthorized copying, disclosure or distribution of the material in this
> e-mail is strictly forbidden.
> Please refer to http://www.db.com/en/content/eu_disclosures.htm for
> additional EU corporate and regulatory disclosures.

View this message in context: http://old.nabble.com/reading-the-drop-down-list-cells-tp27129805p27130460.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