示例#1
0
 public ImageSaver(IErrorOutput errorOutput, FileNamePlaceholders fileNamePlaceholders, ImageSettingsContainer imageSettingsContainer, IOverwritePrompt overwritePrompt)
 {
     this.errorOutput = errorOutput;
     this.fileNamePlaceholders = fileNamePlaceholders;
     this.imageSettingsContainer = imageSettingsContainer;
     this.overwritePrompt = overwritePrompt;
 }
示例#2
0
 public PdfSaver(IErrorOutput errorOutput, FileNamePlaceholders fileNamePlaceholders, IPdfExporter pdfExporter, IOverwritePrompt overwritePrompt)
 {
     this.errorOutput = errorOutput;
     this.fileNamePlaceholders = fileNamePlaceholders;
     this.pdfExporter = pdfExporter;
     this.overwritePrompt = overwritePrompt;
 }
示例#3
0
 public PdfSaver(IErrorOutput errorOutput, FileNamePlaceholders fileNamePlaceholders, IPdfExporter pdfExporter, IOverwritePrompt overwritePrompt)
 {
     this.errorOutput          = errorOutput;
     this.fileNamePlaceholders = fileNamePlaceholders;
     this.pdfExporter          = pdfExporter;
     this.overwritePrompt      = overwritePrompt;
 }
示例#4
0
 public ImageSaver(IErrorOutput errorOutput, FileNamePlaceholders fileNamePlaceholders, ImageSettingsContainer imageSettingsContainer, IOverwritePrompt overwritePrompt)
 {
     this.errorOutput            = errorOutput;
     this.fileNamePlaceholders   = fileNamePlaceholders;
     this.imageSettingsContainer = imageSettingsContainer;
     this.overwritePrompt        = overwritePrompt;
 }
示例#5
0
        public SavePdfOperation(FileNamePlaceholders fileNamePlaceholders, IPdfExporter pdfExporter, IOverwritePrompt overwritePrompt, ThreadFactory threadFactory)
        {
            this.fileNamePlaceholders = fileNamePlaceholders;
            this.pdfExporter = pdfExporter;
            this.overwritePrompt = overwritePrompt;
            this.threadFactory = threadFactory;

            AllowCancel = true;
        }
示例#6
0
        public SavePdfOperation(FileNamePlaceholders fileNamePlaceholders, IPdfExporter pdfExporter, IOverwritePrompt overwritePrompt, ThreadFactory threadFactory)
        {
            this.fileNamePlaceholders = fileNamePlaceholders;
            this.pdfExporter          = pdfExporter;
            this.overwritePrompt      = overwritePrompt;
            this.threadFactory        = threadFactory;

            AllowCancel = true;
        }
示例#7
0
        public SaveImagesOperation(FileNamePlaceholders fileNamePlaceholders, ImageSettingsContainer imageSettingsContainer, IOverwritePrompt overwritePrompt, ThreadFactory threadFactory)
        {
            this.fileNamePlaceholders   = fileNamePlaceholders;
            this.imageSettingsContainer = imageSettingsContainer;
            this.overwritePrompt        = overwritePrompt;
            this.threadFactory          = threadFactory;

            ProgressTitle = MiscResources.SaveImagesProgress;
            AllowCancel   = true;
        }
示例#8
0
        public SaveImagesOperation(FileNamePlaceholders fileNamePlaceholders, ImageSettingsContainer imageSettingsContainer, IOverwritePrompt overwritePrompt, ThreadFactory threadFactory)
        {
            this.fileNamePlaceholders = fileNamePlaceholders;
            this.imageSettingsContainer = imageSettingsContainer;
            this.overwritePrompt = overwritePrompt;
            this.threadFactory = threadFactory;

            ProgressTitle = MiscResources.SaveImagesProgress;
            AllowCancel = true;
        }
示例#9
0
        public SavePdfOperation(FileNamePlaceholders fileNamePlaceholders, IPdfExporter pdfExporter, IOverwritePrompt overwritePrompt, IEmailProviderFactory emailProviderFactory)
        {
            this.fileNamePlaceholders = fileNamePlaceholders;
            this.pdfExporter          = pdfExporter;
            this.overwritePrompt      = overwritePrompt;
            this.emailProviderFactory = emailProviderFactory;

            AllowCancel     = true;
            AllowBackground = true;
        }
示例#10
0
        public SaveImagesOperation(FileNamePlaceholders fileNamePlaceholders, ImageSettingsContainer imageSettingsContainer, IOverwritePrompt overwritePrompt, ScannedImageRenderer scannedImageRenderer, TiffHelper tiffHelper)
        {
            this.fileNamePlaceholders   = fileNamePlaceholders;
            this.imageSettingsContainer = imageSettingsContainer;
            this.overwritePrompt        = overwritePrompt;
            this.scannedImageRenderer   = scannedImageRenderer;
            this.tiffHelper             = tiffHelper;

            ProgressTitle   = MiscResources.SaveImagesProgress;
            AllowCancel     = true;
            AllowBackground = true;
        }