![]() | InDesign SDK 20.5 |

Classes | |
| struct | FileProperty |
| class | PackageRef |
Public Types | |
| enum | { kDefaultIID = IID_IUCFPACKAGETUTILS } |
| enum | CompressionType { kNone = 0, kStandard = 8, kLastValue = 0x7fffffff } |
| enum | UCFErrorCode { kSuccess = 0, kFailure, kInvalidParam, kNoSuchFile, kOpenFile, kIOFailure, kInvalidURI, kNoSuchAsset, kAssetAlreadyExists, kOperationInProgress, kInvalidOutsideUpdate, kCanceledError } |
| typedef PackageRef * | PackageRefPtr |
Public Member Functions | |
| virtual PackageRefPtr | CreatePackage (const IDFile &file, const AString &mimeType, bool16 createManifest, UCFErrorCode &err)=0 |
| virtual PackageRefPtr | CreatePackage (const IPMStream *stream, const AString &mimeType, bool16 createManifest, UCFErrorCode &err)=0 |
| virtual IPMStream * | CreateStream (PackageRefPtr ref, const WideString &packageRelativePath, CompressionType compress, FileProperty *entryProp=nil)=0 |
| virtual UCFErrorCode | ClosePackage (PackageRefPtr ref)=0 |
| virtual UCFErrorCode | ClosePackageWithoutSave (PackageRefPtr ref)=0 |
| virtual PackageRefPtr | OpenPackage (const IDFile &file, UCFErrorCode &err)=0 |
| virtual PackageRefPtr | OpenPackage (const IPMStream *stream, UCFErrorCode &err)=0 |
| virtual IPMStream * | OpenStream (PackageRefPtr ref, const WideString &packageRelativePath)=0 |
| virtual UCFErrorCode | PackageUCF (const IDFile &FromFolder, IDFile &ToIDMLFile, const WideString &type, bool16 overwriteExisting=kTrue)=0 |
| virtual UCFErrorCode | UnPackageUCF (const IDFile &FromIDMLFile, IDFile &ToFolder)=0 |
| virtual bool16 | FileExists (PackageRefPtr ref, const WideString &packageRelativePath)=0 |
| virtual bool16 | IsUCFPackage (const IDFile &file)=0 |
| virtual UCFErrorCode | ExtractPackage (PackageRefPtr ref, const IDFile &folder)=0 |
| virtual bool16 | AddExistingFile (PackageRefPtr ref, const IDFile &file, const WideString &packageRelativePath)=0 |
| virtual UCFErrorCode | SetPackageComment (PackageRefPtr ref, const WideString &comment)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |