-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Any chance that I would manage to convince you to use the approach outlined in this post for the importer of Lotus WordPro and/or iWorks Pages? http://lists.ximian.com/pipermail/openoffice/2004-October/000556.html
It is very tempting to use XSLT transformations when one converts from one XML to other, but such a transformation does not necessarily understand difference in concepts that are used in different word processors. For example, try to imagine the difference between our page properties and sections in MSWord documents. The proprietary file formats somehow reflect the internal way of stocking the piece-table and this is different for each application. The following sequence seems the most appropriate in converting documents: 1) Parse the document and gather all provided information. 2) Process the information into an abstract interface that differentiates different hierarchy of elements (span properties, paragraph properties, section properties, page properties, document properties) 3) Produce SAX messages in ODT format from this (including automatic styles and Co). This last part is already done in writerperfect and can be happily reused for any importer possible that produces an interface described above. Cheers Fridrich Stefan Taxhet wrote: > Hi, > > michael meeks wrote: > >> On Fri, 2006-04-28 at 16:50 +0200, Kai Ahrens wrote: >> >>> this seems to be an ideal task for somebody with >>> XSLT skills. We should IMO focus on this technique >>> and add it to the required skill set. I really >>> appreciate Michael to be a mentor of this project. >> >>> If some XSLT knowledge is required, Svante (SUS) >>> may assist in this case or even be a Mentor/CoMentor >>> for this project. >> >> So - I'm not a fan of XSLT for any given problem - but I guess it's >> nice to have some of this separable from OO.o - though, how well XSLT >> will perform & work across the zip structure with multiple streams I >> don't know. >> >> Either way - it'd be great to have Svante co-mentor this, > > Obviously my message should have gone to the writer project. > > I added the project to the list. > > Greetings > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEWddFu9a1imXPdA8RAus9AJ9Nacum22JWVKtsqnUp/Ms5oN0cNgCfS46S X5Jt+qgyA1I83xE73qjUiCE= =zcup -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
