|
Poppler Qt6 25.10.90
|
Typedefs | |
| using | PopplerDebugFunc = void(*)(const QString &, const QVariant &) |
Enumerations | |
| enum class | CryptoSignBackend { NSS , GPG } |
| enum class | CryptoSignBackendFeature { BackendAsksPassphrase } |
Functions | |
| std::optional< CryptoSignBackend > POPPLER_QT6_EXPORT | activeCryptoSignBackend () |
| bool POPPLER_QT6_EXPORT | arePgpSignaturesAllowed () |
| QVector< CryptoSignBackend > POPPLER_QT6_EXPORT | availableCryptoSignBackends () |
| QDateTime | convertDate (const char *dateString) |
| QVector< CertificateInfo > POPPLER_QT6_EXPORT | getAvailableSigningCertificates () |
| QString POPPLER_QT6_EXPORT | getNSSDir () |
| bool POPPLER_QT6_EXPORT | hasCryptoSignBackendFeature (CryptoSignBackend, CryptoSignBackendFeature) |
| bool POPPLER_QT6_DEPRECATED POPPLER_QT6_EXPORT | hasNSSSupport () |
| bool | isCmsAvailable () |
| bool | isOverprintPreviewAvailable () |
| Q_DECLARE_OPERATORS_FOR_FLAGS (CertificateInfo::KeyUsageExtensions) class SignatureValidationInfoPrivate | |
| bool POPPLER_QT6_EXPORT | setActiveCryptoSignBackend (CryptoSignBackend backend) |
| 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) |
| void POPPLER_QT6_EXPORT | setPgpSignaturesAllowed (bool allowed) |
The Poppler Qt6 binding.
| 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.
|
strong |
Possible compiled in backends for signature handling.
|
strong |
| std::optional< CryptoSignBackend > POPPLER_QT6_EXPORT Poppler::activeCryptoSignBackend | ( | ) |
Returns current active backend or nullopt if none is active.
| bool POPPLER_QT6_EXPORT Poppler::arePgpSignaturesAllowed | ( | ) |
| QVector< CryptoSignBackend > POPPLER_QT6_EXPORT Poppler::availableCryptoSignBackends | ( | ) |
The available compiled-in backends.
| QVector< CertificateInfo > POPPLER_QT6_EXPORT Poppler::getAvailableSigningCertificates | ( | ) |
Return vector of suitable signing certificates.
| QString POPPLER_QT6_EXPORT Poppler::getNSSDir | ( | ) |
Gets the current NSS CertDB directory.
| bool POPPLER_QT6_EXPORT Poppler::hasCryptoSignBackendFeature | ( | CryptoSignBackend | , |
| CryptoSignBackendFeature | |||
| ) |
Queries if a backend supports or not supports a given feature.
| bool POPPLER_QT6_DEPRECATED POPPLER_QT6_EXPORT Poppler::hasNSSSupport | ( | ) |
Returns is poppler was compiled with NSS support.
| bool POPPLER_QT6_EXPORT Poppler::setActiveCryptoSignBackend | ( | CryptoSignBackend | backend | ) |
Sets active backend.
| 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.
| debugFunction | the new debug function |
| closure | user data which will be passes as-is to the debug function |
| 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
| void POPPLER_QT6_EXPORT Poppler::setNSSPasswordCallback | ( | const std::function< char *(const char *)> & | f | ) |
Sets the callback for NSS password requests.
| void POPPLER_QT6_EXPORT Poppler::setPgpSignaturesAllowed | ( | bool | allowed | ) |
Allow pgp signatures in pdf files (standard-extension, experimental) Not supported for NSS backend.
| allowed | new value for pgp signatures allowed |