Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
|
Public Types | |
typedef std::vector< std::shared_ptr< TextArt > > | TextArtVector |
typedef std::vector< std::shared_ptr< TextPara > > | TextParaVector |
typedef std::vector< std::shared_ptr< TextRange > > | TextRangeVector |
typedef std::vector< std::shared_ptr< TextWord > > | TextWordVector |
Public Member Functions | |
TextStory () | |
Creates a new TextStory object. | |
TextStory (const TextStory &s_) | |
TextStory copy constructor. | |
virtual | ~TextStory () |
Destructs a TextStory object. | |
virtual TextStory & | operator= (const TextStory &rhs_) |
Overloaded assignment operator for TextStory objects. | |
virtual bool | operator== (const TextStory &rhs_) const |
Tests whether a given TextStory object is the same as another. | |
virtual bool | operator!= (const TextStory &rhs_) const |
Tests whether a given TextStory object is not the same as another. | |
virtual std::unique_ptr< ATE::IStory > | ateStory () const |
Gets the ATE story ref around which the target object is wrapped. | |
virtual bool | isEmpty () const |
Gets whether the target TextStory object is empty. | |
virtual std::unique_ptr< TextStory > | duplicate () |
Duplicates the target object. | |
virtual int32_t | index () const |
Retrieves the index position of the target story in its collection. | |
virtual int32_t | charCount () const |
Retrieves the number of characters in the target story. | |
virtual std::unique_ptr< TextRange > | textRange () const |
Retrieves the text range that contains the entire text of the target story. | |
virtual std::unique_ptr< TextRange > | textRange (const int32_t start_, const int32_t end_) const |
Retrieves an arbitrary text range from this story. | |
virtual std::unique_ptr< TextRangeSet > | selections () const |
Retrieves the set of text ranges that contains the selected text of the target story. | |
virtual std::unique_ptr< TextStorySet > | stories () const |
Retrieves the story collection that contains the target story. | |
virtual TextArtVector | textFrames () const |
Retrieves a vector of text frames contained in the target story. | |
virtual TextParaVector | paragraphs () const |
Retrieves a vector of paragraphs contained in the target story. | |
virtual TextWordVector | words () const |
Retrieves a vector of words contained in the target story. | |
virtual TextRangeVector | runs () const |
Retrieves a vector of runs contained in the target story. | |
virtual std::unique_ptr< TextArt > | textFrame (const int32_t index_) const |
Retrieves a specific text frame from the target story. | |
virtual bool | kerningForRange (const TextRange &range_, AutoKernType &type__, int32_t &kerning__) const |
Retrieves the kerning type and value for a text range in the target story. | |
virtual void | setAutoKerningForRange (const TextRange &range_, const AutoKernType type_) |
Sets automatic or optical kerning for a text range in the target story. | |
virtual bool | kerningForChar (const int32_t index_, AutoKernType &type__, int32_t &kerning__) const |
Retrieves the kerning type and value for a character in the target story. | |
virtual void | setKerningForChar (const int32_t index_, const int32_t kerning_) |
Sets a specific kern value in the target story. | |
virtual void | suspendReflow () |
Suspends reflow calculation for the target story. Speeds up calls that cause reflow, such as TextRange insertion methods. | |
virtual void | resumeReflow () |
Resumes normal reflow calculation after a call to suspendReflow() | |
Friends | |
aip::TextStory * | __accessImpl (const TextStory &) |
TextStory | __accessCtor (const aip::TextStory &) |
hdi::core::TextStory::TextStory | ( | ) |
Creates a new TextStory object.
hdi::core::TextStory::TextStory | ( | const TextStory & | s_ | ) |
|
virtual |
Destructs a TextStory object.
|
virtual |
Gets the ATE story ref around which the target object is wrapped.
|
virtual |
Retrieves the number of characters in the target story.
|
virtual |
Duplicates the target object.
|
virtual |
Retrieves the index position of the target story in its collection.
|
virtual |
|
virtual |
Retrieves the kerning type and value for a character in the target story.
index_ | The 0-based position index of the character |
type__ | Return-by-reference for the kerning type enum value |
kerning__ | Return-by-reference for the kerning value |
|
virtual |
Retrieves the kerning type and value for a text range in the target story.
range_ | The text range object |
type__ | Return-by-reference for the kerning type enum value |
kerning__ | Return-by-reference for the kerning value |
|
virtual |
Overloaded assignment operator for TextStory objects.
|
virtual |
|
virtual |
Retrieves a vector of paragraphs contained in the target story.
|
virtual |
Resumes normal reflow calculation after a call to suspendReflow()
|
virtual |
Retrieves a vector of runs contained in the target story.
|
virtual |
Retrieves the set of text ranges that contains the selected text of the target story.
|
virtual |
Sets automatic or optical kerning for a text range in the target story.
range_ | The text range to change |
type_ | The kerning type enum value |
|
virtual |
Sets a specific kern value in the target story.
index_ | The 0-based position index of the character to kern |
kerning_ | The kerning value |
|
virtual |
Retrieves the story collection that contains the target story.
|
virtual |
Suspends reflow calculation for the target story. Speeds up calls that cause reflow, such as TextRange insertion methods.
|
virtual |
Retrieves a specific text frame from the target story.
index_ | The 0-based position index |
|
virtual |
Retrieves a vector of text frames contained in the target story.
|
virtual |
Retrieves the text range that contains the entire text of the target story.
|
virtual |
Retrieves an arbitrary text range from this story.
start_ | The 0-based position index of the first character in the range |
end_ | The 0-based position index of the last character in the range |
|
virtual |
Retrieves a vector of words contained in the target story.