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 <memory>
13#include <QString>
14
15namespace Poppler {
16 class Document;
17}
18
21{
22public:
25
30 bool applyImportCropping (bool isRegression,
31 const QString &fileName,
32 ImportCropping importCropping,
33 std::unique_ptr<Poppler::Document> &document) const;
34
35};
36
37#endif // IMPORT_CROPPING_UTIL_PDF_H
ImportCropping
ImportCroppingUtilBase()
Single constructor.
bool applyImportCropping(bool isRegression, const QString &fileName, ImportCropping importCropping, std::unique_ptr< Poppler::Document > &document) const
For pdf files, skip cropping dialog during regression testing, otherwise crop if it is always turned ...
ImportCroppingUtilPdf()
Single constructor.