My recommendation is that we follow the development evolution that the other POI components have followed. Each started out kinda read only, morphed into doing a bit more write than read and then efficiency (the event-based stuff) came MUCH much later. Might sound kinda unambitious but its worked up to now (less of a plan then just the pattern that kinda evolved).
IMO: First step is structuring this into an object model instead of straight utility. Make it use the standard library functions that exist in POI - POIFS vs the NewOleFile and LittleEndian instead of Util... Then we work on simple writing functions verifying as we go along that Word can still read the file. Most things started out with a read only version then quickly become *more write then read* then re-generalized then became more efficient.... But thats just my recommendation... You're pretty dern bright to work through all that and figure out FO! So I'm guessing whatever direction you think is good will work! If you think we should start off with an event based API -- works for me.. For writing we'll need a DOMish API, but either way I'm far more confident now that we'll get this done by late April/early May then I ever was before! Thanks for joining us! -Andy On Sun, 2002-02-24 at 01:01, Said Ackley wrote: > Andy, > > I just got CVS going. I am going to take a look at the POI stuff and try to > add javadoc comments to all of my legacy code. Also I will strip out the > XSL-FO specific code and strip it down to just the Word data structure. > > I could replace the XSL-FO stuff with an event-style interface with > functions like onSectionOpen(SEP sep), onParagraphOpen(PAP pap), > onTableOpen(TAP tap), onCharacterRunOpen(CHP chp) and put all of the XSL-FO > stuff into an implementation of this interface. Not sure how you want to > proceed on that so for now I will just stick with commenting. > > Ryan > > ----- Original Message ----- > From: "Andrew C. Oliver" <[EMAIL PROTECTED]> > To: "Said Ackley" <[EMAIL PROTECTED]> > Cc: "POI Development" <[EMAIL PROTECTED]> > Sent: Saturday, February 23, 2002 10:49 PM > Subject: HDF > > > > Hi, > > > > Not only are the sources in CVS now but I did a little work on getting > > them to use POIFS.. Check it out and let me know what you think > > > > -Andy > > -- > > www.superlinksoftware.com > > www.sourceforge.net/projects/poi - port of Excel format to java > > http://developer.java.sun.com/developer/bugParade/bugs/4487555.html > > - fix java generics! > > > > > > The avalanche has already started. It is too late for the pebbles to > > vote. > > -Ambassador Kosh > > > -- www.superlinksoftware.com www.sourceforge.net/projects/poi - port of Excel format to java http://developer.java.sun.com/developer/bugParade/bugs/4487555.html - fix java generics! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh