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

Public Types | |
| enum | { kDefaultIID = IID_ILIBRARYASSETCONTENTS } |
| enum | AssetMakeup { kAllUntaggedPageItems = 0, kAllTaggedPageItems, kMixedTaggedAndUntaggedPageItems, kAllStructureElements, kUnknownAssetMakeup } |
Public Member Functions | |
| virtual IPMStream * | QueryDataReadStream ()=0 |
| virtual IPMStream * | QueryDataWriteStream ()=0 |
| virtual void | DeleteData ()=0 |
| virtual void | SetAssetData (const uchar *assetData, int32 assetDatalength)=0 |
| virtual void | SetAssetData (IXferBytes *assetData, int32 assetDatalength)=0 |
| virtual uchar * | GetAssetData () const =0 |
| virtual int32 | GetAssetDatalength () const =0 |
| virtual IDirInfo * | QueryDirInfo () |
| virtual AssetMakeup | GetAssetMakeup ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
A secondary interface to the LibraryAsset boss, this controls reading and writing of the "content" data of an asset.
What's in an asset, with respect to pageitems and/or structure.
| pure virtual |
Deletes the current contents of the asset.
| pure virtual |
Get a pointer to the data block for the asset.
| pure virtual |
Get the length of the data block.
| pure virtual |
Get pageitem/structure mixture data on the asset.
| pure virtual |
Returns a pointer to a stream from which the asset's contents can be read. Pointer must be released by caller. May return nil if no content data exists.
| pure virtual |
Returns a pointer to a stream to which the asset's contents can be written. Pointer must be released by caller. May return nil if no content data exists.
| inlinevirtual |
Get general information on what's in the asset.
| pure virtual |
Sets the data of an asset.
| assetData | IN a pointer to the asset data, in INX snippet form |
| assetDatalength | IN the length of the data block |
| pure virtual |
Sets the data of an asset.
| assetData | IN a pointer to the asset data, in INX snippet form |
| assetDatalength | IN the length of the data block |