![]() | InDesign SDK 20.5 |

Public Member Functions | |
| CHMLFiltExportProvider (IPMUnknown *boss) | |
| virtual | ~CHMLFiltExportProvider (void) |
| virtual void | ExportToFile (const IDFile &sysFile, IDocument *doc, IPMUnknown *targetboss, const PMString &formatName, UIFlags uiFlags=kFullUI) |
| virtual void | ExportToStream (IPMStream *stream, IDocument *doc, IPMUnknown *targetboss, const PMString &formatName, UIFlags uiFlags=kFullUI) |
| virtual bool16 | CanExportToFile (void) const |
| virtual bool16 | CanExportThisFormat (IDocument *doc, IPMUnknown *targetboss, const PMString &formatName) |
| virtual bool16 | CanExportForExternalize (void) const |
| virtual PMFlavor | GetInternalFlavor (void) const |
| virtual int32 | CountExternalFlavors (void) const |
| virtual ExternalPMFlavor | GetExternalFlavor (int32 n) const |
| virtual bool16 | CanExportThisFlavor (const ExternalPMFlavor &flavor, PMString &outFormatName) const |
| virtual ErrorCode | ExportForExternalize (IDataExchangeHandler *handler, const ExternalPMFlavor toWhichFlavor, IPMStream *stream) |
| virtual PMString | GetNthFormatName (int32 n) |
| virtual int32 | CountFormats (void) |
| virtual PMString | GetExtensionForFormatName (const PMString &formatName) |
| virtual ScriptID | GetScriptIDForFormatName (const PMString &formatName, const ScriptInfo::RequestContext &context) |
Public Member Functions inherited from CExportProvider | |
| CExportProvider (IPMUnknown *boss) | |
| virtual TaskInfo | AsynchronousExportToFile (const IDFile &sysFile, IDocument *doc, IPMUnknown *targetboss, const PMString &formatName, UIFlags uiFlags=kFullUI) |
| virtual bool16 | CanExportToFileAsynchronously () const |
Public Member Functions inherited from CPMUnknown< IExportProvider > | |
| IPMUnknown * | QueryInterface (PMIID interfaceID) const |
| void | AddRef () const |
| void | Release () const |
| void | PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| void | PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| CPMUnknown (const CPMUnknown &)=delete | |
| CPMUnknown & | operator= (const CPMUnknown &)=delete |
Export | |
Clipboard/DragDrop Export | |
Internal File Based Formats | |
Additional Inherited Members | |
Public Types inherited from IExportProvider | |
| enum | { kDefaultIID = IID_IEXPORTPROVIDER } |
Protected Member Functions inherited from CExportProvider | |
| virtual bool16 | IsTargetFileInUseByBGTasks (const IDFile &sysFile) const |
| virtual UserTaskJobSpec | CreateExportJobSpec (const IDFile &sysFile, IDocument *document, const PMString &formatName) const |
| virtual void | GetUniqueSysFile (IDocument *document, const IDFile *sysFileName, IDFile *uniqueSysFileName, uint32 pageNum, IOutputPages *outputPages, bool16 exportSpreads, PMString &suffix, PMString &exportFileExtension) |
Protected Attributes inherited from CExportProvider | |
| ExportSessionToken | fSessionToken |
| std::map< std::string, int32 > | fFileNameMap |
Class that implements IExportProvider to enable the geometry and images in a layout to be exported.
| Binds the C implementation class onto its ImplementationID making the C code callable by the application * CHMLFiltExportProvider::CHMLFiltExportProvider | ( | IPMUnknown * | boss | ) |
Constructor.
| boss | interface ptr from boss object on which this interface is aggregated. |
| virtual |
Destructor.
| virtual |
The provider indicates whether it export for externalize- i.e. data transfer (not supported by this implementation).
Reimplemented from CExportProvider.
| virtual |
For Clip/Drag operations, the format type, if any, that would be used to produce the desired external flavor (not supported by this implementation).
| flavor | IN |
| outFormatName | IN |
Reimplemented from CExportProvider.
| virtual |
The export provider indicates whether it can export the current selection target in the specified file format.
| doc | IN document containing content to export |
| targetboss | IN means to acquire selection target (if not nil) |
| formatName | IN identifies format for export |
Implements IExportProvider.
| virtual |
The provider indicates whether it can do normal file based exports.
Reimplemented from CExportProvider.
| virtual |
For Clip/Drag operations, the count of external flavors that this exporter could produce (not supported by this implementation).
Reimplemented from CExportProvider.
| virtual |
Returns the number of file formats supported by this export provider.
Implements IExportProvider.
| virtual |
Externalize the given data to a stream (not supported by this implementation).
| handler | IN |
| toWhichFlavor | IN |
| stream | OUT data is written to this stream |
Reimplemented from CExportProvider.
| virtual |
Export the current selection to a file using the given filename. Generate the specified file
format. The calling code verifies that the file does not exist.
| sysFile | IN specifies the location of file to export to |
| doc | IN document containing content to export |
| targetboss | IN means to acquire selection target (if not nil) |
| formatName | IN |
| uiFlags | IN |
Reimplemented from CExportProvider.
| virtual |
Export the current selection to a stream.
| stream | IN stream to write to |
| doc | IN document containing content to export |
| targetboss | IN means to acquire selection target (if not nil) |
| formatName | IN identifies the format |
| uiFlags | IN what UI should be used |
Implements IExportProvider.
Returns the extension of the nth file format supported by this export provider.
| formatName | IN name of format we're seeking extension for |
Implements IExportProvider.
| virtual |
For Clip/Drag operations, acquire external flavor by index (not supported by this implementation).
| n | IN index of external flavour of interest |
Reimplemented from CExportProvider.
| virtual |
For Clip/Drag operations, the internal flavor that this exporter operates on (not supported by this implementation).
Reimplemented from CExportProvider.
| virtual |
Returns the name (localized string) of the nth file format supported by this export provider.
| n | IN specifies format index of interest |
Implements IExportProvider.
| virtual |
Returns the ScriptID for the given format's enumerator in the kExportFormatEnumScriptElement
| formatName | IN Format name whose ScriptID to return |
| context | is the scripting request context |
GetScriptIDForFormatName
Implements IExportProvider.