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

Public Types | |
| enum | { kDefaultIID = IID_ILINKRESOURCESTATEUPDATECMDDATA } |
| enum | UpdateAction { kUpdateURI = 1, kUpdateState, kUpdateStamp, kUpdateModTime, kUpdateSize } |
Public Member Functions | |
| virtual void | SetUpdateAction (UpdateAction action)=0 |
| virtual UpdateAction | GetUpdateAction () const =0 |
| virtual void | SetDatabase (IDataBase *db)=0 |
| virtual IDataBase * | GetDatabase () const =0 |
| virtual void | SetResource (const UID &uid)=0 |
| virtual const UID & | GetResource () const =0 |
| virtual void | SetURI (const URI &uri)=0 |
| virtual const URI & | GetURI () const =0 |
| virtual void | SetState (ILinkResource::ResourceState state)=0 |
| virtual ILinkResource::ResourceState | GetState () const =0 |
| virtual void | SetStamp (const WideString &stamp)=0 |
| virtual const WideString & | GetStamp () const =0 |
| virtual void | SetModTime (const IDTime &modTime)=0 |
| virtual const IDTime & | GetModTime () const =0 |
| virtual void | SetSize (uint64 size)=0 |
| virtual uint64 | GetSize () const =0 |
| virtual void | SetMarkLinksModified (bool bMarkLinksModified)=0 |
| virtual bool | GetMarkLinksModified () const =0 |
| virtual void | SetDatabaseModified (bool16 bDbModified=kFalse)=0 |
| virtual bool16 | GetDatabaseModified () const =0 |
| virtual void | SetNotify (bool bNotify)=0 |
| virtual bool | GetNotify () const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Data interface used by the LinkResourceStateUpdateCmd which is used to update a link resource's URI, stamp and state.
Identifiers that denote the type of update action to be performed by the LinkResourceStateUpdateCmd on the link resource with the given UID.
| Enumerator | |
|---|---|
| kUpdateURI | Update the resource's URI. |
| kUpdateState | Update the resource's state, stamp, modification time and size. |
| kUpdateStamp | Update the resource's stamp, modification time and size. |
| kUpdateModTime | Update the resource's modification time only. |
| kUpdateSize | Update the resource's size only. |
| pure virtual |
Returns the database to be targeted by the state update command.
| pure virtual |
Returns true if the document is to be set to dirty after the command executes
| pure virtual |
Returns whether links referencing the resource are allowed to be marked modified. \ Normally any changes to the resource that might result in links being out-of-date will cause the links referencing the resource to be marked modified. \ Setting the MarkLinksModified flag to false has the following implications:\
| pure virtual |
Returns the new modification time of the resource.
| pure virtual |
DEPRECATED - there is no way to prevent notification. Returns whether to notify about the changed resource.
| pure virtual |
Returns the UID of the link resource to update.
| pure virtual |
Returns the new data size of the resource.
| pure virtual |
Returns the new stamp of the resource.
| pure virtual |
Returns the new state of the resource.
| pure virtual |
Returns the UpdateAction to be performed by the state update command.
| pure virtual |
| pure virtual |
Sets the database to be targeted by the state update command.
| db | [IN] Database target. |
| pure virtual |
Sets the document state to dirty if set true
| bDbModified[IN] | set to kTrue to make doc dirty |
| pure virtual |
Sets whether links referencing the resource are allowed to be marked modified. \ Normally any changes to the resource that might result in links being out-of-date will cause the links referencing the resource to be marked modified. \ Setting the MarkLinksModified flag to false has the following implications:\
| bMarkLinksModified | [IN] Boolean denoting whether the links referencing the resource are allowed to be marked modified. |
| pure virtual |
Sets the new modification time of the resource.
| modTime | [IN] Resource's new modification time. |
| pure virtual |
DEPRECATED - there is no way to prevent notification. Sets whether to notify about the changed resource.
| bNotify | [IN] True to notify, else false. |
| pure virtual |
Sets the UID of the link resource to update.
| uid | [IN] Resource UID. |
| pure virtual |
Sets the new data size of the resource.
| size | [IN] Resource's new data size. |
| pure virtual |
Sets the new stamp of the resource.
| stamp | [IN] Resource's new stamp. |
| pure virtual |
Sets the new state of the resource.
| state | [IN] Resource's new state. |
| pure virtual |
Sets the UpdateAction to be performed by the state update command.
| action | [IN] UpdateAction to be performed. |