All Frameworks Class Hierarchy This Framework Previous Next Indexes
System.IUnknown | +---System.IDispatch | +---System.CATBaseUnknown | +---CATIExportTypeManager
Usage: you can freely reimplement this interface.
interface CATIExportTypeManager
Interface to export a given format to an another one.
Usage : to be able to save an existing document
in a specific format, you have to :
1. add a new declaration in your dictionary:
DocumentType_MyFormat CATIExportTypeManager libXXX
For example, if you want to save a CATProduct document to a "MyFormat"
format, you would declare CATProduct_MyFormat in the dictionary.
The new dictionary declaration will cause "MyFormat" to appear in the list of
document types in the File/SaveAs panel.
2. implement the ExportData method of CATIExportTypeManager in order to
specify the way the "MyFormat"-type document is to be saved.
public virtual HRESULT ExportData( | CATDocument* | iDoc, |
CATUnicodeString | iPath)= 0 |
public virtual HRESULT ExportData( | CATUnicodeString | iToExportPath, |
CATUnicodeString | iExportedPath)= 0 |
Copyright © 2003, Dassault Systèmes. All rights reserved.