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

2011-08-18 Thread Bjoern Michaelsen
Hi Lubos, On Thu, 18 Aug 2011 09:59:49 +0200 Lubos Lunak wrote: > grep msfilter sw/Library_*.mk Meh, I am not fully awake yet. Yes, sw uses filter. The structure is still true and valid for the rest of the project. There were some exceptions (marked in red on the picture), most of them where r

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: > On Thu, 18 Aug 2011 08:31:55 +0200 > > Lubos Lunak wrote: > > 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.

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

2011-08-18 Thread Bjoern Michaelsen
On Thu, 18 Aug 2011 08:31:55 +0200 Lubos Lunak wrote: > 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. How does sw? With a quick look I n

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

2011-08-17 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 Lubos Lunak
On Thursday 18 of August 2011, Bjoern Michaelsen wrote: > Hi Lubos, > > On Tue, 16 Aug 2011 12:09:19 +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? > > While it work

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 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 stays reasonably

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 core/TEMP

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 argu

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

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

2011-08-15 Thread Lubos Lunak
On Monday 15 of August 2011, Miklos Vajna wrote: > On Mon, Aug 15, 2011 at 05:16:17PM +0200, Lubos Lunak 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

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 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. And even if I

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

2011-08-15 Thread Lubos Lunak
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 didn't want, Sm* classes (which implement and store the fo