![]() |
Hot Door CORE 0.8.4
Adobe® Illustrator® Plug-in Library
|
Encapsulates story set functionality from the Illustrator SDK. More...
#include <hdicoreTextStorySet.h>
Public Types | |
| 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 | |
| TextStorySet () | |
| Creates a new TextStorySet object. | |
| TextStorySet (const TextStorySet &ss_) | |
| TextStorySet copy constructor. | |
| virtual | ~TextStorySet () |
| Destructs a TextStorySet object. | |
| virtual TextStorySet & | operator= (const TextStorySet &rhs_) |
| Overloaded assignment operator for TextStorySet objects. | |
| virtual bool | operator== (const TextStorySet &rhs_) const |
| Tests whether a given TextStorySet object is the same as another. | |
| virtual bool | operator!= (const TextStorySet &rhs_) const |
| Tests whether a given TextStorySet object is not the same as another. | |
| virtual std::unique_ptr< ATE::IStories > | ateStorySet () const |
| Gets the ATE story set ref around which the target object is wrapped. | |
| virtual bool | isEmpty () const |
| Gets whether the target TextStorySet object is empty. | |
| virtual int32_t | size () const |
| Retrieves the number of members of this set. | |
| virtual bool | hasFocus () const |
| Reports whether a member story has the input focus. | |
| virtual std::unique_ptr< TextStory > | focusedStory () const |
| Retrieves the member story that has input focus. | |
| virtual void | setFocusedStory (const TextStory &story_) |
| Sets the input focus to a member story, deselecting everything in the document. | |
| virtual void | loseFocus () |
| Removes input focus from the story currently being edited, deselecting everything in the document. | |
| virtual std::unique_ptr< TextRangeSet > | textRanges () const |
| Retrieves the set of text ranges in these stories. | |
| virtual std::unique_ptr< TextRangeSet > | selections () const |
| Retrieves the set of text ranges for selected text in these stories. | |
| virtual TextParaVector | paragraphs () const |
| Retrieves a vector of paragraphs contained by the member stories. | |
| virtual TextWordVector | words () const |
| Retrieves a vector of words contained by the member stories. | |
| virtual TextRangeVector | runs () const |
| Retrieves a vector of runs (ranges) contained by the member stories. | |
| virtual std::unique_ptr< TextStory > | story (const int32_t index_) const |
| Retrieves a member of this set by position index. | |
| virtual void | suspendReflow () |
| Suspends reflow calculation for the target stories. 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::TextStorySet * | __accessImpl (const TextStorySet &) |
| TextStorySet | __accessCtor (const aip::TextStorySet &) |
Encapsulates story set functionality from the Illustrator SDK.
| hdi::core::TextStorySet::TextStorySet | ( | ) |
Creates a new TextStorySet object.
| hdi::core::TextStorySet::TextStorySet | ( | const TextStorySet & | ss_ | ) |
|
virtual |
Destructs a TextStorySet object.
|
virtual |
Gets the ATE story set ref around which the target object is wrapped.
|
virtual |
Retrieves the member story that has input focus.
|
virtual |
Reports whether a member story has the input focus.
|
virtual |
Gets whether the target TextStorySet object is empty.
|
virtual |
Removes input focus from the story currently being edited, deselecting everything in the document.
|
virtual |
Tests whether a given TextStorySet object is not the same as another.
| rhs_ | TextStorySet to compare against (righthand side of inequality operator) |
|
virtual |
Overloaded assignment operator for TextStorySet objects.
| rhs_ | Existing TextStorySet object to copy values from |
|
virtual |
Tests whether a given TextStorySet object is the same as another.
| rhs_ | TextStorySet to compare against (righthand side of equality operator) |
|
virtual |
Retrieves a vector of paragraphs contained by the member stories.
|
virtual |
Resumes normal reflow calculation after a call to suspendReflow().
|
virtual |
Retrieves a vector of runs (ranges) contained by the member stories.
|
virtual |
Retrieves the set of text ranges for selected text in these stories.
|
virtual |
Sets the input focus to a member story, deselecting everything in the document.
| story_ | Story to focus |
|
virtual |
Retrieves the number of members of this set.
|
virtual |
Retrieves a member of this set by position index.
| index_ | The 0-based position index |
|
virtual |
Suspends reflow calculation for the target stories. Speeds up calls that cause reflow, such as TextRange insertion methods.
|
virtual |
Retrieves the set of text ranges in these stories.
|
virtual |
Retrieves a vector of words contained by the member stories.