2019-04-06 17:16:42 +02:00
|
|
|
#ifndef PDFPROCESSOR_H
|
|
|
|
#define PDFPROCESSOR_H
|
2023-05-14 14:15:50 +02:00
|
|
|
#include <poppler-qt5.h>
|
2019-04-06 17:16:42 +02:00
|
|
|
#include "processor.h"
|
|
|
|
class PdfProcessor : public Processor
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
PdfProcessor();
|
|
|
|
|
|
|
|
public:
|
2023-05-14 14:15:50 +02:00
|
|
|
QVector<DocumentOutlineEntry> createOutline(const QVector<Poppler::OutlineItem> &outlineItems) const;
|
|
|
|
DocumentProcessResult process(const QByteArray &data) const override;
|
2019-04-06 17:16:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // PDFPROCESSOR_H
|