ConverterPPTDialogModel.cs 813 B

1234567891011121314151617181920212223
  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.ConverterDialogs
  8. {
  9. public class ConverterPPTDialogModel : ConverterDialogsModel
  10. {
  11. public CPDFConvertPPTOptions pPTOptions= new CPDFConvertPPTOptions();
  12. public CPDFConvertPPTOptions PPTOptions() {
  13. pPTOptions.OCRLanguage = Options.OCRLanguage;
  14. pPTOptions.IsAllowOCR = Options.IsAllowOCR;
  15. pPTOptions.IsContainOCRBgImage = Options.IsContainOCRBgImage;
  16. pPTOptions.IsContainAnnotations = Options.IsContainAnnotations;
  17. pPTOptions.IsContainImages = Options.IsContainImages;
  18. return pPTOptions;
  19. }
  20. }
  21. }