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

Public Types | |
| enum | { kDefaultIID = IID_IMEDIAREADFORMATINFO } |
Public Member Functions | |
| virtual void | GetFileTypes (OSTypeList *fileTypeList)=0 |
| virtual void | GetExtensions (ExtensionList *extensionList)=0 |
| virtual void | GetFormatName (PMString *formatName)=0 |
| virtual void | GetExternalFlavors (ExternalPMFlavorList *flavorList)=0 |
| virtual MediaType | GetMediaType () const =0 |
| virtual PMString | GetMimeType (MediaLocation loc=MediaLocation())=0 |
| virtual bool16 | CanReadFileType (OSType fileType)=0 |
| virtual bool16 | CanReadExtension (const PMString &extension)=0 |
| virtual const PMString | GetStandardPosterFileName () const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This interface provides metadata for a specific kind of media format. This interface must be supported by all media filters.
| pure virtual |
Tests if a specific extension is recognized by this filter.
| extension | a PMString containing the extension to test. |
| pure virtual |
Tests if a specific file type is recognized by this filter.
| fileType | the OSType to test. |
| pure virtual |
Retrieves a list of extensions that the filter supports.
| extensionList | valid pointer to an ExtensionList object to be populated by this method. |
| pure virtual |
Retrieves a list of external flavors.
Clipboard support: On the Mac, a clipboard flavor/type is equivalent to an OSType. On Windows, to get the clipboard flavor/type you must register the format name with Windows and it will return the format.
| flavorList | valid pointer to an ExternalPMFlavorList object to be populated by this method. |
| pure virtual |
Retrieves a list of file types that the filter supports.
| fileTypeList | valid pointer to an OSTypeList object to be populated by this method. |
| pure virtual |
Retrieves the format name identifier.
| formatName | valid pointer to a PMString object to be populated with the format name string by this method. |
| pure virtual |
Retrieves the MediaType defined in MediaID.h.
| pure virtual |
| pure virtual |
Retrieves the base filename (with jpg extension) of the standard poster to represent the media type.