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

Public Types | |
| enum | { kDefaultIID = IID_ILIBRARYPREFS } |
Public Member Functions | |
| virtual void | SetLibraryPref (const PMString &key, const PMString &value)=0 |
| virtual bool16 | GetLibraryPref (const PMString &key, PMString &value, const PMString &defaultValue) 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 |
This interface is a secondary interface to the Library Boss. This interface is used to set Library preference data in the library file. The Library does not have any predefined preferences, so the Library client is free to store whatever key/value pairs that are wanted.
| pure virtual |
Gets a preference value, or sets if not found.
| key | IN preference to look up |
| value | OUT value associated with key, if found |
| defaultValue | IN if key not found, sets it with this value |