Glad you did not misunderstand what I wrote. I worried that you may think I was having a dig at you and I was not; what I really wanted to do was encourage you to help develop HWPF if you have the time.
Fully appreciate what you have to say re OpenOffice and I think that POI is about the only open source option available at the moment. All the best with your project which does sound interesting I must admit. Yours Mark B. mstocker wrote: > > MSB <markbrdsly <at> tiscali.co.uk> writes: > >> >> >> In HWPF's defence, > > No need. I am truly appreciative that what works works. I am fully > cognizant > that the underlying file is undocumented and crazy. > > It is a bit frustrating that the code is in some places as poor as it is, > outside of the refactoring you mentioned seeing all these unused > variables, > and this is a pattern that repeats makes the code scarier and hard to > follow. > All of which is unfortunate since it mostly works and that Ryan dude > certainly > put a bunch of work in to get it to that stage but I think when he left > the > project he took some important stuff that resided only his head with him. > > I did look into OpenOffice but it really doesn't seem a good solution for > what > my goal is. > > I want a pure Java library, that I can use in Tomcat, so that when users > upload Word docs I can (a) extract content (which is done) and (b) render > the > docs into PDFs for later viewing. And it is the latter goal which I am > working > on currently. So all in all I'd rather not install other applications or > have > to use automation of some variety. > > It (my work) actually is working pretty well (mostly) with POI and iText > except for these issues, the table one is unfortunate because where a > table > with no drawn borders has been used for formatting currently it ends up > with a > border around it. I think I may have found something of use in > TableDescriptor > though now. I'm still experimenting but the "unused" field seems to have > some > bearing on styles and borders. > > For what it's worth when I am done I am going to make a free open-source > project of my library because I think it would be useful (creating PDFs > from > Word without any automation seems a good thing at least to me). And I > think I > am going to work on some of this HWPF stuff as I can as well. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://www.nabble.com/HWPF---table-borders-and-document-colors-tp23967926p23987160.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
