Engauge Digitizer  2
 All Classes Functions Variables Enumerations Friends Pages
ImportCroppingUtilPdf.h
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"
11 #include "ImportCroppingUtilBase.h"
12 #include <QString>
13 
14 namespace Poppler {
15  class Document;
16 }
17 
20 {
21 public:
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
ImportCroppingUtilPdf()
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 ...
Storage of one imported image and the data attached to that image.
Definition: Document.h:41
Import of pdf files.
Utility class for import cropping options.