HomePageConverterPPTModel.cs 878 B

123456789101112131415161718192021222324
  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_Office.Model.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageConverter
  8. {
  9. public class HomePageConverterPPTModel : HomePageConverterDialogModel
  10. {
  11. public CPDFConvertPPTOptions pPTOptions = new CPDFConvertPPTOptions();
  12. public CPDFConvertPPTOptions PPTOptions()
  13. {
  14. pPTOptions.OCRLanguage = Options.OCRLanguage;
  15. pPTOptions.IsAllowOCR = Options.IsAllowOCR;
  16. pPTOptions.IsContainOCRBgImage = Options.IsContainOCRBgImage;
  17. pPTOptions.IsContainAnnotations = Options.IsContainAnnotations;
  18. pPTOptions.IsContainImages = Options.IsContainImages;
  19. return pPTOptions;
  20. }
  21. }
  22. }