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

Public Types | |
| enum | { kDefaultIID = IID_ISELECTIONSNAPSHOTSUITE } |
Public Member Functions | |
| virtual SelectionSnapshotData * | CreateSnapshot ()=0 |
| virtual void | CreateSnapshot (IPMUnknown *targetingBoss)=0 |
| virtual void | RestoreSelection (SelectionSnapshotData *theSS, IControlView *, bool16 bDrawSel, bool16 autoScroll=kTrue)=0 |
| virtual bool16 | SelectionIsEmpty (SelectionSnapshotData *theSS)=0 |
| virtual bool16 | SelectionIsValid (SelectionSnapshotData *theSS, UIDRef activeSpreadRef)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Defines the interface for a selection snapshot to be used for restoring the selection, typically after Undo.
| pure virtual |
Create the appropriate snapshot and return a pointer to it.
| pure virtual |
Copy selection data from this to another selection target boss.
| targetingBoss | IN an interface pointer on the boss to receive this target's selection data. |
| pure virtual |
Reset the selection to what it was when this snapshot was created.
| theSS | IN pointer to selection snapshot to use (created in CreateSnapshot) |
| pView | IN pointer to the view where the selection is to be displayed |
| bDrawSel | IN whether to draw the selection |
| autoScroll | IN whether to scroll the view to make the selection visible |
| pure virtual |
Tell whether the selection is empty.
| theSS | IN pointer to the selection snapshot data |
| pure virtual |
Tell whether the selection can be restored.
| theSS | IN pointer to the selection snapshot data |
| activeSpreadRef | IN reference to the active spread |