mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
DocPage Organizer: create document manipulator
This commit is contained in:
@ -679,6 +679,12 @@ void PDFDocumentBuilder::createDocument()
|
||||
m_storage.setSecurityHandler(PDFSecurityHandlerPointer(new PDFNoneSecurityHandler()));
|
||||
}
|
||||
|
||||
void PDFDocumentBuilder::setDocument(const PDFDocument* document)
|
||||
{
|
||||
m_storage = document->getStorage();
|
||||
m_version = document->getInfo()->version;
|
||||
}
|
||||
|
||||
PDFDocument PDFDocumentBuilder::build()
|
||||
{
|
||||
updateTrailerDictionary(m_storage.getObjects().size());
|
||||
|
Reference in New Issue
Block a user