> Hi, > > I'm busy extending some of my tests for POI and I have a couple of > questions: > > 1. In the event listener, is it possible to get the name of the style > that is assigned to a paragraph? > > 2. Is it possible to get text alignment (i.e. left, right, center, > justify) from the event listener? > > I'm trying to see how far HDF is down the line and how much development > it would take to get HDF far enough to convince my client that it is usable. > > ~ Leon >
Hi Leon, I am the original author of HDF. I am very interested in you contributing to the HDF project. However, If all you want to do is get the text from Word documents, I wrote an extremely lightweight library that uses POI to do that for my thesis research. You can download it at http://www.textmining.org. In HDF, All of the functionality is there to get the styles, lists, headers, footers, and tables. If you are interested in these you may want to look at the org.apache.poi.hdf.extractor.WordDocument class. It is my original contribution and it is much more stable than the model package classes. It will take a Word document and convert it to xml. Including all of the styles and text. It is possible to get the name of the styles, but HDF does not have that functionality. It wouldn't be too hard to add. Let me know how you proceed and I will try to help. Also, most of the POI committers are willing to do consulting work on the side. This sometimes works better because time may be an issue and we know the code better than anyone. One of the reasons that HDF is in scratchpad because the code is ugly and there isn't much documentation :-) Ryan Ackley --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
