InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ISnapSelectionSuite Class Referenceabstract

#include <ISnapSelectionSuite.h>

Inheritance diagram for ISnapSelectionSuite:
IPMUnknownCPMUnknown< ISnapSelectionSuite >SnapSelectionSuiteASBSnapSelectionSuiteCSB

Public Types

enum  { kDefaultIID = IID_ISNAPSELECTIONSUITE }
 

Public Member Functions

virtual SnapshotUtilsExCreateSnapshot (ISpread *spread)=0
 
virtual bool16 SelectionIsEmpty ()=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

From SDK sample; abstract interface for a snap shot selection suite to be used in the new selection architecture.

Member Function Documentation

virtual SnapshotUtilsEx* ISnapSelectionSuite::CreateSnapshot (ISpreadspread)
pure virtual

Create a snap shot of the selected items. If the user chooses to draw area as the preference in the Snapshot dialog, then we need to draw everything withing the bounds of the selection. Otherwise, we draw the selected items only.

Parameters
spreadThe spread which the selected items are on
Returns
SnapshotUtilsEx* the new snapshot object

Implemented in SnapSelectionSuiteASB, and SnapSelectionSuiteCSB.

virtual bool16 ISnapSelectionSuite::SelectionIsEmpty ()
pure virtual

Return kTrue if the selection has nothing in it; kFalse otherwise.

Implemented in SnapSelectionSuiteASB, and SnapSelectionSuiteCSB.