Collections

This commit is contained in:
Jakub Melka
2020-08-08 18:18:08 +02:00
parent 79cf21775c
commit ccff2095e4
5 changed files with 591 additions and 3 deletions

View File

@ -25,6 +25,7 @@
#include "pdfsecurityhandler.h"
#include <QtCore>
#include <QColor>
#include <QMatrix>
#include <QDateTime>
@ -362,6 +363,9 @@ public:
/// Reads string list. If error occurs, empty list is returned.
QStringList readTextStringList(const PDFObject& object);
/// Reads RGB color from dictionary
QColor readRGBColorFromDictionary(const PDFDictionary* dictionary, const char* key, QColor defaultColor);
/// Reads list of object, using parse function defined in object
template<typename Object>
std::vector<Object> readObjectList(PDFObject object)