On 28.01.2014 13:47, Mayur wrote:
Hi,

I am very new to the OpenOffice code, and need some help understanding the
open-xml handling code. Could someone please answer the following
questions?

  i. There seem to be two distinct pieces of code that do open-xml parsing
in different ways. There's one part in "writerfilter" that has some
generated code (xslt based) that provides factories and classes for
creating different object types. And then, for sc and sd, all of the
parsing code is in the "oox" module and seems to be hand-written. Why is
that? Are there plans to move the parsing code to a common module? (perhaps
oox ...)

Re why: OOXML import has been developed while OpenOffice was maintained by Sun, later Oracle. There where at least three development teams involved (for Writer, Calc, Draw/Impress). Sometimes they did not communicate with each other as well as they should have. Having different modules is one of the results. But, as far as I know, writerfilter has some calls into oox for shared functionality.

Re future plans: Some of us are thinking about improving the OOXML support. Consolidation of the code base into one module is a long term goal.


ii. Probably a related question - why are drawing-ml shapes and pictures
not supported in sw, while they are supported in sc and sd? The parsing
code seems to be there. The tag wps:wsp has very little delta with the p:sp
tag. Is this in works?

Well, see my above comments.
And, parsing OOXML is the easy part, importing the data into the application model is the hard part. Calc and Impress use the same model for representing graphical objects, Writer has its own.

If you are interested in OOXML import/export then maybe we can work together on improving it?

Regards,
Andre


thanks,
mayur



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to