Hi Christian,
Christian Lohmaier schrieb:
> Hi Peter, *,
> On Thu, Mar 22, 2007 at 01:47:44PM +0100, Peter
Eberlein wrote:
>> if you span a bookmark over more than one
paragraph, then
>> bookmark.anchor.getString() gives you the expected
result.
>>
>> If you want to "update" the bookmark with
anchor.setString(s) and s is
>> containing paragraph breaks (in basic CHR(13)),
then the XTextRange of
>> the anchor always ends with the end of the first
paragraph, means, the
>> bookmark has lost a part of its former range.
>>
>> Any hints? Is this a known issue?
>
> See
> http://www.openoffice.org/issues/show_bug.cgi?id=75588
and
> http://www.openoffice.org/issues/show_bug.cgi?id=73569
>
I queried and found these two too, but they don't match my
problem.
The issues also exist, when the bookmark has a span in only
one paragraph.
Regards
Peter
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe sw.openoffice.org
For additional commands, e-mail: dev-help sw.openoffice.org
|