Hi Oscar, Message de Oscar Picasso date 2009-08-25 00:01 :
Hi,I did install OpenOffice 3.1.0 and now some tests that used to pass with 3.0.1 don't pass anymore. The tests try to retrieve the bookmarks in a document. It uses the Java API: // accessing the Bookmarks collection of the documentfinal XBookmarksSupplier supplier = (XBookmarksSupplier) UnoRuntime .queryInterface(XBookmarksSupplier.class, getComponent()); final XNameAccess bookmarks = supplier.getBookmarks(); final String[] names = bookmarks.getElementNames(); ...The names array is now emply which was not the case before.
I can't see any problem with Bookmarks on 3.1.0, in Basic. So the API is still correct. Check that your document has bookmarks !
Regards Bernard --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
