InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CGrabBehavior Class Reference

#include <CGrabBehavior.h>

Inheritance diagram for CGrabBehavior:
CPMUnknown< IGrabBehavior >IGrabBehaviorIPMUnknown

Public Member Functions

 CGrabBehavior (IPMUnknown *boss)
 
virtual bool16 CanFormNeedfulSet () const
 
virtual UIDList GetNeedfulSet () const
 
virtual UID GetRootUID () const
 
- Public Member Functions inherited from CPMUnknown< IGrabBehavior >
IPMUnknownQueryInterface (PMIID interfaceID) const
 
void AddRef () const
 
void Release () const
 
void PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
void PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
 CPMUnknown (const CPMUnknown &)=delete
 
CPMUnknownoperator= (const CPMUnknown &)=delete
 

Additional Inherited Members

- Public Types inherited from IGrabBehavior
enum  { kDefaultIID = IID_IGRABBEHAVIOR }
 
enum  eGrabType { kGrabSingle, kGrabNeedfulSet }
 
- Protected Member Functions inherited from CPMUnknown< IGrabBehavior >
 CPMUnknown (IPMUnknown *boss)
 
- Protected Attributes inherited from CPMUnknown< IGrabBehavior >
HelperInterface fHelperInterface
 

Detailed Description

Generic Implementation to IGrabBehavior Subclasses to override functionality as per pageitem.

Member Function Documentation

virtual bool16 CGrabBehavior::CanFormNeedfulSet () const
virtual

Can the source item be grabbed as NeedfulSet

Returns
true if "this" could have items in NeedfulSet

Implements IGrabBehavior.

virtual UIDList CGrabBehavior::GetNeedfulSet () const
virtual

Returns UIDList of elements that would be part of the NeedfulSet for this item. It does not include the item's own UID. Only the items that should be part of set for this item are returned

Implements IGrabBehavior.

virtual UID CGrabBehavior::GetRootUID () const
virtual

Returns UID of the outermost element that has IID_IGRABBEHAVIOR interface defined on it

Implements IGrabBehavior.