Poppler Qt5  21.10.0
Classes | 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]

Classes

class  NewSignatureData
 

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)
 
bool sign (const NewSignatureData &data)
 
 ~PDFConverter () override
 
- 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.

◆ sign()

bool Poppler::PDFConverter::sign ( const NewSignatureData data)

Sign PDF at given Annotation / signature form.

Parameters
datanew signature data
Returns
whether the signing succeeded
Since
21.01

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