Search in sources :

Example 1 with XBookmarksSupplier

use of com.sun.star.text.XBookmarksSupplier in project jabref by JabRef.

the class OOBibBase method getBookmarks.

private XNameAccess getBookmarks() {
    // query XBookmarksSupplier from document model and get bookmarks collection
    XBookmarksSupplier xBookmarksSupplier = UnoRuntime.queryInterface(XBookmarksSupplier.class, xCurrentComponent);
    XNameAccess xNamedBookmarks = xBookmarksSupplier.getBookmarks();
    return xNamedBookmarks;
}
Also used : XNameAccess(com.sun.star.container.XNameAccess) XBookmarksSupplier(com.sun.star.text.XBookmarksSupplier)

Aggregations

XNameAccess (com.sun.star.container.XNameAccess)1 XBookmarksSupplier (com.sun.star.text.XBookmarksSupplier)1