Poppler Qt5  0.81.0
Public Types | Public Member Functions | List of all members
Poppler::PDFConverter Class Reference

#include <poppler-qt5.h>

Inheritance diagram for Poppler::PDFConverter:
Inheritance graph
[legend]
Collaboration diagram for Poppler::PDFConverter:
Collaboration graph
[legend]

Public Types

enum  PDFOption { WithChanges = 0x00000001 }
 
- Public Types inherited from Poppler::BaseConverter
enum  Error { NoError, FileLockedError, OpenOutputError, NotSupportedInputFileError }
 

Public Member Functions

bool convert () override
 
PDFOptions pdfOptions () const
 
void setPDFOptions (PDFOptions options)
 
 ~PDFConverter ()
 
- Public Member Functions inherited from Poppler::BaseConverter
Error lastError () const
 
void setOutputDevice (QIODevice *device)
 
void setOutputFileName (const QString &outputFileName)
 
virtual ~BaseConverter ()
 

Detailed Description

Converts a PDF to PDF (thus saves a copy of the document).

Since
0.8

Member Enumeration Documentation

◆ PDFOption

Options for the PDF export.

Enumerator
WithChanges 

The changes done to the document are saved as well.

Member Function Documentation

◆ convert()

bool Poppler::PDFConverter::convert ( )
overridevirtual

Does the conversion.

Returns
whether the conversion succeeded

Implements Poppler::BaseConverter.


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