Class BookmarkListFactory

    • Constructor Detail

      • BookmarkListFactory

        public BookmarkListFactory()
    • Method Detail

      • getBookmarkList

        public static BookmarkList getBookmarkList​(Document document)
        Retrieves the BookmarkList for the given document.

        First, an attempt is made to read an existing list from the document properties. If there is a list, that list will be returned.
        If no list is present in the properties, a new BookmarkList will be created and added to the document properties.

        Parameters:
        document - the document
        Returns:
        the found/created BookmarkList