HomePageConverterExcelModel.cs 793 B

12345678910111213141516171819202122
  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.HomePageToolsDialogs.HomePageBatchProcessing.HomePageConverter
  8. {
  9. public class HomePageConverterExcelModel: HomePageConverterDialogModel
  10. {
  11. public CPDFConvertExcelOptions excelOption = new CPDFConvertExcelOptions();
  12. public CPDFConvertExcelOptions ExcelOptions(WorksheetOptions worksheetOptions = WorksheetOptions.ForEachPage, ContentOptions contentOptions = ContentOptions.AllContent)
  13. {
  14. excelOption.ContentOpts = contentOptions;
  15. excelOption.WorksheetOpts = worksheetOptions;
  16. return excelOption;
  17. }
  18. }
  19. }