ConverterWordDialogModel.cs 893 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.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. wordOptions.LayoutOpts = Options.LayoutOpts;
  20. return wordOptions;
  21. }
  22. }
  23. }