Re: [Libreoffice] How to call from one component to another (sw-starmath)

2011-08-18 Thread Lubos Lunak
On Thursday 18 of August 2011, Bjoern Michaelsen wrote: Hi Lubos, On Tue, 16 Aug 2011 12:09:19 +0200 Lubos Lunak l.lu...@suse.cz wrote: No, starmath doesn't need to call back to writer. The problem is that this is still needlessly complicated. How about the attached patch? While it

Re: [Libreoffice] How to call from one component to another (sw-starmath)

2011-08-18 Thread Lubos Lunak
On Thursday 18 of August 2011, Lubos Lunak wrote: Is that true in practice? Sw and writerfilter have a hard depedency on Correction: Writerfilter does not. It doesn't change anything though. filter already. I only added few more dependencies to starmath that sw already has as a dependency

Re: [Libreoffice] How to call from one component to another (sw-starmath)

2011-08-17 Thread Bjoern Michaelsen
Hi Lubos, On Tue, 16 Aug 2011 12:09:19 +0200 Lubos Lunak l.lu...@suse.cz wrote: No, starmath doesn't need to call back to writer. The problem is that this is still needlessly complicated. How about the attached patch? While it works, I would prefer if the 10.000-feet-view of the project

Re: [Libreoffice] How to call from one component to another (sw-starmath)

2011-08-16 Thread Lubos Lunak
On Monday 15 of August 2011, Miklos Vajna wrote: On Mon, Aug 15, 2011 at 05:16:17PM +0200, Lubos Lunak l.lu...@suse.cz wrote: I'm implementing .docx OOXML support for writing math formulas. As this is something that could be used not only by Writer but also by other components, I want to

Re: [Libreoffice] How to call from one component to another (sw-starmath)

2011-08-16 Thread Caolán McNamara
On Mon, 2011-08-15 at 17:16 +0200, Lubos Lunak wrote: Hello, I'm implementing .docx OOXML support for writing math formulas. As this is something that could be used not only by Writer but also by other components, I want to implement the writing of the formula in Starmath. And even if I

Re: [Libreoffice] How to call from one component to another (sw-starmath)

2011-08-16 Thread Lubos Lunak
On Tuesday 16 of August 2011, Caolán McNamara wrote: On Mon, 2011-08-15 at 17:16 +0200, Lubos Lunak wrote: I already have a pointer to SmModel and SmDocShell (I can get it the same way the .doc code does) and just need to call their method, passing the XML serializer object as an argument,

Re: [Libreoffice] How to call from one component to another (sw-starmath)

2011-08-16 Thread Michael Meeks
Hi Lubos, On Tue, 2011-08-16 at 12:09 +0200, Lubos Lunak wrote: No, starmath doesn't need to call back to writer. The problem is that this is still needlessly complicated. How about the attached patch? I like it's simplicity personally :-) though of course we should use

Re: [Libreoffice] How to call from one component to another (sw-starmath)

2011-08-15 Thread Miklos Vajna
On Mon, Aug 15, 2011 at 05:16:17PM +0200, Lubos Lunak l.lu...@suse.cz wrote: I'm implementing .docx OOXML support for writing math formulas. As this is something that could be used not only by Writer but also by other components, I want to implement the writing of the formula in Starmath.