![]() | InDesign SDK 20.5 |

Public Member Functions | |
| GTTxtEdtSnapshotInterface (IPMUnknown *boss) | |
| virtual | ~GTTxtEdtSnapshotInterface () |
| UIDRef & | GetStory () |
| void | SetStory (UIDRef story) |
| bool16 | StoryValid () |
| TextIndex | GetStoryIndex () |
| void | SetStoryIndex (TextIndex index) |
| void | SetStoryAndIndex (UIDRef story, TextIndex index) |
| void | SnapshotReadWrite (IPMStream *s, ImplementationID implID) |
Public Member Functions inherited from CPMUnknown< IGTTxtEdtSnapshotInterface > | |
| IPMUnknown * | QueryInterface (PMIID interfaceID) const |
| void | AddRef () const |
| void | Release () const |
| void | PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| void | PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| CPMUnknown (const CPMUnknown &)=delete | |
| CPMUnknown & | operator= (const CPMUnknown &)=delete |
Additional Inherited Members | |
Public Types inherited from IGTTxtEdtSnapshotInterface | |
| enum | { kDefaultIID = IID_IGTTXTEDTSNAPSHOTINTERFACE } |
Protected Member Functions inherited from CPMUnknown< IGTTxtEdtSnapshotInterface > | |
| CPMUnknown (IPMUnknown *boss) | |
Protected Attributes inherited from CPMUnknown< IGTTxtEdtSnapshotInterface > | |
| HelperInterface | fHelperInterface |
Implementation of the undoable data interface. Responsible for maintaining the last used story and text index. Using the CREATE_SNAPSHOT_PMINTERFACE macro to bind the implementation into the object model also identifies it as a snapshot interface
| GTTxtEdtSnapshotInterface::GTTxtEdtSnapshotInterface | ( | IPMUnknown * | boss | ) |
ctor
| virtual |
dtor
| virtual |
Provides the last story edited.
Implements IGTTxtEdtSnapshotInterface.
| virtual |
Returns the last story edit index, the position in the text the story was edited at.
Implements IGTTxtEdtSnapshotInterface.
| virtual |
Sets the last story edited.
| story | IN the story that was edited. |
Implements IGTTxtEdtSnapshotInterface.
| virtual |
Sets both the story and the text index relating to the last text edit.
| story | IN the story that was edited. |
| index | IN the text index at which the story was edited. |
Implements IGTTxtEdtSnapshotInterface.
| virtual |
Sets the story index. Used to indicate the story index at which a story edit occurred.
| index | IN the position the story was edited. |
Implements IGTTxtEdtSnapshotInterface.
| void GTTxtEdtSnapshotInterface::SnapshotReadWrite | ( | IPMStream * | s, |
| ImplementationID | implID | ||
| ) |
Allows the internal state of the implementation to be marshalled out into the snapshot.
| s | IN the stream the snapshot is being written to |
| implID | IN implementation ID |
| virtual |
Determines if the story maintained is valid (not kInvalidUID).
Implements IGTTxtEdtSnapshotInterface.