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

#include <IMakeNewSelectionSuite.h>

Inheritance diagram for IMakeNewSelectionSuite:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IMAKENEWSELECTIONSUITE }
 

Public Member Functions

virtual bool16 InitializeSelection (const UIDRef &storyRef)=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

The purpose of this interface is to create an initial selection in a galley or story view when none exists. The necessity of this is a side effect of the implementation of the selection code for galley/story view which will be eliminited at which point the need for this interface will also go away.

Member Function Documentation

virtual bool16 IMakeNewSelectionSuite::InitializeSelection (const UIDRefstoryRef)
pure virtual

Activate a selection for a story visible in a story or galley view. Activates the selectionsuite.

Parameters
storyRef- uid reference to a story being displayed in the story view the initial selection will be set to text index 0.
Returns
none