@express-document-sdk / TextContent
Interface: TextContent
IMPORTANT: This is currently experimental only and should not be used in any add-ons you will be distributing until it has been declared stable. To use it, you will first need to set the experimentalApis flag to true in the requirements section of the manifest.json.
The values yielded by VisualNode.allTextContent and PageNode.allTextContent.
Properties
textContentModel
• textContentModel: TextContentModel
visibleRanges
• visibleRanges: TextRange[]
An unsorted list of the subranges of the related text content model that are visible within the node.
Since a single text content model can be displayed across multiple TextNode "frames", any of which could be outside of the node, the union of all the subranges in this value may still be a subset of the total range.
visibleText
• visibleText: string[]
An unsorted list of the parts of the related text content model that are visible within the node.
Since a single text content model can be displayed across multiple TextNode "frames", any of which could be outside of the node, the union of all the text in this value may still be a subset of the total text.
