From koffice-devel Wed Jun 19 15:29:34 2002 From: David Faure Date: Wed, 19 Jun 2002 15:29:34 +0000 To: koffice-devel Subject: Re: support for openoffice xml format. X-MARC-Message: https://marc.info/?l=koffice-devel&m=102450062518408 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 17 June 2002 22:02, Nicolas Goutte wrote: > On Monday 17 June 2002 16:58, Holger Schröder wrote: > > Hi, > > > (...) > > > > the stuff to do is mainly adapting the loadXML and saveXML methods to > > recognize not only the koffice tags, but also the openoffice ones. > > besides that the embedding of one application into another has to be > > extended to not depend on partXXX -like names of the dirs in the zip. > > I suppose that it would be wiser to create other methods to load and save > OpenOffice files. I want to add my voice to this. Yes, better add them into the same files, as different methods. Branches are a maintainance mess, don't go that way. > We will still have to load and save in the current KOffice format even in > KOffice 1.3, so the current code would be perhaps easier to maintain in future > if you would not mix the two file formats. Good point. > Additionaly, loadXML and saveXML do not the whole job, as there are many other > methods to help them to save things (down to something like > KoPictureKey::save ) Yes, all helper methods need to exist in both variants. - or the load method can find out which tags are there, but this is slightly slower (depending on which tag it looks for first, which would have to change when switching the native format) and possibly error-prone. It's quite funny though - there are two approaches to this. The usual company/government approach, which is to make a study and decide on a common format, then start hacking, and there's the opensource approach: start hacking, see how it goes. ;-) I like the fact that both are happening though. Your code and experience will provide very interesting input to the study and definition of the standard format. - -- David FAURE, david@mandrakesoft.com, faure@kde.org http://people.mandrakesoft.com/~david/ Contributing to: http://www.konqueror.org/, http://www.koffice.org/ KOffice-1.2-beta2 is coming very shortly... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9EKNe72KcVAmwbhARApIrAJ0QsqEB2EmrWeTqT2hGc8UCyWH3rACfbF6k 3o8xheeg/iyxhkdZ7zo5s7I= =vhzj -----END PGP SIGNATURE----- _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/koffice-devel