From koffice-devel Tue Sep 02 16:05:28 2003 From: Nicolas Goutte Date: Tue, 02 Sep 2003 16:05:28 +0000 To: koffice-devel Subject: Re: [PATCH] OOWriter: OASIS is not version 1 X-MARC-Message: https://marc.info/?l=koffice-devel&m=106251887618776 With which OOWriter version did you test your change? Because currently OOWriter 1.0.1 does not like what the OOWriter export filter gives, Tweaking at the version attribute does not any good, however I have not checked yet if it depends on your extension. (In any case, "auto" justify is now given to the filter. I do not know why it works now and why not back when I tested, but that barely matters now.) Have a nice day! On Wednesday 27 August 2003 23:50, David Faure wrote: > On Wednesday 27 August 2003 23:13, Nicolas Goutte wrote: > > The attached patch is for koffice/filter/kword/oowriter > > > > It only writes that the OO document is version 1.0 if there is no (oASIS) > > extension. > > > > The reason behind the patch is that section 1.8.1 of the OO file format > > specifiaction allow the XML document to be read by a validating parser if > > there is a version number known by the reading program. Avoid writing a > > version number means that it is not allowed to use a validating parser. > > Hmm, didn't think about that. > This won't do much though, since styles default to align=auto, it basically > means that the version 1 thing will never be written out. > > OOo is supposed to ignore attributes it doesn't know about, so we're not > really doing anything wrong here, by using our own attribute... > > Do you mean that office-version is really the OOo version, and that it > doesn't create any problem to omit it? In that case we might as well > omit it completely, it feels a bit strange to optionally set it. _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/koffice-devel