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

#include <IExportManager.h>

Inheritance diagram for IExportManager:
IPMUnknown

Public Member Functions

virtual void DoExport (IPrintContentPrefs *printContent=nil)=0
 
virtual void ExportBook (IPrintContentPrefs *printContent=nil)=0
 
virtual void ExportPDFDirect (UIFlags uiFlags, UIDRef &uidStyle, IPrintContentPrefs *printContent=nil, const IDFile *sysFilePath=nil, TaskInfo *taskInfo=nil, IDocument *document=nil)=0
 
virtual void ExportIDMLDirect (const UIDRef &docRef, const IDFile *destFile, bool16 bShowUI, TaskInfo *taskInfo=nil)=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 export documents and books from InDesign native formats to some other format(s).

See Also
IExportProvider
IPrintContentPrefs

Member Function Documentation

virtual void IExportManager::DoExport (IPrintContentPrefsprintContent = nil)
pure virtual

Exports the front document to a user selectable format.

Parameters
printContentIN Optional pointer to a structure describing what document content to include in the export.
virtual void IExportManager::ExportBook (IPrintContentPrefsprintContent = nil)
pure virtual

Exports a book to a user selectable format.

Parameters
printContentIN Optional pointer to a structure describing what book content to include in the export.
virtual void IExportManager::ExportIDMLDirect (const UIDRefdocRef,
const IDFiledestFile,
bool16 bShowUI,
TaskInfotaskInfo = nil 
)
pure virtual

Directly exports the specified document to IDML. \ No other export formats are available to choose from when exporting to IDML via this method. \

Parameters
docRefIN UIDRef of the document to export
destFileIN The destination file to export to
bShowUIIN Denotes whether to show UI.
taskInfoOUT Optional pointer to get TaskInfo if export is background process.
virtual void IExportManager::ExportPDFDirect (UIFlags uiFlags,
UIDRefuidStyle,
IPrintContentPrefsprintContent = nil,
const IDFilesysFilePath = nil,
TaskInfotaskInfo = nil,
IDocumentdocument = nil 
)
pure virtual

Directly exports the document to PDF. If no document is specified, export front document \ No other export formats are available to choose from when exporting to PDF via this method. \ Note: If bShowUI is kFalse and uidStyle is kInvalidUID, then the current custom app PDF settings will be used when exporting.

Parameters
uiFlagsIN Denotes setting to show UI.
uidStyleIN UID of the PDF Export style to use when exporting.
printContentIN Optional pointer to a structure describing what document content to include in the export.
sysFilePathIN Optional pointer to path where exported file should be saved.
taskInfoOUT Optional pointer to get TaskInfo if export is background process.
documentIN Optional pointer to document to be converted to PDF.