![]() |
ATE::ITextRange Class ReferenceA text range, the basic text unit of the Adobe Text Engine, is a set of characters that ranges from a start offset to an end offset within a story. More...
Detailed DescriptionA text range, the basic text unit of the Adobe Text Engine, is a set of characters that ranges from a start offset to an end offset within a story. Use a text range object:
Each time you manipulate the contents of a text range, a reflow operation occurs. Reflow can change the length and endpoints of any text range in the containing story, and can cause previously obtained text runs to become invalid; see For example, suppose you have the initial text "0123456789", and have created two ranges, Range1 from 0 to 5 whose content is "01234", and Range2 from 3 to 9 whose content is "345678". If you call Constructor & Destructor Documentation
Copy constructor.
References ATE::sTextRange.
Constructs this C++ object from the corresponding C object returned by an ATE suite function. The C++ object manages reference counting.
Destructor. References ATE::sTextRange. Member Function Documentation
Changes the case of the text in this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Removes all local overrides for all characters in this text range. All character features are then inherited from styles associated with the character or text range, or from the Normal style.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Removes all local overrides for all paragraphs in this text range. All paragraph features are then inherited from styles associated with the paragraph or text range, or from the Normal style.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Removes the association of this text range and its character style. Copies the feature values of the character style into local override values in the contained characters. See
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Removes the association of this text range and its paragraph style. Copies the feature values of the paragraph style into local override values in the contained paragraphs. See
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Creates a duplicate of this object.
References ITextRange(), ATE::sTextRange, and ATE::Throw_ATE_Exception().
Resets start or end point of this range so that it contains only one character, either the first or the last.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Deselects the text in this text range. This can result in a discontiguous selection, if this text range is a subset of the selected text.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Adjusts the tracking of the text in this range to fit on one line spanning the width of the area text object. This is the equivalent of choosing Type > Fit Headline with the text range selected.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Retrieves the character type of the single character in this text range. Throws
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Creates an inspector with which to access the character features of all characters in this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Retrieves the contents of this text range as a C string.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Retrieves the contents of this text range as a Unicode string.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Retrieves the end offset of this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Retrieves a set of all named character styles used in this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Retrieves a set of all named paragraph styles used in this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Creates an iterator for the paragraphs contained in this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Creates an inspector with which to access the paragraph features of all paragraphs in this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Retrieves a reference to this object.
Referenced by ATE::ITextRanges::Add(), ATE::IFind::FindMatch(), ATE::IFind::FindNextMatch(), ATE::ISpell::FindOneMisspelledWord(), ATE::ISpell::FindReplaceAllWord(), ATE::IStory::GetKern(), InsertAfter(), InsertBefore(), ATE::ITextFramesIterator::ITextFramesIterator(), ATE::ISpell::Replace(), ATE::IFind::ReplaceMatch(), ATE::IStory::SetKernForSelection(), ATE::ISpell::SetSearchRange(), ATE::IFind::SetSearchRange(), ATE::IParaStyles::ShowOnlyStylesReferencedIn(), and ATE::ICharStyles::ShowOnlyStylesReferencedIn().
Reports whether the characters in this text range map to a single glyph, and if so, retrieves that glyph.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Retrieves the size of this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Retrieves the start offset of this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Retrieves the story that contains this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Creates an iterator for the text frames contained in this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Creates an iterator for the text runs contained in this text range. Text runs are character sequences that share attributes.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Retrieves the selected text within this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Retrieves the unique character features used in this text range. Unique features are those which have the same value in all text runs in the range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Retrieves the character features that have local overrides in this text range, and whose local values are the same in all text runs in the range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Retrieves the paragraph features that have local overrides in this text range, and whose local values are the same in all text runs in the range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Retrieves the unique paragraph features used in this text range. Unique features are those which have the same value in all text runs in the range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Creates an iterator for the words contained in this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Reports whether there any local character feature overrides for characters contained in this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Reports whether there any local paragraph feature overrides for paragraphs contained in this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Inserts text into this text range after the current end point. Triggers a reflow operation that resets the start and end points of this and any other affected ranges to include both the old and new text.
References GetRef(), ATE::sTextRange, and ATE::Throw_ATE_Exception().
Inserts text into this text range after the current end point. Triggers a reflow operation that resets the start and end points of this and any other affected ranges to include both the old and new text.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Inserts text into this text range before the current start point. Triggers a reflow operation that resets the start and end points of this and any other affected ranges to include both the old and new text.
References GetRef(), ATE::sTextRange, and ATE::Throw_ATE_Exception().
Inserts text into this text range before the current start point. Triggers a reflow operation that resets the start and end points of this and any other affected ranges to include both the old and new text.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Reports whether this is a null object.
References ATE::sTextRange.
Moves this text range by adding or subtracting a number of characters to or from the start and end offsets. Does not move the range if the result would be out of the story bounds.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Comparison operator tests for inequality.
Assignment operator.
References ATE::sTextRange.
Comparison operator tests for equality.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Deletes all of the characters in this text range. Triggers a reflow operation that resets the start and end points of any other affected ranges.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Modifies the local overrides for all characters in this text range. All values that are assigned become local values, replacing any previous local value. Values that are unassigned leave any previous local values unchanged. Triggers a reflow operation that can cause previously obtained text runs to become invalid; see
References ATE::ICharFeatures::GetRef(), ATE::sTextRange, and ATE::Throw_ATE_Exception().
Modifies the local overrides for all paragraphs in this text range. All values that are assigned become local values, replacing any previous local value. Values that are unassigned leave any previous local values unchanged. Triggers a reflow operation that can cause previously obtained text runs to become invalid; see
References ATE::IParaFeatures::GetRef(), ATE::sTextRange, and ATE::Throw_ATE_Exception().
Selects the text in this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Sets the end offset of this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Replaces all of the local overrides for all characters in this text range with a new set of feature values. All values that are assigned become local values, replacing any previous local value. These local values override any specified in a style associated with the character or the text range. All values that are unassigned remove any previous local values, so that those values are inherited. Triggers a reflow operation that can cause previously obtained text runs to become invalid; see
References ATE::ICharFeatures::GetRef(), ATE::sTextRange, and ATE::Throw_ATE_Exception().
Replaces all of the local overrides for all paragraphs in this text range with a new set of feature values. All values that are assigned become local values, replacing any previous local value. These local values override any specified in a style associated with the paragraph or the text range. All values that are unassigned remove any previous local values, so that those values are inherited. Triggers a reflow operation that can cause previously obtained text runs to become invalid; see
References ATE::IParaFeatures::GetRef(), ATE::sTextRange, and ATE::Throw_ATE_Exception().
Associates a named character style to this text range. The inherited values can be overridden by styles or features specified locally in contained text ranges or individual characters.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Associates a named paragraph style to this text range. The inherited values can be overridden by styles or features specified locally in contained text ranges or individual paragraphs.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Sets the start and end points of this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Sets the start offset of this text range.
References ATE::sTextRange, and ATE::Throw_ATE_Exception().
Associates this text range with a new story.
References ATE::IStory::GetRef(), ATE::sTextRange, and ATE::Throw_ATE_Exception(). The documentation for this class was generated from the following files: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
![]() |
|