Hi Cristian,
> Now, how can i go in the tabstop(like using the key tab)????
Just use a TAB (ASCII 9) in your string. Too simple?
> XTextCursor xt =
> (XTextCursor)UnoRuntime.queryInterface(XTextCursor.class,tb[0]);
Here you query an XTextCursorfrom a TabStop struct? That should throw an
exception or at least return null, don't know the UNO spec for the case
where queryInterface is used on a non interface.
> XText xTextheader = (XText) UnoRuntime.queryInterface(XText.class,
> xPropertySetStyle.getPropertyValue("HeaderText"));
> xTextheader.insertString(xt," CENTER TEXT IN THE
> HEADER",false);
And this should at latest throw a null pointer exception. It does not?
Michael
--
Michael Hoennig <[EMAIL PROTECTED]>
project lead OpenOffice.org API
http://api.openoffice.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]