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

#include <IGraphicStateSelection.h>

Inheritance diagram for IGraphicStateSelection:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IGRAPHICSTYLE_SELECTION }
 

Public Member Functions

virtual bool16 IsContainer (void) const =0
 
virtual void CreateFlattenedList (UIDList *pFlattenList) const =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

This interface is intended to be used on page items so that the graphic state can determine what objects should be in the selection. If the page item is a container, it will need to return a list of page items that can accept graphic attriubtes (i.e. has an IID_IGRAPHICSTYLE_IS_APPLICABLE interface.)

Member Function Documentation

virtual void IGraphicStateSelection::CreateFlattenedList (UIDListpFlattenList) const
pure virtual

Create a list of page item UID's that include this page item and all of its children.

Parameters
pFlattenListcontains the list of flattened page items.
virtual bool16 IGraphicStateSelection::IsContainer (void ) const
pure virtual

Returns true if page item is a container.