MagicSmoke
$VERSION$
|
#include "office.h"
#include "misc.h"
#include <QBoxLayout>
#include <QCheckBox>
#include <QComboBox>
#include <QCoreApplication>
#include <QDebug>
#include <QDir>
#include <QFileDialog>
#include <QFileInfo>
#include <QGroupBox>
#include <QLabel>
#include <QLineEdit>
#include <QPrinterInfo>
#include <QProcess>
#include <QPushButton>
#include <QSettings>
Functions | |
static void | confirmPrinter (QString &prn) |
QString | convertOfficeFilePdf (QString fname) |
calls OpenOffice.org to convert an ODF file to PDF; returns the PDF file name on success, empty string on failure More... | |
static QString | getofficepath () |
void | openOfficeFile (QString fname) |
calls OpenOffice.org to open an ODF file More... | |
void | printOfficeFile (QString fname) |
calls OpenOffice.org to print an ODF file More... | |
|
static |
Referenced by printOfficeFile().
QString convertOfficeFilePdf | ( | QString | fname | ) |
calls OpenOffice.org to convert an ODF file to PDF; returns the PDF file name on success, empty string on failure
References getofficepath().
Referenced by MOdtRenderer::renderToPdf().
|
static |
Referenced by convertOfficeFilePdf(), openOfficeFile(), and printOfficeFile().
void openOfficeFile | ( | QString | fname | ) |
calls OpenOffice.org to open an ODF file
References getofficepath().
Referenced by MOdtRenderer::renderToFile().
void printOfficeFile | ( | QString | fname | ) |
calls OpenOffice.org to print an ODF file
References confirmPrinter(), currentDir(), getofficepath(), and setCurrentDir().
Referenced by MOdtRenderer::renderToPrinter().