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

Public Types | |
| enum | { kDefaultIID = IID_IOBJECTWALKER } |
| enum | WalkerState { kEndOfDocumentReached, kWalkCompleted, kWalkingOnSameSpread, kSpreadEndReached, kMovedToNextSpread, kMovedToNextDocument } |
Public Member Functions | |
| virtual void | Initialize (ObjectWalkerScopeOptions options)=0 |
| virtual WalkerState | GetNextItem (UIDRef &ourRef)=0 |
| virtual UIDRef | GetCurrentItem () const =0 |
| virtual UIDRef | GetCurrentSpread () const =0 |
| virtual bool16 | MoveToSpread (UIDRef inSpreadRef)=0 |
| virtual bool16 | SkipSpread (UIDRef inSpreadRef)=0 |
| virtual bool16 | StartWithItem (UIDRef inItemRef)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This interface tries to iterate/walk through all the pageitems (including inlines and anchored objects) as per the options specified.
| pure virtual |
Gets the current page item
| pure virtual |
| pure virtual |
Gets the next page item
| outRef | holds the next page item |
| pure virtual |
Initializes the walker with the appropriate options.
| pure virtual |
Tells the walker to move to the specified unwalked spread
| inSpreadRef | is the UIDRef of the spread being requested to move to. |
| pure virtual |
Skips the specified spread from walking. If the spread specified is current walking spread then the walking will move to next spread.
| inSpreadRef | is the UIDRef of the spread being requested to skip. |
| pure virtual |
Start with the specified page item.
| inItemRef | is the UIDRef of the page item being requested to start the walking with. |