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

Public Types | |
| enum | { kDefaultIID = IID_ICATALOGLIST } |
| enum | { kQuery =0, kInProgress, kDone } |
Public Member Functions | |
| virtual ICatalog * | NewCatalog (const IDFile &catalogFile)=0 |
| virtual ICatalog * | OpenCatalog (const IDFile &catalogFile)=0 |
| virtual ICatalog * | RecoverCatalog (const IDFile *pubFile, const IDFile *miniSaveFile, IDataBase::ProtectionLevel protection, void *fileInfo)=0 |
| virtual void | CloseCatalog (ICatalog *catalog)=0 |
| virtual int32 | GetCatalogCount ()=0 |
| virtual ICatalog * | GetNthCatalog (int32 n)=0 |
| virtual ICatalog * | FindDoc (const IDFile &catalog)=0 |
| virtual void | Recovery (int16 &status) |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Access library catalogs. Provides ways to create, open, close, and recover catalog files.
| anonymous enum |
For Internal Use Only. Recovery status flags.
| pure virtual |
Close a catalog.
| catalogFile | IN file specification for catalog |
Retrieve a catalog matching a file specification.
| cataloge | IN file specification for catalog |
| pure virtual |
Get the number of catalogs open.
| pure virtual |
Iterate through open catalogs.
| n | IN catalog index to get |
Create a new catalog. (Not AddRef'ed, no need to Release.)
| catalogFile | IN file specification for catalog |
Open an existing catalog. (Not AddRef'ed, no need to Release.)
| catalogFile | IN file specification for catalog |
| pure virtual |
For Internal Use Only. Recover a catalog.
| pubFile | IN the catalog file to recover |
| miniSaveFile | IN minisave file specification if it exists |
| protection | IN protection level |
| fileInfo | IN (Macintosh only) type and creator information (use nil on Windows) |
Type and creator information block is as follows:
<pre>
typedef struct MacintoshFileInfo { SysOSType fCreator; SysOSType fFileType; } MacintoshFileInfo;
| inlinevirtual |
For Internal Use Only. Gets/sets recovery status flag for a library. Acts like a global flag.