On Wed, 8 Sep 2010, Thomas P Laford wrote:
Nick, I downloaded the v3.6 source code and looked at the detail of the POIXMLPropertiesTextExtractor class. The method I think I want to emulate is getCustomPropertiesText().
That looks the right place
Alas, the most important piece (getting the custom property value) is TBD.
Yes, seems so. First, I'd suggest you create a simple file with a few custom properties in it. Please upload this to a new bug in bugzilla, along with details of the properties set, so we've got something to test against once the feature is implemented
Next, unzip the file (.xlsx is a zip file of xml files), and track down your custom properties. Take a look and see how they have been stored. Finally, make use of the xmlbeans objects for them (see the getCustomPropertiesText method for how to get them), and get at your required text. The xmlbeans objects very closely map to the xml, so once you can see how it is stored in the xml, it should be easy to get at the bean
Finally, please do then fix up the missing bit of POIXMLPropertiesTextExtractor armed with your knowledge of custom properties, and submit a patch :)
Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
