HomePageConverterHTMLModel.cs 978 B

12345678910111213141516171819202122232425
  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 HomePageConverterHTMLModel : HomePageConverterDialogModel
  10. {
  11. public CPDFConvertHTMLOptions htmlOptions = new CPDFConvertHTMLOptions();
  12. public CPDFConvertHTMLOptions HTMLOptions()
  13. {
  14. htmlOptions.OCRLanguage = Options.OCRLanguage;
  15. htmlOptions.IsAllowOCR = Options.IsAllowOCR;
  16. htmlOptions.IsContainOCRBgImage = Options.IsContainOCRBgImage;
  17. htmlOptions.IsContainAnnotations = Options.IsContainAnnotations;
  18. htmlOptions.IsContainImages = Options.IsContainImages;
  19. htmlOptions.PageAndNavigationPaneOpts = Options.PageAndNavigationPaneOpts;
  20. return htmlOptions;
  21. }
  22. }
  23. }