The previous post discussed the fact that graphic objects have a FrameParent property that returns their containing frame. Objects that can appear in text have a similar property that returns their containing text frame. These objects are markers, cross references, variables, anchored frames, and text insets of various types
NOTE: Anchored frames have the InTextFrame property as well as the TextLoc property allowing you to go directly learn the idenfier of their text frame when desired.
- Markers and anchored frames have the TextLoc property that returns an offset from the start of the containing table cell or paragraph.
- Cross references, variables, and the various text inset objects (Ti*) have the TextRange property that provides a starting and and ending text location.
NOTE: Anchored frames have the InTextFrame property as well as the TextLoc property allowing you to go directly learn the idenfier of their text frame when desired.
No comments:
Post a Comment