mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Encryption bugfixing (RC4)
This commit is contained in:
@ -72,6 +72,12 @@ struct WrapString
|
||||
|
||||
}
|
||||
|
||||
WrapString(const QByteArray& byteArray) :
|
||||
string(byteArray)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
QByteArray string;
|
||||
};
|
||||
|
||||
@ -421,9 +427,10 @@ public:
|
||||
/// \param annotationReference Annotation reference
|
||||
void copyAnnotation(PDFObjectReference pageReference, PDFObjectReference annotationReference);
|
||||
|
||||
/// Sets security handler to the object storage. Trailer dictionary is not
|
||||
/// updated and so must be updated manually.
|
||||
/// \param handler New security handler
|
||||
/// Sets security handler to the object storage. Trailer dictionary is also
|
||||
/// updated, so it is not needed to update it. Pass nullptr as handler to remove
|
||||
/// security.
|
||||
/// \param handler New security handler, or nullptr
|
||||
void setSecurityHandler(PDFSecurityHandlerPointer handler);
|
||||
|
||||
/* START GENERATED CODE */
|
||||
|
Reference in New Issue
Block a user