Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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 section created
by the target document instance it would be better. This is an
unspecified behavior and may be subject to changes, so take care if you
use it ;)

Next question. Can I create a TextSection if I only have a xTextCursor
or a xTextRange?

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.

I hope this helps,

-- 
Cédric Bosdonnat
LibreOffice hacker
http://documentfoundation.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.