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

Public Types | |
| enum | { kDefaultIID = IID_ILIBRARY } |
Public Member Functions | |
| virtual ErrorCode | Initialize ()=0 |
| virtual bool16 | Open (const IDFile &libraryFile, const PMString &actualFileName)=0 |
| virtual bool16 | Create (const IDFile &libraryFile, const PMString &actualFileName)=0 |
| virtual void | Close ()=0 |
| virtual bool16 | IsOpen () const =0 |
| virtual bool16 | IsLocked () const =0 |
| virtual int32 | Length () const =0 |
| virtual IDFile | GetLibraryFileSpec () const =0 |
| virtual PMString | GetFileName () const =0 |
| virtual bool16 | NeedsSnippetConversion (const IDFile &libraryFile)=0 |
| virtual bool16 | ConvertToSnippets (const IDFile &oldLibraryFile, IDFile &newLibraryFile, bool16 bUseOldName=kFalse)=0 |
| virtual bool16 | LibraryIsPreSnippets ()=0 |
| virtual ILibraryScrapController * | GetScrapController () const =0 |
| virtual void | DisableLibraryLevelNotification ()=0 |
| virtual void | EnableLibraryLevelNotification ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
The main interface to the library boss. This interface controls opening and closing of a library file and has various utility methods to determine its status.
| pure virtual |
Closes the library.
| pure virtual |
| pure virtual |
Creates a library with the given pathname.
| libraryFile | IN the library file specification |
| actualFileName | IN the filename for the library |
| pure virtual |
| pure virtual |
| pure virtual |
Gets the file name of the library
| pure virtual |
Gets the name and path of the library file
| pure virtual |
| pure virtual |
Initializes the Library Data.
| pure virtual |
Tell if the library is locked (no changes can be made).
| pure virtual |
Tell if the library is open.
| pure virtual |
Get the total number of assets in library
| pure virtual |
| pure virtual |