GetBookmarksInRange

Do you want to: Suggest a feature

I would like to request a new API method for plugins in the document editor:

GetBookmarksInRange(range: ApiRange) -> string[]

Return all bookmark names found within the given ApiRange[] list, ordered by their internal w:id (document order).

Purpose:
Essential when parsing a range (e.g., a table cell or a paragraph) to:

  • Collect all bookmarks inside it,
  • Display or act upon them in logical document order,

Additional Information:
These additions would greatly enhance plugin development by enabling real-time, context-aware interactions with bookmarks, paragraphs, and ranges — without manual index matching or inefficient scanning.

Hello @agamdev

Thank you for the suggestion. I was informed that my colleagues from technical support are processing this request. Kindly asking to await the feedback.

I will leave the topic open for other members of the community, who would be interested in this enhancement.