Hi,
Matthias B. wrote:
On Jan 17, 2008 1:29 PM, Oliver Specht - Sun Germany - ham02 - Hamburg
<[EMAIL PROTECTED]> wrote:
Hi,
the implementation of SwXAutoTextGroup::insertNewByName() tries to find
the implementation object of the supplied XTextRange. If it succeeds it
inserts the text with formatting. Otherwise it only inserts the string
provided by XTextRange::getString().
How do you create you TextRange?
In my small test macro I used ThisComponent.getText().
Due to a bug it does not detect the implementation of the XText itself.
It only accepts the SwXTextCursor and SwXTextRange implementation.
Regards,
Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]