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

Public Types | |
| enum | { kDefaultIID = IID_ILIBRARYSERVICE } |
Public Member Functions | |
| virtual ILibrary * | CreateLibrary ()=0 |
| virtual void | ReleaseLibrary (ILibrary *library)=0 |
| virtual int32 | NumLibraries () const =0 |
| virtual ILibrary * | QueryNthLibrary (int32 n) const =0 |
| virtual ILibraryCmdUtils * | QueryLibraryCmdUtils () const =0 |
| virtual ILibraryDragDropUtils * | QueryLibraryDDUtils () 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 used to create and manage Library Bosses. It also is used to obtain interfaces to Library utilities.
| pure virtual |
Create a new library object and return a pointer to it. The library service keeps a reference to the library, so the caller must call ReleaseLibrary when finished with it to cause the Library Service to release it.
| pure virtual |
Get the number of library objects currently in use.
| pure virtual |
Get the Library Command Utilities interface.
| pure virtual |
Get the Library Drag&Drop Utilities interface.
| pure virtual |
Get the Nth library.
| n | IN library index |
| pure virtual |
Call when finished with using a library object. The library will most likely be destructed during this call.
| library | IN the library to release |