HomePageConverterRTFModel.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 HomePageConverterRTFModel : HomePageConverterDialogModel
  10. {
  11. public CPDFConvertRTFOptions rTFOptions = new CPDFConvertRTFOptions();
  12. public CPDFConvertRTFOptions RTFOptions()
  13. {
  14. rTFOptions.OCRLanguage = Options.OCRLanguage;
  15. rTFOptions.IsAllowOCR = Options.IsAllowOCR;
  16. rTFOptions.IsContainOCRBgImage = Options.IsContainOCRBgImage;
  17. rTFOptions.IsContainAnnotations = Options.IsContainAnnotations;
  18. rTFOptions.IsContainImages = Options.IsContainImages;
  19. return rTFOptions;
  20. }
  21. }
  22. }