MagicSmoke  $VERSION$
office.h File Reference
#include <QString>
#include <QDialog>
#include "commonexport.h"

Go to the source code of this file.

Classes

class  MOfficeConfig
 configuration dialog for OpenOffice access More...
 

Functions

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...
 
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...
 

Function Documentation

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().

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().