QtiPlot  0.9.8.2
Public Member Functions | Private Slots | Private Member Functions | Private Attributes
ExcelFileConverter Class Reference

#include <ExcelFileConverter.h>

List of all members.

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

Constructor & Destructor Documentation

ExcelFileConverter::ExcelFileConverter ( const QString &  fileName,
ApplicationWindow app,
bool  keepInputFile = false 
)

Member Function Documentation

void ExcelFileConverter::displayError ( const QString &  process,
QProcess::ProcessError  error 
)
private
void ExcelFileConverter::displayJavaError ( QProcess::ProcessError  error)
privateslot

References displayError(), and java.

Referenced by startConvertion().

void ExcelFileConverter::displayOfficeError ( QProcess::ProcessError  error)
privateslot

References displayError(), and soffice.

Referenced by startOpenOfficeServer().

void ExcelFileConverter::finish ( int  exitCode,
QProcess::ExitStatus  exitStatus 
)
privateslot
QString ExcelFileConverter::outputFile ( )
inline

References d_output_file.

Referenced by ApplicationWindow::importExcel().

void ExcelFileConverter::startConvertion ( )
privateslot
void ExcelFileConverter::startOpenOfficeServer ( )
private

Member Data Documentation

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
QProcess* ExcelFileConverter::soffice
private

The documentation for this class was generated from the following files: