Poppler Qt5
0.74.0
|
#include <poppler-qt5.h>
Public Types | |
enum | Error { NoError, FileLockedError, OpenOutputError, NotSupportedInputFileError } |
Public Member Functions | |
virtual bool | convert ()=0 |
Error | lastError () const |
void | setOutputDevice (QIODevice *device) |
void | setOutputFileName (const QString &outputFileName) |
virtual | ~BaseConverter () |
Base converter.
This is the base class for the converters.
|
pure virtual |
Does the conversion.
Implemented in Poppler::PDFConverter, and Poppler::PSConverter.
Error Poppler::BaseConverter::lastError | ( | ) | const |
Returns the last error.
void Poppler::BaseConverter::setOutputDevice | ( | QIODevice * | device | ) |
Sets the output device.
You must set this or the output file name.
void Poppler::BaseConverter::setOutputFileName | ( | const QString & | outputFileName | ) |
Sets the output file name.
You must set this or the output device.