123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- using System;
- using System.Collections.Generic;
- using ComPDFKit_Conversion.Converter;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using ComDocumentAIKit;
- using ComPDFKit_Conversion.Options;
- namespace PDF_Office.Model.Dialog.ConverterDialogs
- {
- public class ConvertOptions
- {
- public COCRLanguage OCRLanguage = COCRLanguage.English;
- public bool IsAllowOCR = false;
- public bool IsContainOCRBgImage =false;
- public bool IsContainAnnotations = true;
- public bool IsContainImages = true;
- public ContentOptions ContentOpts = ContentOptions.AllContent;
- public WorksheetOptions WorksheetOpts = WorksheetOptions.ForEachPage;
- public PageAndNavigationPaneOptions PageAndNavigationPaneOpts = PageAndNavigationPaneOptions.SinglePageNavigationByBookmarks;
- public ImgType ImageType = ImgType.PNG;
- public uint ImageDpi = 50;
- public bool IsMergeCsv = false;
- }
- public class ConverterDialogsModel
- {
- /// <summary>
- /// 文档地址;
- /// </summary>
- public string InputPath="";
- /// <summary>
- /// 输出地址;
- /// </summary>
- public string OutputPath="";
- /// <summary>
- /// 进度;
- /// </summary>
- public OnProgress GetProgress=null;
- /// <summary>
- /// 页码 页码范围;
- /// </summary>
- public List<int> PageIndexLists= new List<int> { };
- /// <summary>
- /// 页面信息
- /// </summary>
- public string PageRange = "";
- /// <summary>
- /// 文档密码;
- /// </summary>
- public string Pawssword="";
- /// <summary>
- /// OCR,与部分功能;
- /// </summary>
- public ConvertOptions Options=new ConvertOptions();
- }
- }
|