Poppler Qt6 22.11.0
Classes | Typedefs | Functions
Poppler Namespace Reference

Classes

class  Annotation
 
class  AnnotationAppearance
 
class  BaseConverter
 
class  CaretAnnotation
 
class  CertificateInfo
 
class  Document
 
class  EmbeddedFile
 
class  FileAttachmentAnnotation
 
class  FontInfo
 
class  FontIterator
 
class  FormField
 
class  FormFieldButton
 
class  FormFieldChoice
 
class  FormFieldIcon
 
class  FormFieldSignature
 
class  FormFieldText
 
class  GeomAnnotation
 
class  HighlightAnnotation
 
class  InkAnnotation
 
class  LineAnnotation
 
class  Link
 
class  LinkAction
 
class  LinkAnnotation
 
class  LinkBrowse
 
class  LinkDestination
 
class  LinkExecute
 
class  LinkGoto
 
class  LinkHide
 
class  LinkJavaScript
 
class  LinkMovie
 
class  LinkOCGState
 
class  LinkRendition
 
class  LinkSound
 
class  MovieAnnotation
 
class  MovieObject
 
class  OptContentModel
 
class  OutlineItem
 
class  Page
 
class  PageTransition
 
class  PDFConverter
 
class  PSConverter
 
class  RichMediaAnnotation
 
class  ScreenAnnotation
 
class  SignatureValidationInfo
 
class  SoundAnnotation
 
class  SoundObject
 
class  StampAnnotation
 
class  TextAnnotation
 
class  TextBox
 
class  WidgetAnnotation
 

Typedefs

using PopplerDebugFunc = void(*)(const QString &, const QVariant &)
 

Functions

QDateTime convertDate (const char *dateString)
 
QVector< CertificateInfo > POPPLER_QT6_EXPORT getAvailableSigningCertificates ()
 
QString POPPLER_QT6_EXPORT getNSSDir ()
 
bool POPPLER_QT6_EXPORT hasNSSSupport ()
 
bool isCmsAvailable ()
 
bool isOverprintPreviewAvailable ()
 
 Q_DECLARE_OPERATORS_FOR_FLAGS (CertificateInfo::KeyUsageExtensions) class SignatureValidationInfoPrivate
 
void setDebugErrorFunction (PopplerDebugFunc debugFunction, const QVariant &closure)
 
void POPPLER_QT6_EXPORT setNSSDir (const QString &pathURL)
 
void POPPLER_QT6_EXPORT setNSSPasswordCallback (const std::function< char *(const char *)> &f)
 

Detailed Description

The Poppler Qt6 binding.

Typedef Documentation

◆ PopplerDebugFunc

using Poppler::PopplerDebugFunc = typedef void (*)(const QString & , const QVariant & )

Debug/error function.

This function type is used for debugging & error output; the first parameter is the actual message, the second is the unaltered closure argument which was passed to the setDebugErrorFunction call.

Function Documentation

◆ getAvailableSigningCertificates()

QVector< CertificateInfo > POPPLER_QT6_EXPORT Poppler::getAvailableSigningCertificates ( )

Return vector of suitable signing certificates.

Since
21.01

◆ getNSSDir()

QString POPPLER_QT6_EXPORT Poppler::getNSSDir ( )

Gets the current NSS CertDB directory.

Since
21.01

◆ hasNSSSupport()

bool POPPLER_QT6_EXPORT Poppler::hasNSSSupport ( )

Returns is poppler was compiled with NSS support.

Since
21.01

◆ setDebugErrorFunction()

void Poppler::setDebugErrorFunction ( PopplerDebugFunc  debugFunction,
const QVariant &  closure 
)

Set a new debug/error output function.

If not set, by default error and debug messages will be sent to the Qt qDebug() function.

Parameters
debugFunctionthe new debug function
closureuser data which will be passes as-is to the debug function

◆ setNSSDir()

void POPPLER_QT6_EXPORT Poppler::setNSSDir ( const QString &  pathURL)

Set a custom NSS CertDB directory.

Needs to be called before doing any other signature operation

Since
21.01

◆ setNSSPasswordCallback()

void POPPLER_QT6_EXPORT Poppler::setNSSPasswordCallback ( const std::function< char *(const char *)> &  f)

Sets the callback for NSS password requests.

Since
21.01