Poppler::BaseConverter Class Reference

Base converter. More...

#include <poppler-qt4.h>

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

List of all members.

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

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

Does the conversion.

Returns:
whether the conversion succeeded

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

Error Poppler::BaseConverter::lastError (  )  const

Returns the last error.

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

Sets the output device.

You must set this or the output file name.

Since:
0.8
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:

Generated on Sun Oct 18 01:52:17 2009 for Poppler Qt4 by  doxygen 1.6.1