00001 /****************************************************************************************************** 00002 * (C) 2016 markummitchell@github.com. This file is part of Engauge Digitizer, which is released * 00003 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file * 00004 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. * 00005 ******************************************************************************************************/ 00006 00007 #include "ImportCroppingUtilNonPdf.h" 00008 00009 ImportCroppingUtilNonPdf::ImportCroppingUtilNonPdf() 00010 { 00011 } 00012 00013 bool ImportCroppingUtilNonPdf::applyImportCropping (bool isRegression, 00014 ImportCropping importCropping) const 00015 { 00016 bool cropping = false; 00017 00018 if (!isRegression) { 00019 00020 cropping = (importCropping == IMPORT_CROPPING_ALWAYS); 00021 } 00022 00023 return cropping; 00024 }