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

Public Types | |
| enum | { kDefaultIID = IID_IVIEWOBJECTCHANGES } |
Public Member Functions | |
| virtual void | SetTargetDB (IDataBase *viewTarget)=0 |
| virtual void | SetDirty (IControllingUnknown *boss, IPMUnknown *obj, ImplementationID prop, bool16 allowModification=true)=0 |
| virtual void | ResetAll ()=0 |
| virtual IDataBase * | GetTargetDB () const =0 |
| virtual void | SetBusy (bool busy)=0 |
| virtual bool | IsBusy () const =0 |
| virtual void | ResetOneToSnapshot (ImplementationID prop, SnapshotID snapshotID)=0 |
| virtual SnapshotID | SnapshotOneIfNecessary (ImplementationID prop)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
IViewObjectChanges plays a similar role for snapshot view interfaces that IPMPersist plays for persistent interfaces.
Add kViewObjectChangesImpl to the class definition of any boss that has one or more snapshot view interfaces.
This interface holds a reference to the database that the view interfaces pertaining to this boss target. Multiple view interfaces located on the same boss target the same database at any point in time.
Use the SetTargetDB function to set the target database of the view interfaces located on this boss. This target can be changed multiple times through the lifetime of the boss. Use GetTargetDB to identify the target database at any point in time.
| pure virtual |
Use GetTargetDB to identify the target database at any point in time.
| pure virtual |
For internal use only
| pure virtual |
For internal use only
| pure virtual |
For internal use only
| pure virtual |
For internal use only
| pure virtual |
For internal use only
| boss | |
| obj | |
| prop | |
| allowModification |
| pure virtual |
Use the SetTargetDB function to set the target database of the view interfaces located on this boss.
| viewTarget |
| pure virtual |
For internal use only