ConverterHTMLDialogModel.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132
  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.ConverterDialogs
  8. {
  9. public class ConverterHTMLDialogModel : ConverterDialogsModel
  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. //public CPDFConvertHTMLOptions HTMLOptions(PageAndNavigationPaneOptions pageAndNavigationPaneOptions = PageAndNavigationPaneOptions.MultiplePages)
  23. //{
  24. // htmlOption.PageAndNavigationPaneOpts = pageAndNavigationPaneOptions;
  25. // return htmlOption;
  26. //}
  27. }
  28. }