InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ILinkPrefs Class Referenceabstract

#include <ILinkPrefs.h>

Inheritance diagram for ILinkPrefs:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ILINKPREFS }
 

Public Member Functions

virtual void SetCheckLinksOnOpen (bool16 bCheckLinksOnOpen)=0
 
virtual bool16 GetCheckLinksOnOpen () const =0
 
virtual void SetFindMissingLinksOnOpen (bool16 bFindMissingLinksOnOpen)=0
 
virtual bool16 GetFindMissingLinksOnOpen () const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

ILinkPrefs is used to store and access preferences that specify the behavior InDesign in regards to links when a document is opened.

See Also
ILink
ILinkResource

Member Function Documentation

virtual bool16 ILinkPrefs::GetCheckLinksOnOpen () const
pure virtual

Get the "Check Links Before Opening Document" preference.

virtual bool16 ILinkPrefs::GetFindMissingLinksOnOpen () const
pure virtual

Get the "Auto-find Missing Links Before Opening Document" preference.

virtual void ILinkPrefs::SetCheckLinksOnOpen (bool16 bCheckLinksOnOpen)
pure virtual

Set the "Check Links Before Opening Document" preference.\ The preference specifies whether the state of a document's links should be updated during the open document operation. If kTrue, all the links in the document will be updated when the document opens. If any links have an out-of-date state, the user will be prompted to update the out-of-date links.

virtual void ILinkPrefs::SetFindMissingLinksOnOpen (bool16 bFindMissingLinksOnOpen)
pure virtual

Set the "Auto-find Missing Links Before Opening Document" preference.\ The preference specifies whether InDesign should automatically try to resolve a document's missing links during the open document operation. If kTrue, an attempt will be made to automatically resolve missing links when the document opens. The "Auto-find Missing Links Before Opening Document" preference is ignored if the "Check Links Before Opening Document" is set to kFalse.