All Frameworks  Class Hierarchy  This Framework  Indexes   

ObjectModelerBase Interface 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.


Method Index


o ExportData(CATUnicodeString,CATUnicodeString)
Defines how to export data from a given area.
o ExportData(CATDocument*,CATUnicodeString)
Defines how to export data of a given document.

Methods


o ExportData
public virtual ExportData( iToExportPath,
iExportedPath)
Defines how to export data from a given area.
Parameters:
iToExportPath
Tje path of the document from which data is to be exported.
iExportedPath
The path describing the storage area where data is to be exported.
o ExportData
public virtual ExportData( iDoc,
iPath)
Defines how to export data of a given document.
Role: Will be called at SaveAs .
Parameters:
iDoc
The given document to be saved.
iPath
The path describing the storage area where data is to be exported.
Note: this path is the one selected in File / SaveAs box dialog.

This object is included in the file: CATIExportTypeManager.h
If needed, your Imakefile.mk should include the module: CATObjectModelerBase

Copyright © 2003, Dassault Systèmes. All rights reserved.