Hi together again,
after trying to get the bookmarks of a document, I now want to insert a
bookmark and have again troubles. Here my code:
-----%<-----
// Query for an XMultiServiceFactory instance from the global
// service manager
XMultiServiceFactory mxMSF = (XMultiServiceFactory)
UnoRuntime.queryInterface(XMultiServiceFactory.class,
xRemoteServiceManager);
// Insterting and retrieving a bookmark
Object mbookmark = mxMSF.createInstance("com.sun.star.text.Bookmark");
-----%<-----
mxMSF is retrieved correctly, but my Object mbookmark is always "null".
Does the code work for you? I think it should, because it's out of the
user guide. Is there something wrong with Debian OOo?
Please help me again to get it work...
Greetings, Tobias
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]