Poppler Qt5  0.74.0
Public Types | Public Member Functions | List of all members
Poppler::BaseConverter Class Referenceabstract

#include <poppler-qt5.h>

Inheritance diagram for Poppler::BaseConverter:
Inheritance graph
[legend]

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

Detailed Description

Base converter.

This is the base class for the converters.

Since
0.8

Member Function Documentation

◆ convert()

virtual bool Poppler::BaseConverter::convert ( )
pure virtual

Does the conversion.

Returns
whether the conversion succeeded

Implemented in Poppler::PDFConverter, and Poppler::PSConverter.

◆ lastError()

Error Poppler::BaseConverter::lastError ( ) const

Returns the last error.

Since
0.12.1

◆ setOutputDevice()

void Poppler::BaseConverter::setOutputDevice ( QIODevice *  device)

Sets the output device.

You must set this or the output file name.

Since
0.8

◆ setOutputFileName()

void Poppler::BaseConverter::setOutputFileName ( const QString &  outputFileName)

Sets the output file name.

You must set this or the output device.


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