On Tue, 2002-04-09 at 03:58, Sven Kuenzler wrote: > > | 7813|New|Maj|2002-04-07|[PATCH] HSSF Serializer support new Gnumeric > > 1.04+| > > > > Give it a try and let me know. Otherwise just encapsulate cell values > > in <Content></Content> tags. (thats what changed and understandably > > broke HSSF Serializer) > > > > The patch makes both work. > > Yes that works with my files. Thanks! >
great > However, the new version seems pickier about the document model? > I have a XSL stylesheet generated file which worked with the old serializer. > The updated version gives the following message: > > java.io.IOException: missing Format attribute > ... ouch.. . I'll fix that. (backward compatibility problem). > > Where does it expect Format attributes? > its looking for a "format" on the style tag. Format="General" should work for now. > Also, I noted that the PrintInformation is not serialized? I'd like to have > my document printed in landscape format and scaled to fit 1 page. Not > possible yet? > Nope, you should consider contributing a patch. -Andy > Sven > > > -- http://www.superlinksoftware.com http://jakarta.apache.org/poi - port of Excel/Word/OLE 2 Compound Document 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
