![]() | InDesign SDK 20.5 |
#include <CSprite.h>

Public Member Functions | |
| FindMasterItemsIterator (const ISpread *drawingSpread, UIDList *masterItemsFound, const UIDList *candidates, PMMatrixCollection *masterInner2DrawingSpreadPBList) | |
| virtual void | ExecuteCallback (const PMMatrix *xform, IPMUnknown *iThing, int32 flags) |
| virtual int32 | IterateChildren () |
| virtual IDrawMgr * | GetCallbackDrawManager () |
FindMasterItemsIterator is used to walk the hierarchy looking for master page items that belong to the 'candidates.' When such a page item is found, it is appended to the 'masterItemsFound' list and a Matrix that can be used to transform the master page item into pasteboard coordinates for the target drawing spread is appended to 'masterInner2DrawingSpreadPBList.'
| FindMasterItemsIterator::FindMasterItemsIterator | ( | const ISpread * | drawingSpread, |
| UIDList * | masterItemsFound, | ||
| const UIDList * | candidates, | ||
| PMMatrixCollection * | masterInner2DrawingSpreadPBList | ||
| ) |
| drawingSpread | [IN]: the target spread |
| masterItemsFound | [OUT]: master page items from 'candidates' that are encountered while iterating the drawingSpread's draw hierarchy. |
| candidates | [IN]: If the page item is not in 'candidates,' then it is ignored. |
| masterInner2DrawingSpreadPBList | [OUT]: list of Matrices that can be used to transform the corresponding master page item in 'masterItemsFound' into pasteboard coordinates for the target drawing spread. |
| virtual |
Callback is where all the logic lives
Implements ICallback.
| virtual |
| virtual |
IterateChildren triggers the walking of the hierarchy.