Reading pages

This commit is contained in:
Jakub Melka
2018-12-26 18:00:17 +01:00
parent 5db77f810a
commit 9239d663e6
7 changed files with 363 additions and 2 deletions

View File

@ -54,6 +54,7 @@ PDFCatalog PDFCatalog::parse(const PDFObject& catalog, const PDFDocument* docume
PDFCatalog catalogObject;
catalogObject.m_viewerPreferences = PDFViewerPreferences::parse(catalog, document);
catalogObject.m_pages = PDFPage::parse(document, catalogDictionary->get("Pages"));
catalogObject.m_pageLabels = PDFNumberTreeLoader<PDFPageLabel>::parse(document, catalogDictionary->get("PageLabels"));
return catalogObject;
}