| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private final String | rangeId
reference mark name |
| public static final String | |
| public static final String | |
| private static final boolean | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public void | cleanFillCursor(com.
Implements org. Remove brackets, but if the result would become empty, leave them; if the result would be a single characer, leave the left bracket. |
| pack-priv static NamedRangeReferenceMark | |
| private static void | createReprInDocument(com.
|
| public com. | getFillCursor(com.
Implements org. See: getFillCursorForCitationGroup |
| pack-priv static Optional | Returns: Optional.empty if there is no corresponding range.
|
| pack-priv String | |
| public Optional | Returns: Optional.empty if the reference mark is missing. See: UnoReferenceMark.getAnchorImplements org.
|
| public String | |
| public Optional | Returns: Optional.empty() if reference mark is missing from the document, otherwise an XTextCursor for getMarkRange See: getRawCursorForCitationGroupImplements org. Cursor for the reference marks as is, not prepared for filling, but does not need cleanFillCursor either. |
| public void | removeFromDocument(com.
Implements org. Remove it from the document. |
| private static com. | Returns: a new cursor, covering the just-inserted spaces.Where to insert (at position.getStart()) position,Number of spaces to insert. numSpaces)Insert |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| rangeId | back to summary |
|---|---|
| private final String rangeId reference mark name | |
| REFERENCE_MARK_LEFT_BRACKET | back to summary |
|---|---|
| public static final String REFERENCE_MARK_LEFT_BRACKET | |
| REFERENCE_MARK_RIGHT_BRACKET | back to summary |
|---|---|
| public static final String REFERENCE_MARK_RIGHT_BRACKET | |
| REFERENCE_MARK_USE_INVISIBLE_BRACKETS | back to summary |
|---|---|
| private static final boolean REFERENCE_MARK_USE_INVISIBLE_BRACKETS | |
| ZERO_WIDTH_SPACE | back to summary |
|---|---|
| private static final String ZERO_WIDTH_SPACE | |
| NamedRangeReferenceMark | back to summary |
|---|---|
| private NamedRangeReferenceMark(String rangeId) | |
| checkFillCursor | back to summary |
|---|---|
| public static void checkFillCursor(com. | |
| cleanFillCursor | back to summary |
|---|---|
| public void cleanFillCursor(com. Implements org. Remove brackets, but if the result would become empty, leave them; if the result would be a single characer, leave the left bracket. See: cleanFillCursorForCitationGroup
| |
| create | back to summary |
|---|---|
| pack-priv static NamedRangeReferenceMark create(com. | |
| createReprInDocument | back to summary |
|---|---|
| private static void createReprInDocument(com. | |
| getFillCursor | back to summary |
|---|---|
| public com. Implements org. See: getFillCursorForCitationGroup
| |
| getFromDocument | back to summary |
|---|---|
pack-priv static Optional
| |
| getId | back to summary |
|---|---|
| pack-priv String getId() | |
| getMarkRange | back to summary |
|---|---|
| public Optional Implements org. | |
| getRangeName | back to summary |
|---|---|
| public String getRangeName() Implements org.
| |
| getRawCursor | back to summary |
|---|---|
| public Optional Implements org. Cursor for the reference marks as is, not prepared for filling, but does not need cleanFillCursor either. | |
| removeFromDocument | back to summary |
|---|---|
| public void removeFromDocument(com. Implements org. Remove it from the document. See: removeCitationGroups
| |
| safeInsertSpacesBetweenReferenceMarks | back to summary |
|---|---|
| private static com. Insert This is based on the observation, that starting two new paragraphs separates us from reference marks on either side.
The pattern used is:
| |