Poppler Qt6 24.07.0
Public Types | Public Member Functions | List of all members
Poppler::BaseConverter Class Referenceabstract

#include <poppler-qt6.h>

Inheritance diagram for Poppler::BaseConverter:
Inheritance graph

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.

Member Function Documentation

◆ convert()

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

Does the conversion.

whether the conversion succeeded

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

◆ setOutputDevice()

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

Sets the output device.

You must set this or the output file name.

◆ 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: