Engauge Digitizer 2
Loading...
Searching...
No Matches
ImportCroppingUtilPdf.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2016 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#ifndef IMPORT_CROPPING_UTIL_PDF_H
8#define IMPORT_CROPPING_UTIL_PDF_H
9
10#include "ImportCropping.h"
12#include <QString>
13
14namespace Poppler {
15 class Document;
16}
17
20{
21public:
24
29 bool applyImportCropping (bool isRegression,
30 const QString &fileName,
31 ImportCropping importCropping,
32 Poppler::Document *&document) const;
33
34};
35
36#endif // IMPORT_CROPPING_UTIL_PDF_H
ImportCropping
ImportCroppingUtilBase()
Single constructor.
bool applyImportCropping(bool isRegression, const QString &fileName, ImportCropping importCropping, Poppler::Document *&document) const
For pdf files, skip cropping dialog during regression testing, otherwise crop if it is always turned ...
ImportCroppingUtilPdf()
Single constructor.