4 midl_pragma warning(disable:2111)
10import "EwObjectBaseObjects.idl";
18 uuid(9AF0A2A1-FF19-47F8-9EC7-BFD20499CF6E),
22 helpstring(
"IEwProjectPrintConfigX Interface"),
23 pointer_default(unique)
494 uuid(151AECB0-06B4-4090-9229-B2F4F01FE360),
498 helpstring(
"IEwProjectPrintConfigManagerX Interface"),
499 pointer_default(unique)
639 uuid(910619A2-421C-4F95-A196-F8685C628BD9),
643 helpstring(
"IEwProjectExportDWGFilesX Interface"),
644 pointer_default(unique)
750 uuid(415A3B4B-F774-41DD-8495-83BE794AB6A7),
753 helpstring(
"IEwProjectExportPDMX Interface"),
754 pointer_default(unique)
818 uuid(5C9D486B-EE01-4C6E-8585-68E392CA4A16),
821 helpstring(
"IEwProjectReportX Interface"),
822 pointer_default(unique)
920 uuid(9795C977-F5E4-4FA5-B527-A28E6D58C1BA),
923 helpstring(
"IEwProjectReportManagerX Interface"),
924 pointer_default(unique)
991 uuid(877D3846-16D9-4730-9FFB-1A396B873DE1),
994 pointer_default(unique)
1329 uuid(E070B6E8-63CC-4C26-B96D-A048122CC774),
1332 pointer_default(unique)
1406 uuid(3efe1ef7-fc16-45e1-817b-b13428fba5ba),
1408 helpstring(
"Use this interface to manage the Excel Automation inside the project."),
1410 pointer_default(unique)
1518 uuid(36ba15fb-8d9f-4a70-9d22-c7274b2ef60f),
1520 helpstring(
"Use this interface to export in PDF the current project files."),
1522 pointer_default(unique)
EwTextIdentifer
Text identifier options.
Definition: EnumDefinition.idl:203
EwTextSeparator
Text separator options.
Definition: EnumDefinition.idl:215
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
EwPDFPaperFormat
All standard PDF paper format types.
Definition: EwEnumeration.idl:1071
EwDwgFileExport
All possible export DWG file type for a project.
Definition: EwEnumeration.idl:487
EwTSDrawingOption
Define behavior when updating terminal strip drawings.
Definition: EwEnumeration.idl:786
EwProjectDataExportType
All data export configuration.
Definition: EwEnumeration.idl:497
EwStandardScaleType
All standard print drawing scale type.
Definition: EwEnumeration.idl:1023
EwFileExtension
All file types extension.
Definition: EwEnumeration.idl:554
EwPageOrientation
All Page orientation.
Definition: EwEnumeration.idl:513
EwPlotArea
All plot area type.
Definition: EwEnumeration.idl:1130
This interface is a generic interface for standard object methods.
Definition: EwObjectBaseObjects.idl:97
Use this interface to manage the Excel Automation inside the project.
Definition: EwProjectExportObjects.idl:1413
EwErrorCode doExcelAutomation()
Start the Excel Automation.
EwErrorCode setLogFilePath(BSTR strLogFilePath)
Specify the Log file path.
EwErrorCode setExcelFilePath(BSTR strExcelFilePath)
Specify the full path to the Excel file for automation.
BSTR getExcelFilePath(EwErrorCode *errorCode)
Return the full path to the Excel file for automation.
EwErrorCode setGenerateLog(VARIANT_BOOL bGenerateLog)
Specify if a log file is generated.
VARIANT getEwResumeRowXArray(EwErrorCode *errorCode)
Return an array of EwResumeRowX that contains all Log from the last excel automation launch.
BSTR getLogFilePath(EwErrorCode *errorCode)
Return The log file path for Excel automation.
VARIANT_BOOL getGenerateLog(EwErrorCode *errorCode)
Return True if a log is generated.
Use this interface to manage export DWG files inside a project.
Definition: EwProjectExportObjects.idl:646
EwErrorCode setExportDwgSelectionFiles(VARIANT aFolioArray)
Set the files to export with the files ID specify in the input array.
EwErrorCode setGenerateAutomatedDrawings(VARIANT_BOOL bGenerateAutomatedDrawings)
Option to update all generated files like Terminal strips or Reports which have been added to the pro...
VARIANT_BOOL getGenerateAutomatedDrawings(EwErrorCode *errorCode)
Option to update all generated files like Terminal strips or Reports which have been added to the pro...
EwErrorCode setExportDirectory(BSTR strExportDirectory)
Update the export directory path.
EwErrorCode setStrFileNameFormula(BSTR strFileNameFormula)
Update the formula for naming dwg file.
EwErrorCode exportDwg(EwDwgFileExport eExportType)
Export previously selected files.
BSTR getExportDirectory(EwErrorCode *errorCode)
Return the export directory path.
Use this interface to export file in PDF inside a project.
Definition: EwProjectExportObjects.idl:1525
BSTR getExportToPDFFileName(EwErrorCode *errorCode)
Get the export to PDF file path.
EwErrorCode setUseSHXFontAsGeometry(VARIANT_BOOL bExportPdfSHXAsGeometry)
Option used to export SHX text as geometry.
EwErrorCode setEwPageOrientation(EwPageOrientation ewPageOrientation)
Update the page orientation.
EwErrorCode setGenerateAutomatedDrawings(VARIANT_BOOL bGenerateAutomatedDrawings)
Option to update all generated files like Terminal strips or Reports which have been added to the pro...
EwStandardScaleType getStandardScaleType(EwErrorCode *errorCode)
Get the scale type EwStandardScaleType enumeration value for export PDF file.
EwErrorCode exportPDF()
Export PDF files inside this project.
EwErrorCode setPaperFormat(EwPDFPaperFormat ePDFPaperFormat)
Update the paper format with a new name.
EwErrorCode setEwPlotArea(EwPlotArea ePlotArea)
Set the plot area in print configuration.
VARIANT_BOOL getUsingStyleSheet(EwErrorCode *errorCode)
Return true to use style sheet.
VARIANT_BOOL getUseSHXFontAsGeometry(EwErrorCode *errorCode)
Return true to export SHX text as geometry.
double getPaperScaleUnit(EwErrorCode *errorCode)
Get the paper scale unit for the scale type, or a custom paper scale type.
EwErrorCode setUsingStyleSheet(VARIANT_BOOL bUsingStyleSheet)
Update with true to use style sheet.
EwPlotArea getEwPlotArea(EwErrorCode *errorCode)
Get the plot area.
long getCustomBitmapResolution(EwErrorCode *errorCode)
Get the bitmap resolution in the pdf exported.
EwErrorCode setUseTrueTypeFontAsGeometry(VARIANT_BOOL bExportPdfTTFAsGeometry)
Option used to export TTF text as geometry.
VARIANT_BOOL getExportToPDFBookmarkAndHyperlink(EwErrorCode *errorCode)
Return true to export PDF bookmark and hyperlink.
EwErrorCode setDrawingScaleUnit(double dDrawingScaleUnit)
Update the drawing scale unit for custom drawing scale type.
double getDrawingScaleUnit(EwErrorCode *errorCode)
Get the drawing scale unit for the the scale type, or a custom drawing scale type.
VARIANT_BOOL getAllProjectFiles(EwErrorCode *errorCode)
Return true to export all project files.
EwErrorCode setStyleSheetName(BSTR strStyleSheetName)
Update the style sheet name with a new name.
EwErrorCode setPlotWithSymmetry(VARIANT_BOOL bPlotWithSymmetry)
Update the export PDF file with symmetry.
VARIANT_BOOL getIncludeDataFile(EwErrorCode *errorCode)
Return true to include data files.
EwPageOrientation getEwPageOrientation(EwErrorCode *errorCode)
Return the page orientation to the PDF file export.
EwErrorCode setSelectionFiles(VARIANT aFolioArray)
Set the files to export with the files ID specify in the input array.
VARIANT_BOOL getUseTrueTypeFontAsGeometry(EwErrorCode *errorCode)
Return true to export TTF text as geometry.
EwErrorCode setStandardScaleType(EwStandardScaleType eEwStandardScaleType)
Update the Scale Type with an EwStandardScaleType enumeration value.
BSTR getStyleSheetName(EwErrorCode *errorCode)
Get the style sheet name of the export.
EwErrorCode setExportToPDFBookmarkAndHyperlink(VARIANT_BOOL bExportToPDFBookmarkAndHyperlink)
Update with true to export PDF bookmark and hyperlink.
EwErrorCode setExportOnePDFFileByBook(VARIANT_BOOL bExportOnePDFFileByBook)
Update with true to export one PDF file by book.
EwErrorCode setExportToPDFFileName(BSTR strExportToPDFFilePath)
Set the export to PDF file path.
EwErrorCode setAllProjectFiles(VARIANT_BOOL bAllProjectFiles)
Update with true to export all project files.
EwErrorCode setUseCustomBitmapResolution(VARIANT_BOOL bCustomBitmapResolution)
Set to true to use custom bitmap resolution in PDF to export.
EwErrorCode setCustomBitmapResolution(long lBitmapResolution)
Set the bitmap resolution in the pdf exported.
EwErrorCode setPaperScaleUnit(double dPaperScaleUnit)
Update the paper scale unit for custom paper scale type.
EwErrorCode initializeFromPrintProjectConfiguration()
Initialize the export PDF from the print project configuration "<PDF>".
VARIANT getSelectionFiles(EwErrorCode *errorCode)
Return the files to export in an array This parameter is used if "all project files" option is set to...
EwPDFPaperFormat getPaperFormat(EwErrorCode *errorCode)
Get the enum EwPDFPaperFormat paper format of the PDF export files.
EwErrorCode setIncludeDataFile(VARIANT_BOOL bIncludeDataFile)
Option used to include data files.
VARIANT_BOOL getPlotWithSymmetry(EwErrorCode *errorCode)
Return true to export PDF file with symmetry, false for standard export.
VARIANT_BOOL getUseCustomBitmapResolution(EwErrorCode *errorCode)
Indicate if custom bitmap resolution is use in PDF to export.
VARIANT_BOOL getExportOnePDFFileByBook(EwErrorCode *errorCode)
Return true to export one PDF file by book.
VARIANT_BOOL getGenerateAutomatedDrawings(EwErrorCode *errorCode)
Return the option to update all generated files like Terminal strips or Reports which have been added...
Use this interface to manage the command "Export to PDM".
Definition: EwProjectExportObjects.idl:756
EwErrorCode exportToPDM()
Run the command "Export to PDM" using the default configuration file or the one defined in setPDMConf...
EwErrorCode setOutputFolderPath(BSTR strOutputFolderPath)
Set the output folder path where all files will be exported.
EwErrorCode setPDMConfigFilePath(BSTR strPDMConfigFilePath)
Update the PDM config file.
BSTR getOutputFolderPath(EwErrorCode *errorCode)
Return the output folder path where all files will be exported.
BSTR getPDMConfigFilePath(EwErrorCode *errorCode)
Return the PDM config file name.
Use this interface to manage the export reports used inside the project.
Definition: EwProjectExportObjects.idl:997
EwProjectDataExportType getEwProjectDataExportType(EwErrorCode *errorCode)
Return the type of report to export.
EwErrorCode doGenerateDrawings()
Generate project report drawings.
VARIANT getEwProjectReportIDArray(EwErrorCode *errorCode)
Return array of ID of EwProjectReport objects.
LONG getBookOrFolderId(EwErrorCode *errorCode)
Return the selected book id or folder id.
EwErrorCode setExportAllReports(VARIANT_BOOL bExportAllReports)
Set this flag to true to export all reports of the project.
EwErrorCode setBookOrFolderId(long lBookOrFolderId)
Set the id of the destination folder or book where the reports will be exported.
VARIANT_BOOL getExportAllReports(EwErrorCode *errorCode)
Indicate if all reports of the project must be exported.
BSTR getTargetFolder(EwErrorCode *errorCode)
Return the exported target folder path.
EwErrorCode doExcelExport()
Export reports in Excel type.
EwErrorCode setOneSheetByBreak(VARIANT_BOOL bOneSheetByBreak)
Set this flag to true to export one sheet by break.
VARIANT_BOOL getOneSheetByBreak(EwErrorCode *errorCode)
Indicate if the export will create one sheet by break.
EwErrorCode setIncludeColumnHeader(VARIANT_BOOL bIncludeColumnHeader)
Set this flag to true if you want column header exported on the first row.
VARIANT_BOOL getAddCreatedFileToProject(EwErrorCode *errorCode)
Indicates if exported files will be added to the project.
EwErrorCode setTargetFolder(BSTR strFolderPath)
Update the exported target folder path.
EwTextSeparator getEwTextSeparator(EwErrorCode *errorCode)
Return the text separator for text export ofreports.
EwFileExtension getEwFileExtension(EwErrorCode *errorCode)
Return the type of the report file extension.
EwErrorCode doXMLExport()
Export reports in XML type.
EwErrorCode setEwTextIdentifer(EwTextIdentifer eTextIdentifier)
Update the text identifier for text export of reports.
EwErrorCode setEwFileExtension(EwFileExtension eFileExtension)
Update the report type file extension.
EwErrorCode setEwProjectReportIDArray(VARIANT vProjectReportIDArray)
Set array of ID of EwProjectReport objects.
EwErrorCode doTxtExport()
Export reports in Txt type.
VARIANT_BOOL getIncludeColumnHeader(EwErrorCode *errorCode)
Indicate if column header is exported on the first row.
EwErrorCode setAddCreatedFileToProject(VARIANT_BOOL bAddCreatedFileToProject)
Set this value to true to add exported files to the project.
EwErrorCode setEwProjectDataExportType(EwProjectDataExportType eProjectDataExportType)
Update the type of report to export.
EwErrorCode setEwTextSeparator(EwTextSeparator eTextSeparator)
Update the text separator for text export of reports.
VARIANT_BOOL getOpenFile(EwErrorCode *errorCode)
Indicate if reports will be opened after the export.
EwTextIdentifer getEwTextIdentifer(EwErrorCode *errorCode)
Return the text identifier for text export of reports.
EwErrorCode setOpenFile(VARIANT_BOOL bOpenFile)
Set this flag to true if you want to open the reports after the export.
Use this interface to manage the generation of terminal strip drawing inside the project.
Definition: EwProjectExportObjects.idl:1335
EwTSDrawingOption getDrawingOption(EwErrorCode *errorCode)
Get the drawing option.
EwErrorCode setDestinationBookOrFolderID(long lEwProjectComponentID, long lEwBookOrFolderID)
Specify the destination book or folder when generating terminal strip drawings.
EwErrorCode setDrawingOption(EwTSDrawingOption eTSDrawingOption)
Define the behavior when a terminal strip is already drawn and destination folder has changed.
EwErrorCode generate()
Go through all the terminal strips of the project and generate terminal strip drawings if terminal st...
long getDestinationBookOrFolderID(long lEwProjectComponentID, EwErrorCode *errorCode)
Indicates the destination book associated to a component ID.
Use this interface to manage a print configuration manager inside a project.
Definition: EwProjectExportObjects.idl:501
IEwProjectPrintConfigX findProjectPrintConfigByName(BSTR strPrintConfigName, EwErrorCode *errorCode)
Get the print configuration from name, for associated project.
IEwProjectPrintConfigX duplicateEwProjectPrintConfig(LONG lID, EwErrorCode *errorCode)
Create an IEwProjectPrintConfigX object with an existant IEwProjectPrintConfigX object from the assoc...
VARIANT getPrinterPaperSourcesArray(BSTR strPrinterName, EwErrorCode *errorCode)
Return the array of string of paper sources.
IEwProjectPrintConfigX newEwProjectPrintConfig(EwErrorCode *errorCode)
Create an IEwProjectPrintConfigX object from the associated project.
VARIANT getPrinterNamesArray(EwErrorCode *errorCode)
Return the array of string of printers name.
VARIANT getProjectPrintConfigArray(EwErrorCode *errorCode)
Return the array of IEwProjectPrintConfigX of given type for associated project.
VARIANT getPrinterPaperFormatsArray(BSTR strPrinterName, EwErrorCode *errorCode)
Return the array of string of paper formats.
VARIANT getPdfExportPaperFormatsArray(EwErrorCode *errorCode)
Return the array of string of paper formats for the PDF export.
VARIANT getSheetStylesArray(EwErrorCode *errorCode)
Return an array of string of all available plot style tables.
VARIANT getScaleValuesArray(EwErrorCode *errorCode)
Return the array of string of scale values.
LONG getCount(EwErrorCode *errorCode)
Return the number of print configuration of associated project.
IEwProjectPrintConfigX findProjectPrintConfigByID(LONG lID, EwErrorCode *errorCode)
Get the print configuration from ID, for associated project.
Use this interface to manage a print configuration inside a project.
Definition: EwProjectExportObjects.idl:26
EwErrorCode setPrintWithSymmetry(VARIANT_BOOL bPrintWithSymmetry)
Update the print with symmetry.
VARIANT_BOOL getGenerateAutomatedDrawings(EwErrorCode *errorCode)
Option to update all generated files like Terminal strips or Reports which have been added to the pro...
EwErrorCode setPrintCopiesNumber(int nCopiesNumbery)
Update the number of copies to print.
double getPrintPaperScaleUnit(EwErrorCode *errorCode)
Get the paper scale unit for the scale type, or a custom paper scale type.
EwStandardScaleType getPrintStandardScaleType(EwErrorCode *errorCode)
Get the scale type EwStandardScaleType enumeration value of the config print.
EwErrorCode setGenerateAutomatedDrawings(VARIANT_BOOL bGenerateAutomatedDrawings)
Option to update all generated files like Terminal strips or Reports which have been added to the pro...
EwErrorCode setPrintPaperScaleUnit(double dPrintPaperScaleUnit)
Update the paper scale unit for custom paper scale type.
EwErrorCode setPrintConfigName(BSTR strPrintConfigName)
Update the config name with a new unique name.
EwErrorCode print()
Print project.
VARIANT_BOOL getPrintUsingStyleSheet(EwErrorCode *errorCode)
Return true to print using style sheet.
VARIANT_BOOL getPrintWithSymmetry(EwErrorCode *errorCode)
Return true to print with symmetry, false for standard print.
BSTR getPrintStyleSheetName(EwErrorCode *errorCode)
Get the style sheet name of the config print.
EwErrorCode setPrintSelectionFiles(VARIANT vFolioArray)
Set the files to print with the files ID specify in the input array.
double getPrintDrawingScaleUnit(EwErrorCode *errorCode)
Get the drawing scale unit for the the scale type, or a custom drawing scale type.
VARIANT_BOOL getPrintAllProjectFiles(EwErrorCode *errorCode)
Return true to print all project files.
EwPageOrientation getEwPageOrientation(EwErrorCode *errorCode)
Return the page orientation of the config print.
BSTR getPrintConfigName(EwErrorCode *errorCode)
Get the config name of the config print.
VARIANT getPrintSelectionFiles(EwErrorCode *errorCode)
Return the files to print in an array This parameter is used if "all project files" option is set to ...
EwErrorCode setInversePrintOrder(VARIANT_BOOL bInversePrintOrder)
Update the inverse print order.
EwErrorCode setPrintStyleSheetName(BSTR strPrintStyleSheetName)
Update the style sheet name with a new name.
EwErrorCode setPrinterName(BSTR strPrinterName)
Update the printer name with a new name.
EwErrorCode setPrintAllProjectFiles(VARIANT_BOOL bPrintAllProjectFiles)
Update with true to print all project files.
EwErrorCode setEwPageOrientation(EwPageOrientation ePageOrientation)
Update the page orientation.
BSTR getPaperFormat(EwErrorCode *errorCode)
Get the paper format of the config print.
EwErrorCode setPrintCollate(VARIANT_BOOL bPrintCollate)
Update with true to print collate, or with false for standard print or numbers of copies is 1.
int getPrintCopiesNumber(EwErrorCode *errorCode)
Return the number of copies to print.
EwPlotArea getEwPlotArea(EwErrorCode *errorCode)
Get the plot area in print configuration.
VARIANT_BOOL getInversePrintOrder(EwErrorCode *errorCode)
Return true to print from last page, false to print from first page.
BSTR getPrinterName(EwErrorCode *errorCode)
Get the printer name of the config print.
EwErrorCode setEwPlotArea(EwPlotArea ePlotArea)
Set the plot area in print configuration.
EwErrorCode setPrintStandardScaleType(EwStandardScaleType eStandardScaleType)
Update the Scale Type with an EwStandardScaleType enumeration value.
BSTR getPaperSource(EwErrorCode *errorCode)
Get the paper source of the config print.
EwErrorCode setPaperFormat(BSTR strPaperFormat)
Update the paper format with a new name.
VARIANT_BOOL getPrintCollate(EwErrorCode *errorCode)
Return true to print collate, false for standard print or numbers of copies is 1.
EwErrorCode setPaperSource(BSTR strPaperSource)
Update the paper source.
EwErrorCode setPrintUsingStyleSheet(VARIANT_BOOL bPrintUsingStyleSheet)
Update with true to print using style sheet.
EwErrorCode setPrintdrawingScaleUnit(double dPrintdrawingScaleUnit)
Update the drawing scale unit for custom drawing scale type.
Use this interface to manage for reports used inside the project.
Definition: EwProjectExportObjects.idl:927
IEwProjectReportX find(BSTR strFileName, BSTR strFilterName, EwErrorCode *errorCode)
Find a report from his file name and a filter name.
IEwProjectReportX at(int iIndex, EwErrorCode *errorCode)
Return an IEwProjectReportX object from the associated project.
IEwProjectReportX findProjectPrintReportByID(LONG lID, EwErrorCode *errorCode)
Find a report from his ID.
LONG getCount(EwErrorCode *errorCode)
Return the number of reports of associated project.
IEwProjectReportX newEwProjectReport(EwErrorCode *errorCode)
Create an IEwProjectReportX object from the associated project.
Use this interface to manage the report used inside the project.
Definition: EwProjectExportObjects.idl:825
BSTR getFilter(EwErrorCode *errorCode)
Return the filter name of the report used inside the project.
EwErrorCode setFilter(BSTR strFilter)
Update the filter name of the report used inside the project.
EwErrorCode setReportFileName(BSTR strReportFileName)
Update the ReportFileName name of the report used inside the project.
EwProjectDataExportType getEwProjectDataExportType(EwErrorCode *errorCode)
Return the type of the report used inside the project.
EwErrorCode setOrderNo(LONG lOrderNo)
Update the Order No of thereport used inside the project.
BSTR getReportFileName(EwErrorCode *errorCode)
Return the Report FileName of the report used inside the project.
LONG getOrderNo(EwErrorCode *errorCode)
Return the Order No of the report used inside the project.