Archicad 27 C++ API
|
Functions for integrating into the publisher or registering new supported file types. More...
Typedefs | |
typedef GSErrCode | SaveProc(API_SaveMethod method, const char *path, API_UserData *userData, GS::UniString *reportStr) |
Callback function to save document in the newly registered publish format. | |
typedef GSErrCode | SaveOptionProc(API_SaveMethod method, API_UserData *userData) |
Callback function to set different options for the newly registered format. | |
typedef GSErrCode | TranslatorGetterProc(GS::Array< API_TranslatorNameConfig > &arr) |
Callback function to receive the translators for the new registered publish forma. | |
typedef GSErrCode | DefaultTranslatorGetterProc(API_TranslatorNameConfig &def) |
Functions for integrating into the publisher or registering new supported file types.
typedef GSErrCode DefaultTranslatorGetterProc(API_TranslatorNameConfig &def) |
Callback function to receive the default translator for the new registered publish format.
def | [out] The output parameter of this function. This configuration will be set to hold the default translator of the format. |
typedef GSErrCode SaveOptionProc(API_SaveMethod method, API_UserData *userData) |
Callback function to set different options for the newly registered format.
method | [in] Any of Save2DProc,
SaveSectionProc,
Save3DProc, SaveRenderingProc,
SaveTextProc, SaveReportProc,
SaveDrawProc, SaveLayoutProc,
SaveMovie3DProc, SaveMovieRenderingProc,
SaveDetailDrawingProc, SaveIESProc, SaveDocumentFrom3DProc
|
userData | [in] The userData contains the save options given by the Add-On. |
typedef GSErrCode SaveProc(API_SaveMethod method, const char *path, API_UserData *userData, GS::UniString *reportStr) |
Callback function to save document in the newly registered publish format.
method | [in] Any of Save2DProc,
SaveSectionProc,
Save3DProc, SaveRenderingProc,
SaveTextProc, SaveReportProc,
SaveDrawProc, SaveLayoutProc,
SaveMovie3DProc, SaveMovieRenderingProc,
SaveDetailDrawingProc, SaveIESProc, SaveDocumentFrom3DProc
|
path | [in] The path where to save the published file. |
userData | [in] The userData contains the save options given by the Add-On. |
reportStr | [in] The error message if the publishing failed. |
typedef GSErrCode TranslatorGetterProc(GS::Array< API_TranslatorNameConfig > &arr) |
Callback function to receive the translators for the new registered publish forma.
arr | [out] The array which will be filled with translator configurations. |