QtiPlot 0.9.8.2
|
#include <ExcelFileConverter.h>
Public Member Functions | |
ExcelFileConverter (const QString &fileName, ApplicationWindow *app, bool keepInputFile=false) | |
QString | outputFile () |
Private Slots | |
void | displayJavaError (QProcess::ProcessError error) |
void | displayOfficeError (QProcess::ProcessError error) |
void | finish (int exitCode, QProcess::ExitStatus exitStatus) |
void | startConvertion () |
Private Member Functions | |
void | displayError (const QString &process, QProcess::ProcessError error) |
void | startOpenOfficeServer () |
Private Attributes | |
QString | d_file_name |
bool | d_keep_input_file |
QString | d_output_file |
QProcess * | java |
QProcess * | soffice |
ExcelFileConverter::ExcelFileConverter | ( | const QString & | fileName, |
ApplicationWindow * | app, | ||
bool | keepInputFile = false |
||
) |
References startOpenOfficeServer().
void ExcelFileConverter::displayError | ( | const QString & | process, |
QProcess::ProcessError | error | ||
) | [private] |
Referenced by displayJavaError(), and displayOfficeError().
void ExcelFileConverter::displayJavaError | ( | QProcess::ProcessError | error | ) | [private, slot] |
References displayError(), and java.
Referenced by startConvertion().
void ExcelFileConverter::displayOfficeError | ( | QProcess::ProcessError | error | ) | [private, slot] |
References displayError(), and soffice.
Referenced by startOpenOfficeServer().
void ExcelFileConverter::finish | ( | int | exitCode, |
QProcess::ExitStatus | exitStatus | ||
) | [private, slot] |
References d_file_name, ApplicationWindow::d_jodconverter_path, d_keep_input_file, d_output_file, java, soffice, and startConvertion().
Referenced by startConvertion().
QString ExcelFileConverter::outputFile | ( | ) | [inline] |
References d_output_file.
Referenced by ApplicationWindow::importExcel().
void ExcelFileConverter::startConvertion | ( | ) | [private, slot] |
References d_file_name, ApplicationWindow::d_java_path, ApplicationWindow::d_jodconverter_path, d_keep_input_file, d_output_file, displayJavaError(), finish(), java, and soffice.
Referenced by finish(), and startOpenOfficeServer().
void ExcelFileConverter::startOpenOfficeServer | ( | ) | [private] |
References ApplicationWindow::d_soffice_path, displayOfficeError(), soffice, and startConvertion().
Referenced by ExcelFileConverter().
QString ExcelFileConverter::d_file_name [private] |
Referenced by finish(), and startConvertion().
bool ExcelFileConverter::d_keep_input_file [private] |
Referenced by finish(), and startConvertion().
QString ExcelFileConverter::d_output_file [private] |
Referenced by finish(), outputFile(), and startConvertion().
QProcess * ExcelFileConverter::java [private] |
Referenced by displayJavaError(), finish(), and startConvertion().
QProcess* ExcelFileConverter::soffice [private] |
Referenced by displayOfficeError(), finish(), startConvertion(), and startOpenOfficeServer().