![]() | InDesign SDK 20.5 |

Public Member Functions | |
| GTTxtEdtResponder (IPMUnknown *boss) | |
| virtual void | Respond (ISignalMgr *signalMgr) |
Public Member Functions inherited from CResponder | |
| CResponder (IPMUnknown *boss) | |
| virtual ServiceID | GetResponderService () |
| virtual void | SignalFailed (ISignalMgr *signalMgr) |
Additional Inherited Members | |
Public Types inherited from IResponder | |
| enum | { kDefaultIID = IID_IRESPONDER } |
GTTxtEdtResponder
Handles signals related to document file actions and text story creation/deletion.
On document creation, we attach our story creation/deletion observer to the document (needed for the invalidation handler).
On document open, we attach our story creation/deletion observer to the document, and attach our story edit observer to any existing stories.
On document close, we detach our story creation/deletion observer from the document, and detach any story edit observers from stories in the document.
On creation of a new text story, we attach our story edit observer to the story.
On deletion of a text story, we detach our story edit observer from the story and test to see if the story is maintained by our undoable snapshot interface. If it is, we reset the undoable data.
| Binds the C implementation class onto its ImplementationID making the C code callable by the application * GTTxtEdtResponder::GTTxtEdtResponder | ( | IPMUnknown * | boss | ) |
Constructor.
| boss | interface ptr from boss object on which this interface is aggregated. |
| virtual |
Respond() handles the file action signals when they are dispatched by the signal manager.
| signalMgr | Pointer back to the signal manager to get additional information about the signal. |
Reimplemented from CResponder.