InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PageItemCollector Class Reference
Inheritance diagram for PageItemCollector:
ICallback

Public Member Functions

 PageItemCollector (IPrnSelData *data, IDrawMgr *drawMgr)
 
virtual void ExecuteCallback (const PMMatrix *, IPMUnknown *thing, int32 flags)
 
virtual IDrawMgrGetCallbackDrawManager ()
 

Detailed Description

Callback class used to in conjunction with IDrawMgr to

gather all contained page items from a list of selected top level page items. Instead of walking the document hierarchy and dealing wiht any special cases such as inlines we use the Draw Manager to iterate the exact children.

Constructor & Destructor Documentation

PageItemCollector::PageItemCollector (IPrnSelDatadata,
IDrawMgrdrawMgr 
)
inline

Constructor

Parameters
dataIN The IPrnSelData interface we are populating.
drawMgrIN The IDrawMgr that is calling back into this class.

Member Function Documentation

void PageItemCollector::ExecuteCallback (const PMMatrix,
IPMUnknownthing,
int32 flags 
)
virtual

The actual callback method.

Parameters
xformIN The current transform.
thingIN The current object in the draw order.
flagsIN The draw flags.

Implements ICallback.

virtual IDrawMgr* PageItemCollector::GetCallbackDrawManager ()
inlinevirtual
Returns
The IDrawMgr instance for this callback.

Implements ICallback.