ConverterWordDialogModel.cs 835 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.ConverterDialogs
  8. {
  9. public class ConverterWordDialogModel : ConverterDialogsModel
  10. {
  11. public CPDFConvertWordOptions wordOptions = new CPDFConvertWordOptions();
  12. public CPDFConvertWordOptions WordOptions()
  13. {
  14. wordOptions.OCRLanguage = Options.OCRLanguage;
  15. wordOptions.IsAllowOCR = Options.IsAllowOCR;
  16. wordOptions.IsContainOCRBgImage = Options.IsContainOCRBgImage;
  17. wordOptions.IsContainAnnotations = Options.IsContainAnnotations;
  18. wordOptions.IsContainImages = Options.IsContainImages;
  19. return wordOptions;
  20. }
  21. }
  22. }