InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IStoreInternal Class Referenceabstract

#include <IStoreInternal.h>

Inheritance diagram for IStoreInternal:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ISTOREINTERNAL }
 

Public Member Functions

virtual void ReadWrite (IPMStream *s, ImplementationID prop)=0
 
virtual int32 StoreFile (IDFile *file)=0
 
virtual void RemoveFile ()=0
 
virtual UID GetStoredUID ()=0
 
virtual void SetStoredUID (UID storedUID)=0
 
virtual int32 StoreStream (IPMStream *fileStreamRead)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Interface used to create and manage a data blob object with data from a file or stream.

Most commonly used when embedding links into the document.

Member Function Documentation

virtual UID IStoreInternal::GetStoredUID ()
pure virtual

Returns the stored data blob UID.

virtual void IStoreInternal::ReadWrite (IPMStreams,
ImplementationID prop 
)
pure virtual

Persistence-related method for saving or restoring the state of this object instance.

Parameters
iPMStreamIN Stream to read the instance data from or write the instance data to.
propIN The implementation id.
virtual void IStoreInternal::RemoveFile ()
pure virtual

Deletes the stored data blob UID.

virtual void IStoreInternal::SetStoredUID (UID storedUID)
pure virtual

Sets the stored data blob UID to the given UID.

Parameters
storedUIDIN Data blob UID to store in this object.
virtual int32 IStoreInternal::StoreFile (IDFilefile)
pure virtual

Stores the contents of the given file into a new data blob object. The UID stored by this object is updated to the UID of the new data blob object

Parameters
fileIN File to read contents from.
Returns
0 if success.
virtual int32 IStoreInternal::StoreStream (IPMStreamfileStreamRead)
pure virtual

Stores the contents of the given stream into a new data blob object. The UID stored by this object is updated to the UID of the new data blob object

Parameters
fileStreamReadIN Stream to read contents from.
Returns
0 if success.