- 
    Bug 
- 
    Resolution: Incomplete
- 
     Not Evaluated Not Evaluated
- 
    None
- 
    5.9.3, 5.10.0
- 
    None
- 
    Windows 10 64 bits
 
 Powerpoint 2016
 
 Qt 5.9.3 msvc2017 64 bits
 
 
HI,
I try to export a powerpoint file in pdf with the ExportAsFixedFormat method
QAxObject *officeApplication = new QAxObject("Powerpoint.Application");
QAxObject *document = documents->querySubObject("Open(const QString&, bool)", myPPFile, true);
document->querySubObject("ExportAsFixedFormat(QString, PpFixedFormatType)", outputPathWindows, "ppFixedFormatTypePDF");
The output response is :
QAxBase: Error calling IDispatch member ExportAsFixedFormat: Type mismatch in parameter 1
I have print out all the methodSignature() and for {{ExportAsFixedFormat,}}the output gives :
"ExportAsFixedFormat(QString,PpFixedFormatType)"
The same call of ExportAsFixedFormat works with Word and Excel.
if (application == "Word.Application")
         document->querySubObject("ExportAsFixedFormat(QString, WdExportFormat)", outputPathWindows, "wdExportFormatPDF");
    if (application == "Excel.Application")
         document->querySubObject("ExportAsFixedFormat(XlFixedFormatType, QString)", "xlTypePDF", outputPathWindows);
I don't know if it is a bug or something I'm doing wrong.
Sincerely