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

Public Types | |
| enum | { kDefaultIID = IID_IUPDATELINK } |
| enum | { kSuccess = 0, kOutOfMemory = kOutOfMemoryError, kInvalidParameter = kInvalidParameterErr, kNoAssociatedPageItem = kNoAssociatedPageItemError } |
Public Member Functions | |
| virtual ErrorCode | DoUpdateLink (const ClassID &providerId, ILink *iLink, UID &objectUID, UIFlags uiFlags=kSuppressUI)=0 |
| virtual bool | IsOPIorDCS (ILink *iLink)=0 |
| virtual ErrorCode | UpdateOPIandDCS (ILink *iLink)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
You use this interface to update a page item to the lastest linked information.
| anonymous enum |
| pure virtual |
Update the link by reimporting the data. \ The update uses the setting last used to import the data. If this fails because the data is no longer appropriate for this import filter, the import uses the standard import code which picks a new filter. \ A new page item wil be created to replace the original item.
| providerId | [IN[ Id of the update link service provider to use to update. |
| iLink | [IN[ Link to be updated. |
| objectUID | [OUT] UID of the new link object and page item. |
| uiFlags | [IN] Denotes whether to allow UI during the update operation. |
| pure virtual |
Determines if the link is an OPI or DCS link.
| iLink | [IN] Link to be checked. |
| pure virtual |
Updates an OPI or DCS link.
| iLink | [IN] Link to be updated. |