| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static com. | Returns: The XNamed interface of the bookmark. result.getName() should be checked by the caller, because its name may differ from the one requested.Insert a bookmark with the given name at the cursor provided, or with another name if the one we asked for is already in use. |
| public static Optional | |
| public static com. | |
| public static void | removeIfExists(com.
Remove the named bookmark if it exists. |
| UnoBookmark | back to summary |
|---|---|
| private UnoBookmark() | |
| create | back to summary |
|---|---|
| public static com. Insert a bookmark with the given name at the cursor provided, or with another name if the one we asked for is already in use. In LibreOffice the another name is in "{name}{number}" format.
| |
| getAnchor | back to summary |
|---|---|
| public static Optional Get the XTextRange corresponding to the named bookmark. | |
| getNameAccess | back to summary |
|---|---|
| public static com. Provides access to bookmarks by name. | |
| removeIfExists | back to summary |
|---|---|
| public static void removeIfExists(com. Remove the named bookmark if it exists. | |