HomePageConverterExcelModel.cs 1.0 KB

1234567891011121314151617181920212223242526
  1. using ComPDFKit_Conversion.Options;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace PDF_Master.Model.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageConverter
  8. {
  9. public class HomePageConverterExcelModel: HomePageConverterDialogModel
  10. {
  11. public CPDFConvertExcelOptions excelOptions = new CPDFConvertExcelOptions();
  12. public CPDFConvertExcelOptions ExcelOptions()
  13. {
  14. excelOptions.OCRLanguage = Options.OCRLanguage;
  15. excelOptions.IsAllowOCR = Options.IsAllowOCR;
  16. excelOptions.IsContainOCRBgImage = Options.IsContainOCRBgImage;
  17. excelOptions.IsContainAnnotations = Options.IsContainAnnotations;
  18. excelOptions.IsContainImages = Options.IsContainImages;
  19. excelOptions.ContentOpts = Options.ContentOpts;
  20. excelOptions.WorksheetOpts = Options.WorksheetOpts;
  21. return excelOptions;
  22. }
  23. }
  24. }