Re: [Libreoffice] TextSection, TextCursor and component

2011-11-15 Thread Cedric Bosdonnat
Hi Knut, On Mon, 2011-11-14 at 17:26 +0100, Knut Olav Bøhmer wrote: The global factory can't create that service and the cursor / text range have no idea what document they're in... so I'ld say no. Would it be a good feature to let the cursor know which document their in? Well, if I was

Re: [Libreoffice] TextSection, TextCursor and component

2011-11-14 Thread Cedric Bosdonnat
Hi Knut, On Mon, 2011-11-14 at 00:02 +0100, Knut Olav Bøhmer wrote: Is it allowed to insert a TextSection in to a document which was created from another document? Honnestly, I don't know what is allowed and what is not in that area. Clearly, this doesn't sound good and if you can insert a

Re: [Libreoffice] TextSection, TextCursor and component

2011-11-14 Thread Michael Stahl
On 14/11/11 00:02, Knut Olav Bøhmer wrote: Hi, Is it allowed to insert a TextSection in to a document which was created from another document? Like this: doc1 = StarDesktop.loadComponentFromURL(private:factory/swriter, _blank, 0, Array()) doc2 =

Re: [Libreoffice] TextSection, TextCursor and component

2011-11-14 Thread Knut Olav Bøhmer
2011/11/14 Cedric Bosdonnat cedric.bosdonnat@free.fr: Hi Knut, On Mon, 2011-11-14 at 00:02 +0100, Knut Olav Bøhmer wrote: Is it allowed to insert a TextSection in to a document which was created from another document? Honnestly, I don't know what is allowed and what is not in that area.

[Libreoffice] TextSection, TextCursor and component

2011-11-13 Thread Knut Olav Bøhmer
Hi, Is it allowed to insert a TextSection in to a document which was created from another document? Like this: doc1 = StarDesktop.loadComponentFromURL(private:factory/swriter, _blank, 0, Array()) doc2 = StarDesktop.loadComponentFromURL(private:factory/swriter, _blank, 0, Array())