| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static com. | create(DocumentAnnotation documentAnnotation)
Insert a new reference mark at the provided cursor position. |
| public static Optional | |
| public static Optional | getAsTextContent(com.
Returns: reference mark as XTextContent, Optional.empty if not found. |
| public static List | |
| public static com. | getNameAccess(com.
Note also used by |
| public static void |
| UnoReferenceMark | back to summary |
|---|---|
| private UnoReferenceMark() | |
| create | back to summary |
|---|---|
| public static com. Insert a new reference mark at the provided cursor position. If Note LibreOffice 6.4.6.2 will create multiple reference marks with the same name without error or renaming. Its GUI does not allow this, but we can create them programmatically. In the GUI, clicking on any of those identical names will move the cursor to the same mark. | |
| getAnchor | back to summary |
|---|---|
| public static Optional XTextRange for the named reference mark, Optional.empty if not found. | |
| getAsTextContent | back to summary |
|---|---|
public static Optional
| |
| getListOfNames | back to summary |
|---|---|
| public static List Names of all reference marks. Empty list for nothing. | |
| getNameAccess | back to summary |
|---|---|
| public static com. Note also used by
| |
| removeIfExists | back to summary |
|---|---|
| public static void removeIfExists(com. Remove the named reference mark. Removes both the text and the mark itself. | |