ExcelSaveOptions.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/object_ext.h>
5 #include <system/enum.h>
6 
7 #include "Aspose.PDF.Cpp/UnifiedSaveOptions.h"
8 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
9 
10 namespace Aspose
11 {
12 namespace Pdf
13 {
14 class ApsToExcelConverter;
15 class FlowConverter;
16 namespace Tests
17 {
18 class ExcelConverterTest;
19 } // namespace Tests
20 } // namespace Pdf
21 } // namespace Aspose
22 
23 namespace Aspose {
24 
25 namespace Pdf {
26 
30 class ASPOSE_PDF_SHARED_CLASS ExcelSaveOptions : public Aspose::Pdf::UnifiedSaveOptions
31 {
32  typedef ExcelSaveOptions ThisType;
34 
35  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
36  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
37 
38  friend class Aspose::Pdf::FlowConverter;
39  friend class Aspose::Pdf::ApsToExcelConverter;
40  friend class Aspose::Pdf::Tests::ExcelConverterTest;
41 
42 public:
43 
48  enum class ExcelFormat
49  {
53  XMLSpreadSheet2003,
57  XLSX,
61  CSV,
65  XLSM,
69  ODS
70  };
71 
72 
73 public:
74 
79  ASPOSE_PDF_SHARED_API bool get_MinimizeTheNumberOfWorksheets() const;
84  ASPOSE_PDF_SHARED_API void set_MinimizeTheNumberOfWorksheets(bool value);
89  ASPOSE_PDF_SHARED_API bool get_InsertBlankColumnAtFirst() const;
94  ASPOSE_PDF_SHARED_API void set_InsertBlankColumnAtFirst(bool value);
99  ASPOSE_PDF_SHARED_API bool get_UniformWorksheets() const;
104  ASPOSE_PDF_SHARED_API void set_UniformWorksheets(bool value);
108  ASPOSE_PDF_SHARED_API ExcelSaveOptions::ExcelFormat get_Format() const;
112  ASPOSE_PDF_SHARED_API void set_Format(ExcelSaveOptions::ExcelFormat value);
113 
117  ASPOSE_PDF_SHARED_API ExcelSaveOptions();
118 
119 protected:
120 
122 
123 private:
124 
125  bool _minimizeTheNumberOfWorksheets;
126  bool _insertBlankColumnAtFirst;
127  bool _uniformWorksheets;
129 
130 };
131 
132 } // namespace Pdf
133 } // namespace Aspose
134 
135 template<>
136 struct EnumMetaInfo<Aspose::Pdf::ExcelSaveOptions::ExcelFormat>
137 {
138  static const ASPOSE_PDF_SHARED_API std::array<std::pair<Aspose::Pdf::ExcelSaveOptions::ExcelFormat, const char_t*>, 5>& values();
139 };
140 
141 
142 
This class represents saving options for saving that uses unified conversion way (with unified intern...
Definition: UnifiedSaveOptions.h:107
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
System::String TxtIntermediateFileIfAny
Definition: ExcelSaveOptions.h:121
Definition: signed_info.h:13
Definition: AFRelationship.h:4
ExcelFormat
Allows to specify .xlsx, .xls/xml or csv file format. Default value is XLSX;
Definition: ExcelSaveOptions.h:48
means saving without change of format, i.e. as PDF use it please instead of &#39;SaveFormat.None&#39;, that is obsolete one
Save options for export to Excel format
Definition: ExcelSaveOptions.h:30
Whole PDF file will be submitted.