![]() | InDesign SDK 20.5 |
#include <IStoryList.h>

Public Types | |
| enum | { kDefaultIID = IID_ISTORYLIST } |
Public Member Functions | |
| virtual void | AddNewStory (UID story, TextStory_StoryAccess access)=0 |
| virtual void | ProcessAddNewStory (UID story, TextStory_StoryAccess access)=0 |
| virtual void | RemoveStory (UID story)=0 |
| virtual int32 | GetUserAccessibleStoryCount () const =0 |
| virtual int32 | GetAllTextModelCount () const =0 |
| virtual UIDRef | GetNthUserAccessibleStoryUID (int32 storyIndex) const =0 |
| virtual UIDRef | GetNthTextModelUID (int32 storyIndex) const =0 |
| virtual TextStory_StoryAccess | GetNthTextModelAccess (int32 storyIndex) const =0 |
| virtual int32 | GetUserAccessibleStoryIndex (UID story) const =0 |
| virtual int32 | GetTextModelIndex (UID model) const =0 |
| virtual void | MarkStoryDamaged (UID story)=0 |
| virtual void | MarkStoryComposed (UID story)=0 |
| virtual UIDRef | GetLastDamagedStory () const =0 |
| virtual int32 | CountDamagedStories () const =0 |
| virtual UID | GetNthDamagedTextModelUID (int32 n) const =0 |
| virtual bool16 | ModifiedStory (UID Story)=0 |
| virtual void | ReorderStories (const UIDList &desiredOrder)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This interface encapsulates a list of stories- each story being a UID. The stories are NOT created or deleted here, only managed. Use "NewStoryCmd" and "DeleteStoryCmd" for that.
User accessibility is used across the interface to identify if a story was created by the user or whether it was created for internal use. Internal stories are not subject to search through find change, spell checking, and other activities that make sense only for user created stories.
| pure virtual |
Add an already created story to the list.
| story | IN story uid to add. |
| access | IN whether the story is user accessible. |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
| n | IN index in damaged story list. |
| pure virtual |
| storyIndex | IN index in the list of all stories. |
| pure virtual |
| storyIndex | IN index in the list of all stories. |
| pure virtual |
| storyIndex | IN index in the list of user accessible stories. |
| pure virtual |
| story | IN story UID. |
| pure virtual |
| pure virtual |
| story | IN story UID. |
| pure virtual |
Mark story as composed.
| story | IN story UID. |
| pure virtual |
Mark a story as needs composing.
| story | IN story UID. |
| pure virtual |
Remove a story from the list – doesn't affect the story itself in any way.
| story | IN removed story UID. |
| pure virtual |
reorder the list of story UIDs to match the parameter. can NOT change user accessible stories to be after non-accessible stories.