mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Encryption settings dialog, authorization as owner
This commit is contained in:
@ -449,11 +449,6 @@ public:
|
||||
/// header.
|
||||
QByteArray getVersion() const;
|
||||
|
||||
private:
|
||||
friend class PDFDocumentReader;
|
||||
friend class PDFDocumentBuilder;
|
||||
friend class PDFOptimizer;
|
||||
|
||||
explicit PDFDocument(PDFObjectStorage&& storage, PDFVersion version) :
|
||||
m_pdfObjectStorage(std::move(storage))
|
||||
{
|
||||
@ -462,6 +457,11 @@ private:
|
||||
m_info.version = version;
|
||||
}
|
||||
|
||||
private:
|
||||
friend class PDFDocumentReader;
|
||||
friend class PDFDocumentBuilder;
|
||||
friend class PDFOptimizer;
|
||||
|
||||
/// Initialize data based on object in the storage.
|
||||
/// Can throw exception if error is detected.
|
||||
void init();
|
||||
|
Reference in New Issue
Block a user