using ComPDFKit_Conversion.Options; using Microsoft.AppCenter.Crashes.Ingestion.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PDF_Office.Model.Dialog.ConverterDialogs { public class ConverterExcelDialogModel : ConverterDialogsModel { public CPDFConvertExcelOptions excelOptions=new CPDFConvertExcelOptions(); public CPDFConvertExcelOptions ExcelOptions() { excelOptions.OCRLanguage = Options.OCRLanguage; excelOptions.IsAllowOCR = Options.IsAllowOCR; excelOptions.IsContainOCRBgImage = Options.IsContainOCRBgImage; excelOptions.IsContainAnnotations = Options.IsContainAnnotations; excelOptions.IsContainImages = Options.IsContainImages; excelOptions.ContentOpts = Options.ContentOpts; excelOptions.WorksheetOpts = Options.WorksheetOpts; return excelOptions; } //public CPDFConvertExcelOptions ExcelOptions(WorksheetOptions worksheetOptions = WorksheetOptions.ForEachPage,ContentOptions contentOptions = ContentOptions.AllContent) { // excelOption.ContentOpts= contentOptions; // excelOption.WorksheetOpts= worksheetOptions; // return excelOption; //} } }