Expand description
Threaded comments management.
Provides functions for adding, querying, resolving, and removing threaded comments (Excel 2019+ feature). Threaded comments support replies and resolved state, unlike legacy comments.
Structs§
- Person
Data - Output data for a person.
- Person
Input - Input configuration for adding a person.
- Threaded
Comment Data - Output data for a threaded comment.
- Threaded
Comment Input - Input configuration for adding a threaded comment.
Constants§
- LEGACY_
PLACEHOLDER_ PREFIX - Text prefix Excel writes into the legacy comment that mirrors a threaded comment.
Functions§
- add_
person - Add a person to the person list. Returns the person ID.
- add_
threaded_ comment - Add a threaded comment to a sheet’s threaded comments collection.
- delete_
threaded_ comment - Delete a threaded comment by its ID.
- find_
or_ create_ person - Find or create a person in the person list, returning their ID.
- get_
persons - Get all persons from the person list.
- get_
threaded_ comments - Get all threaded comments for a sheet.
- get_
threaded_ comments_ by_ cell - Get threaded comments for a specific cell.
- is_
legacy_ placeholder - Returns true when
textis a legacy comment that mirrors a threaded comment. - is_
legacy_ twin - Whether a legacy comment is the placeholder twin Excel writes for a
thread: the author carries the thread id (
tc=<guid>) and the text starts with Excel’s placeholder. Ordinary notes never match. - legacy_
comment_ for_ cell - Build the legacy comment Excel requires for the thread on
cell. - resolve_
threaded_ comment - Set the resolved (done) state of a threaded comment.