groupdocs_conversion_cloud 25.6 → 25.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/lib/groupdocs_conversion_cloud/models/cad_load_options.rb +25 -15
  3. data/lib/groupdocs_conversion_cloud/models/csv_load_options.rb +230 -61
  4. data/lib/groupdocs_conversion_cloud/models/email_load_options.rb +142 -77
  5. data/lib/groupdocs_conversion_cloud/models/pdf_load_options.rb +110 -28
  6. data/lib/groupdocs_conversion_cloud/models/spreadsheet_load_options.rb +233 -64
  7. data/lib/groupdocs_conversion_cloud/models/tsv_load_options.rb +233 -64
  8. data/lib/groupdocs_conversion_cloud/models/web_load_options.rb +81 -4
  9. data/lib/groupdocs_conversion_cloud/version.rb +1 -1
  10. data/lib/groupdocs_conversion_cloud.rb +0 -79
  11. metadata +2 -81
  12. data/lib/groupdocs_conversion_cloud/models/bmp_load_options.rb +0 -224
  13. data/lib/groupdocs_conversion_cloud/models/cf2_load_options.rb +0 -288
  14. data/lib/groupdocs_conversion_cloud/models/dcm_load_options.rb +0 -224
  15. data/lib/groupdocs_conversion_cloud/models/dgn_load_options.rb +0 -288
  16. data/lib/groupdocs_conversion_cloud/models/dng_load_options.rb +0 -224
  17. data/lib/groupdocs_conversion_cloud/models/doc_load_options.rb +0 -658
  18. data/lib/groupdocs_conversion_cloud/models/docm_load_options.rb +0 -658
  19. data/lib/groupdocs_conversion_cloud/models/docx_load_options.rb +0 -658
  20. data/lib/groupdocs_conversion_cloud/models/dot_load_options.rb +0 -658
  21. data/lib/groupdocs_conversion_cloud/models/dotm_load_options.rb +0 -658
  22. data/lib/groupdocs_conversion_cloud/models/dotx_load_options.rb +0 -658
  23. data/lib/groupdocs_conversion_cloud/models/dwf_load_options.rb +0 -288
  24. data/lib/groupdocs_conversion_cloud/models/dwfx_load_options.rb +0 -288
  25. data/lib/groupdocs_conversion_cloud/models/dwg_load_options.rb +0 -288
  26. data/lib/groupdocs_conversion_cloud/models/dwt_load_options.rb +0 -288
  27. data/lib/groupdocs_conversion_cloud/models/dxf_load_options.rb +0 -288
  28. data/lib/groupdocs_conversion_cloud/models/emf_load_options.rb +0 -224
  29. data/lib/groupdocs_conversion_cloud/models/eml_load_options.rb +0 -341
  30. data/lib/groupdocs_conversion_cloud/models/emlx_load_options.rb +0 -341
  31. data/lib/groupdocs_conversion_cloud/models/gif_load_options.rb +0 -224
  32. data/lib/groupdocs_conversion_cloud/models/ico_load_options.rb +0 -224
  33. data/lib/groupdocs_conversion_cloud/models/ifc_load_options.rb +0 -288
  34. data/lib/groupdocs_conversion_cloud/models/igs_load_options.rb +0 -288
  35. data/lib/groupdocs_conversion_cloud/models/j2c_load_options.rb +0 -224
  36. data/lib/groupdocs_conversion_cloud/models/j2k_load_options.rb +0 -224
  37. data/lib/groupdocs_conversion_cloud/models/jp2_load_options.rb +0 -224
  38. data/lib/groupdocs_conversion_cloud/models/jpeg_load_options.rb +0 -224
  39. data/lib/groupdocs_conversion_cloud/models/jpf_load_options.rb +0 -224
  40. data/lib/groupdocs_conversion_cloud/models/jpg_load_options.rb +0 -224
  41. data/lib/groupdocs_conversion_cloud/models/jpm_load_options.rb +0 -224
  42. data/lib/groupdocs_conversion_cloud/models/jpx_load_options.rb +0 -224
  43. data/lib/groupdocs_conversion_cloud/models/mht_load_options.rb +0 -341
  44. data/lib/groupdocs_conversion_cloud/models/mobi_load_options.rb +0 -658
  45. data/lib/groupdocs_conversion_cloud/models/msg_load_options.rb +0 -341
  46. data/lib/groupdocs_conversion_cloud/models/odg_load_options.rb +0 -224
  47. data/lib/groupdocs_conversion_cloud/models/odp_load_options.rb +0 -434
  48. data/lib/groupdocs_conversion_cloud/models/ods_load_options.rb +0 -368
  49. data/lib/groupdocs_conversion_cloud/models/odt_load_options.rb +0 -658
  50. data/lib/groupdocs_conversion_cloud/models/ost_load_options.rb +0 -341
  51. data/lib/groupdocs_conversion_cloud/models/otp_load_options.rb +0 -434
  52. data/lib/groupdocs_conversion_cloud/models/ots_load_options.rb +0 -368
  53. data/lib/groupdocs_conversion_cloud/models/ott_load_options.rb +0 -658
  54. data/lib/groupdocs_conversion_cloud/models/plt_load_options.rb +0 -288
  55. data/lib/groupdocs_conversion_cloud/models/png_load_options.rb +0 -224
  56. data/lib/groupdocs_conversion_cloud/models/potm_load_options.rb +0 -434
  57. data/lib/groupdocs_conversion_cloud/models/potx_load_options.rb +0 -434
  58. data/lib/groupdocs_conversion_cloud/models/pps_load_options.rb +0 -434
  59. data/lib/groupdocs_conversion_cloud/models/ppsm_load_options.rb +0 -434
  60. data/lib/groupdocs_conversion_cloud/models/ppsx_load_options.rb +0 -434
  61. data/lib/groupdocs_conversion_cloud/models/ppt_load_options.rb +0 -434
  62. data/lib/groupdocs_conversion_cloud/models/pptm_load_options.rb +0 -434
  63. data/lib/groupdocs_conversion_cloud/models/pptx_load_options.rb +0 -434
  64. data/lib/groupdocs_conversion_cloud/models/psd_load_options.rb +0 -224
  65. data/lib/groupdocs_conversion_cloud/models/pst_load_options.rb +0 -341
  66. data/lib/groupdocs_conversion_cloud/models/stl_load_options.rb +0 -288
  67. data/lib/groupdocs_conversion_cloud/models/tif_load_options.rb +0 -224
  68. data/lib/groupdocs_conversion_cloud/models/tiff_load_options.rb +0 -224
  69. data/lib/groupdocs_conversion_cloud/models/vdw_load_options.rb +0 -224
  70. data/lib/groupdocs_conversion_cloud/models/vdx_load_options.rb +0 -224
  71. data/lib/groupdocs_conversion_cloud/models/vsd_load_options.rb +0 -224
  72. data/lib/groupdocs_conversion_cloud/models/vsdm_load_options.rb +0 -224
  73. data/lib/groupdocs_conversion_cloud/models/vsdx_load_options.rb +0 -224
  74. data/lib/groupdocs_conversion_cloud/models/vss_load_options.rb +0 -224
  75. data/lib/groupdocs_conversion_cloud/models/vssm_load_options.rb +0 -224
  76. data/lib/groupdocs_conversion_cloud/models/vssx_load_options.rb +0 -224
  77. data/lib/groupdocs_conversion_cloud/models/vst_load_options.rb +0 -224
  78. data/lib/groupdocs_conversion_cloud/models/vstm_load_options.rb +0 -224
  79. data/lib/groupdocs_conversion_cloud/models/vstx_load_options.rb +0 -224
  80. data/lib/groupdocs_conversion_cloud/models/vsx_load_options.rb +0 -224
  81. data/lib/groupdocs_conversion_cloud/models/vtx_load_options.rb +0 -224
  82. data/lib/groupdocs_conversion_cloud/models/webp_load_options.rb +0 -224
  83. data/lib/groupdocs_conversion_cloud/models/wmf_load_options.rb +0 -224
  84. data/lib/groupdocs_conversion_cloud/models/xls2003_load_options.rb +0 -368
  85. data/lib/groupdocs_conversion_cloud/models/xls_load_options.rb +0 -368
  86. data/lib/groupdocs_conversion_cloud/models/xlsb_load_options.rb +0 -368
  87. data/lib/groupdocs_conversion_cloud/models/xlsm_load_options.rb +0 -368
  88. data/lib/groupdocs_conversion_cloud/models/xlsx_load_options.rb +0 -368
  89. data/lib/groupdocs_conversion_cloud/models/xltm_load_options.rb +0 -368
  90. data/lib/groupdocs_conversion_cloud/models/xltx_load_options.rb +0 -368
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a32da8c9bbef0cca2fe3cd8a44a50736faef82ba5e27451252cd41cf2b41c6b5
4
- data.tar.gz: 0f499c0dd26883d00c153dc5d61a82eb3c87e7b7ae0ace4aa281a90c081251c0
3
+ metadata.gz: 75774957dc308e2667ec3c3152e4e125ce8e046deb072ec7602924162cc18c6f
4
+ data.tar.gz: 76337f3a01f88d34ea34695f59c0221119cb15457d4d9397f6f2db85d291992c
5
5
  SHA512:
6
- metadata.gz: 2ee15e7c2894e7e9b4c818ebef3079d356e0638f8a36490fce6dd2e7a0a3b532dc9836160212fda50dd8c0456328198b21e466ee26676a73b0f3c881139e1b1c
7
- data.tar.gz: cf96ea77a3d3cada4d7d4495419d0b8ff6b440fd31e7c7745b69d6443e057ffdb7f4c76de25987a0165b7eea7548013c081a8e969bb891103bbbbe39b534e670
6
+ metadata.gz: eefc308f561163c516a5946f9fd33e4183b6ab3e5650b4d27ec3870e0c9145a9d4363a2d8a2bfe4dce445e466fcec08602aa780f2c668908c4888d2353101b4f
7
+ data.tar.gz: 891542daf965004769bfecbe389ee56643a9ebe0b78bd69da37c5d2acb3196101b479ff7a8425f34ab96b6907163be148cfa9ae59d4c47cfbe2e0e773dd6575d
@@ -37,11 +37,14 @@ module GroupDocsConversionCloud
37
37
  # Render specific CAD layouts
38
38
  attr_accessor :layout_names
39
39
 
40
- # Gets or sets a background color.
41
- attr_accessor :background_color
42
-
43
- # Gets or sets type of drawing.
40
+ # A type of drawing.
44
41
  attr_accessor :draw_type
42
+
43
+ # A foreground color.
44
+ attr_accessor :draw_color
45
+
46
+ # A background color.
47
+ attr_accessor :background_color
45
48
  class EnumAttributeValidator
46
49
  attr_reader :datatype
47
50
  attr_reader :allowable_values
@@ -69,8 +72,9 @@ module GroupDocsConversionCloud
69
72
  {
70
73
  :'format' => :'Format',
71
74
  :'layout_names' => :'LayoutNames',
72
- :'background_color' => :'BackgroundColor',
73
- :'draw_type' => :'DrawType'
75
+ :'draw_type' => :'DrawType',
76
+ :'draw_color' => :'DrawColor',
77
+ :'background_color' => :'BackgroundColor'
74
78
  }
75
79
  end
76
80
 
@@ -79,8 +83,9 @@ module GroupDocsConversionCloud
79
83
  {
80
84
  :'format' => :'String',
81
85
  :'layout_names' => :'Array<String>',
82
- :'background_color' => :'String',
83
- :'draw_type' => :'String'
86
+ :'draw_type' => :'String',
87
+ :'draw_color' => :'String',
88
+ :'background_color' => :'String'
84
89
  }
85
90
  end
86
91
 
@@ -102,14 +107,18 @@ module GroupDocsConversionCloud
102
107
  end
103
108
  end
104
109
 
105
- if attributes.key?(:'BackgroundColor')
106
- self.background_color = attributes[:'BackgroundColor']
107
- end
108
-
109
110
  if attributes.key?(:'DrawType')
110
111
  self.draw_type = attributes[:'DrawType']
111
112
  end
112
113
 
114
+ if attributes.key?(:'DrawColor')
115
+ self.draw_color = attributes[:'DrawColor']
116
+ end
117
+
118
+ if attributes.key?(:'BackgroundColor')
119
+ self.background_color = attributes[:'BackgroundColor']
120
+ end
121
+
113
122
  end
114
123
 
115
124
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -153,8 +162,9 @@ module GroupDocsConversionCloud
153
162
  self.class == other.class &&
154
163
  format == other.format &&
155
164
  layout_names == other.layout_names &&
156
- background_color == other.background_color &&
157
- draw_type == other.draw_type
165
+ draw_type == other.draw_type &&
166
+ draw_color == other.draw_color &&
167
+ background_color == other.background_color
158
168
  end
159
169
 
160
170
  # @see the `==` method
@@ -166,7 +176,7 @@ module GroupDocsConversionCloud
166
176
  # Calculates hash code according to all attributes.
167
177
  # @return [Fixnum] Hash code
168
178
  def hash
169
- [format, layout_names, background_color, draw_type].hash
179
+ [format, layout_names, draw_type, draw_color, background_color].hash
170
180
  end
171
181
 
172
182
  # Downcases first letter.
@@ -34,33 +34,69 @@ module GroupDocsConversionCloud
34
34
  # The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
35
35
  attr_accessor :format
36
36
 
37
- # Default font for Cells document. The following font will be used if a font is missing.
38
- attr_accessor :default_font
37
+ # Clear custom document properties. Default is false.
38
+ attr_accessor :clear_custom_document_properties
39
39
 
40
- # Substitute specific fonts when converting Cells document.
41
- attr_accessor :font_substitutes
40
+ # Clear built-in document properties. Default is false.
41
+ attr_accessor :clear_built_in_document_properties
42
42
 
43
- # Show grid lines when converting Excel files
44
- attr_accessor :show_grid_lines
43
+ # Split a worksheet into pages by rows. Default is 0, no pagination.
44
+ attr_accessor :rows_per_page
45
45
 
46
- # Show hidden sheets when converting Excel files
47
- attr_accessor :show_hidden_sheets
46
+ # Split a worksheet into pages by columns. Default is 0, no pagination.
47
+ attr_accessor :columns_per_page
48
48
 
49
- # If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true.
50
- attr_accessor :one_page_per_sheet
49
+ # Autofits all rows when converting
50
+ attr_accessor :auto_fit_rows
51
51
 
52
- # Convert specific range when converting to other than cells format. Example: \"D1:F8\"
53
- attr_accessor :convert_range
52
+ # If AllColumnsInOnePagePerSheet is true, all column content of one sheet will output to only one page in result. The width of paper size of pagesetup will be invalid, and the other settings of pagesetup will still take effect.
53
+ attr_accessor :all_columns_in_one_page_per_sheet
54
54
 
55
- # Skips empty rows and columns when converting. Default is True.
56
- attr_accessor :skip_empty_rows_and_columns
55
+ # System culture info at the time file is loaded
56
+ attr_accessor :culture_info
57
+
58
+ # Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K, if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file.
59
+ attr_accessor :check_excel_restriction
57
60
 
58
61
  # Set password to unprotect protected document
59
62
  attr_accessor :password
60
63
 
64
+ # Skips empty rows and columns when converting. Default is True.
65
+ attr_accessor :skip_empty_rows_and_columns
66
+
67
+ # Convert specific range when converting to other than cells format. Example: \"D1:F8\"
68
+ attr_accessor :convert_range
69
+
70
+ # If True and converting to Pdf the conversion is optimized for better file size than print quality.
71
+ attr_accessor :optimize_pdf_size
72
+
73
+ # If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is true.
74
+ attr_accessor :one_page_per_sheet
75
+
76
+ # Show hidden sheets when converting Excel files
77
+ attr_accessor :show_hidden_sheets
78
+
79
+ # Show grid lines when converting Excel files
80
+ attr_accessor :show_grid_lines
81
+
82
+ # Substitute specific fonts when converting Cells document.
83
+ attr_accessor :font_substitutes
84
+
85
+ # Default font for Cells document. The following font will be used if a font is missing.
86
+ attr_accessor :default_font
87
+
88
+ # List of sheet indexes to convert. The indexes must be zero-based
89
+ attr_accessor :sheet_indexes
90
+
91
+ # List of sheet names to convert
92
+ attr_accessor :sheets
93
+
61
94
  # Represents the way comments are printed with the sheet. Default is PrintNoComments.
62
95
  attr_accessor :print_comments
63
96
 
97
+ # Reset font folders before loading document
98
+ attr_accessor :reset_font_folders
99
+
64
100
  # Delimiter of a Csv file
65
101
  attr_accessor :separator
66
102
 
@@ -104,15 +140,27 @@ module GroupDocsConversionCloud
104
140
  def self.attribute_map
105
141
  {
106
142
  :'format' => :'Format',
107
- :'default_font' => :'DefaultFont',
108
- :'font_substitutes' => :'FontSubstitutes',
109
- :'show_grid_lines' => :'ShowGridLines',
110
- :'show_hidden_sheets' => :'ShowHiddenSheets',
111
- :'one_page_per_sheet' => :'OnePagePerSheet',
112
- :'convert_range' => :'ConvertRange',
113
- :'skip_empty_rows_and_columns' => :'SkipEmptyRowsAndColumns',
143
+ :'clear_custom_document_properties' => :'ClearCustomDocumentProperties',
144
+ :'clear_built_in_document_properties' => :'ClearBuiltInDocumentProperties',
145
+ :'rows_per_page' => :'RowsPerPage',
146
+ :'columns_per_page' => :'ColumnsPerPage',
147
+ :'auto_fit_rows' => :'AutoFitRows',
148
+ :'all_columns_in_one_page_per_sheet' => :'AllColumnsInOnePagePerSheet',
149
+ :'culture_info' => :'CultureInfo',
150
+ :'check_excel_restriction' => :'CheckExcelRestriction',
114
151
  :'password' => :'Password',
152
+ :'skip_empty_rows_and_columns' => :'SkipEmptyRowsAndColumns',
153
+ :'convert_range' => :'ConvertRange',
154
+ :'optimize_pdf_size' => :'OptimizePdfSize',
155
+ :'one_page_per_sheet' => :'OnePagePerSheet',
156
+ :'show_hidden_sheets' => :'ShowHiddenSheets',
157
+ :'show_grid_lines' => :'ShowGridLines',
158
+ :'font_substitutes' => :'FontSubstitutes',
159
+ :'default_font' => :'DefaultFont',
160
+ :'sheet_indexes' => :'SheetIndexes',
161
+ :'sheets' => :'Sheets',
115
162
  :'print_comments' => :'PrintComments',
163
+ :'reset_font_folders' => :'ResetFontFolders',
116
164
  :'separator' => :'Separator',
117
165
  :'is_multi_encoded' => :'IsMultiEncoded',
118
166
  :'has_formula' => :'HasFormula',
@@ -126,15 +174,27 @@ module GroupDocsConversionCloud
126
174
  def self.swagger_types
127
175
  {
128
176
  :'format' => :'String',
129
- :'default_font' => :'String',
130
- :'font_substitutes' => :'Hash<String, String>',
131
- :'show_grid_lines' => :'BOOLEAN',
132
- :'show_hidden_sheets' => :'BOOLEAN',
133
- :'one_page_per_sheet' => :'BOOLEAN',
134
- :'convert_range' => :'String',
135
- :'skip_empty_rows_and_columns' => :'BOOLEAN',
177
+ :'clear_custom_document_properties' => :'BOOLEAN',
178
+ :'clear_built_in_document_properties' => :'BOOLEAN',
179
+ :'rows_per_page' => :'Integer',
180
+ :'columns_per_page' => :'Integer',
181
+ :'auto_fit_rows' => :'BOOLEAN',
182
+ :'all_columns_in_one_page_per_sheet' => :'BOOLEAN',
183
+ :'culture_info' => :'String',
184
+ :'check_excel_restriction' => :'BOOLEAN',
136
185
  :'password' => :'String',
186
+ :'skip_empty_rows_and_columns' => :'BOOLEAN',
187
+ :'convert_range' => :'String',
188
+ :'optimize_pdf_size' => :'BOOLEAN',
189
+ :'one_page_per_sheet' => :'BOOLEAN',
190
+ :'show_hidden_sheets' => :'BOOLEAN',
191
+ :'show_grid_lines' => :'BOOLEAN',
192
+ :'font_substitutes' => :'Hash<String, String>',
193
+ :'default_font' => :'String',
194
+ :'sheet_indexes' => :'Array<Integer>',
195
+ :'sheets' => :'Array<String>',
137
196
  :'print_comments' => :'String',
197
+ :'reset_font_folders' => :'BOOLEAN',
138
198
  :'separator' => :'String',
139
199
  :'is_multi_encoded' => :'BOOLEAN',
140
200
  :'has_formula' => :'BOOLEAN',
@@ -156,44 +216,96 @@ module GroupDocsConversionCloud
156
216
  self.format = attributes[:'Format']
157
217
  end
158
218
 
159
- if attributes.key?(:'DefaultFont')
160
- self.default_font = attributes[:'DefaultFont']
219
+ if attributes.key?(:'ClearCustomDocumentProperties')
220
+ self.clear_custom_document_properties = attributes[:'ClearCustomDocumentProperties']
161
221
  end
162
222
 
163
- if attributes.key?(:'FontSubstitutes')
164
- if (value = attributes[:'FontSubstitutes']).is_a?(Hash)
165
- self.font_substitutes = value
166
- end
223
+ if attributes.key?(:'ClearBuiltInDocumentProperties')
224
+ self.clear_built_in_document_properties = attributes[:'ClearBuiltInDocumentProperties']
167
225
  end
168
226
 
169
- if attributes.key?(:'ShowGridLines')
170
- self.show_grid_lines = attributes[:'ShowGridLines']
227
+ if attributes.key?(:'RowsPerPage')
228
+ self.rows_per_page = attributes[:'RowsPerPage']
171
229
  end
172
230
 
173
- if attributes.key?(:'ShowHiddenSheets')
174
- self.show_hidden_sheets = attributes[:'ShowHiddenSheets']
231
+ if attributes.key?(:'ColumnsPerPage')
232
+ self.columns_per_page = attributes[:'ColumnsPerPage']
175
233
  end
176
234
 
177
- if attributes.key?(:'OnePagePerSheet')
178
- self.one_page_per_sheet = attributes[:'OnePagePerSheet']
235
+ if attributes.key?(:'AutoFitRows')
236
+ self.auto_fit_rows = attributes[:'AutoFitRows']
179
237
  end
180
238
 
181
- if attributes.key?(:'ConvertRange')
182
- self.convert_range = attributes[:'ConvertRange']
239
+ if attributes.key?(:'AllColumnsInOnePagePerSheet')
240
+ self.all_columns_in_one_page_per_sheet = attributes[:'AllColumnsInOnePagePerSheet']
183
241
  end
184
242
 
185
- if attributes.key?(:'SkipEmptyRowsAndColumns')
186
- self.skip_empty_rows_and_columns = attributes[:'SkipEmptyRowsAndColumns']
243
+ if attributes.key?(:'CultureInfo')
244
+ self.culture_info = attributes[:'CultureInfo']
245
+ end
246
+
247
+ if attributes.key?(:'CheckExcelRestriction')
248
+ self.check_excel_restriction = attributes[:'CheckExcelRestriction']
187
249
  end
188
250
 
189
251
  if attributes.key?(:'Password')
190
252
  self.password = attributes[:'Password']
191
253
  end
192
254
 
255
+ if attributes.key?(:'SkipEmptyRowsAndColumns')
256
+ self.skip_empty_rows_and_columns = attributes[:'SkipEmptyRowsAndColumns']
257
+ end
258
+
259
+ if attributes.key?(:'ConvertRange')
260
+ self.convert_range = attributes[:'ConvertRange']
261
+ end
262
+
263
+ if attributes.key?(:'OptimizePdfSize')
264
+ self.optimize_pdf_size = attributes[:'OptimizePdfSize']
265
+ end
266
+
267
+ if attributes.key?(:'OnePagePerSheet')
268
+ self.one_page_per_sheet = attributes[:'OnePagePerSheet']
269
+ end
270
+
271
+ if attributes.key?(:'ShowHiddenSheets')
272
+ self.show_hidden_sheets = attributes[:'ShowHiddenSheets']
273
+ end
274
+
275
+ if attributes.key?(:'ShowGridLines')
276
+ self.show_grid_lines = attributes[:'ShowGridLines']
277
+ end
278
+
279
+ if attributes.key?(:'FontSubstitutes')
280
+ if (value = attributes[:'FontSubstitutes']).is_a?(Hash)
281
+ self.font_substitutes = value
282
+ end
283
+ end
284
+
285
+ if attributes.key?(:'DefaultFont')
286
+ self.default_font = attributes[:'DefaultFont']
287
+ end
288
+
289
+ if attributes.key?(:'SheetIndexes')
290
+ if (value = attributes[:'SheetIndexes']).is_a?(Array)
291
+ self.sheet_indexes = value
292
+ end
293
+ end
294
+
295
+ if attributes.key?(:'Sheets')
296
+ if (value = attributes[:'Sheets']).is_a?(Array)
297
+ self.sheets = value
298
+ end
299
+ end
300
+
193
301
  if attributes.key?(:'PrintComments')
194
302
  self.print_comments = attributes[:'PrintComments']
195
303
  end
196
304
 
305
+ if attributes.key?(:'ResetFontFolders')
306
+ self.reset_font_folders = attributes[:'ResetFontFolders']
307
+ end
308
+
197
309
  if attributes.key?(:'Separator')
198
310
  self.separator = attributes[:'Separator']
199
311
  end
@@ -224,26 +336,62 @@ module GroupDocsConversionCloud
224
336
  # @return Array for valid properies with the reasons
225
337
  def list_invalid_properties
226
338
  invalid_properties = []
227
- if @show_grid_lines.nil?
228
- invalid_properties.push("invalid value for 'show_grid_lines', show_grid_lines cannot be nil.")
339
+ if @clear_custom_document_properties.nil?
340
+ invalid_properties.push("invalid value for 'clear_custom_document_properties', clear_custom_document_properties cannot be nil.")
229
341
  end
230
342
 
231
- if @show_hidden_sheets.nil?
232
- invalid_properties.push("invalid value for 'show_hidden_sheets', show_hidden_sheets cannot be nil.")
343
+ if @clear_built_in_document_properties.nil?
344
+ invalid_properties.push("invalid value for 'clear_built_in_document_properties', clear_built_in_document_properties cannot be nil.")
233
345
  end
234
346
 
235
- if @one_page_per_sheet.nil?
236
- invalid_properties.push("invalid value for 'one_page_per_sheet', one_page_per_sheet cannot be nil.")
347
+ if @rows_per_page.nil?
348
+ invalid_properties.push("invalid value for 'rows_per_page', rows_per_page cannot be nil.")
349
+ end
350
+
351
+ if @columns_per_page.nil?
352
+ invalid_properties.push("invalid value for 'columns_per_page', columns_per_page cannot be nil.")
353
+ end
354
+
355
+ if @auto_fit_rows.nil?
356
+ invalid_properties.push("invalid value for 'auto_fit_rows', auto_fit_rows cannot be nil.")
357
+ end
358
+
359
+ if @all_columns_in_one_page_per_sheet.nil?
360
+ invalid_properties.push("invalid value for 'all_columns_in_one_page_per_sheet', all_columns_in_one_page_per_sheet cannot be nil.")
361
+ end
362
+
363
+ if @check_excel_restriction.nil?
364
+ invalid_properties.push("invalid value for 'check_excel_restriction', check_excel_restriction cannot be nil.")
237
365
  end
238
366
 
239
367
  if @skip_empty_rows_and_columns.nil?
240
368
  invalid_properties.push("invalid value for 'skip_empty_rows_and_columns', skip_empty_rows_and_columns cannot be nil.")
241
369
  end
242
370
 
371
+ if @optimize_pdf_size.nil?
372
+ invalid_properties.push("invalid value for 'optimize_pdf_size', optimize_pdf_size cannot be nil.")
373
+ end
374
+
375
+ if @one_page_per_sheet.nil?
376
+ invalid_properties.push("invalid value for 'one_page_per_sheet', one_page_per_sheet cannot be nil.")
377
+ end
378
+
379
+ if @show_hidden_sheets.nil?
380
+ invalid_properties.push("invalid value for 'show_hidden_sheets', show_hidden_sheets cannot be nil.")
381
+ end
382
+
383
+ if @show_grid_lines.nil?
384
+ invalid_properties.push("invalid value for 'show_grid_lines', show_grid_lines cannot be nil.")
385
+ end
386
+
243
387
  if @print_comments.nil?
244
388
  invalid_properties.push("invalid value for 'print_comments', print_comments cannot be nil.")
245
389
  end
246
390
 
391
+ if @reset_font_folders.nil?
392
+ invalid_properties.push("invalid value for 'reset_font_folders', reset_font_folders cannot be nil.")
393
+ end
394
+
247
395
  if @separator.nil?
248
396
  invalid_properties.push("invalid value for 'separator', separator cannot be nil.")
249
397
  end
@@ -270,13 +418,22 @@ module GroupDocsConversionCloud
270
418
  # Check to see if the all the properties in the model are valid
271
419
  # @return true if the model is valid
272
420
  def valid?
273
- return false if @show_grid_lines.nil?
274
- return false if @show_hidden_sheets.nil?
275
- return false if @one_page_per_sheet.nil?
421
+ return false if @clear_custom_document_properties.nil?
422
+ return false if @clear_built_in_document_properties.nil?
423
+ return false if @rows_per_page.nil?
424
+ return false if @columns_per_page.nil?
425
+ return false if @auto_fit_rows.nil?
426
+ return false if @all_columns_in_one_page_per_sheet.nil?
427
+ return false if @check_excel_restriction.nil?
276
428
  return false if @skip_empty_rows_and_columns.nil?
429
+ return false if @optimize_pdf_size.nil?
430
+ return false if @one_page_per_sheet.nil?
431
+ return false if @show_hidden_sheets.nil?
432
+ return false if @show_grid_lines.nil?
277
433
  return false if @print_comments.nil?
278
434
  print_comments_validator = EnumAttributeValidator.new('String', ["PrintInPlace", "PrintNoComments", "PrintSheetEnd", "PrintWithThreadedComments"])
279
435
  return false unless print_comments_validator.valid?(@print_comments)
436
+ return false if @reset_font_folders.nil?
280
437
  return false if @separator.nil?
281
438
  return false if @is_multi_encoded.nil?
282
439
  return false if @has_formula.nil?
@@ -305,15 +462,27 @@ module GroupDocsConversionCloud
305
462
  return true if self.equal?(other)
306
463
  self.class == other.class &&
307
464
  format == other.format &&
308
- default_font == other.default_font &&
309
- font_substitutes == other.font_substitutes &&
310
- show_grid_lines == other.show_grid_lines &&
311
- show_hidden_sheets == other.show_hidden_sheets &&
312
- one_page_per_sheet == other.one_page_per_sheet &&
313
- convert_range == other.convert_range &&
314
- skip_empty_rows_and_columns == other.skip_empty_rows_and_columns &&
465
+ clear_custom_document_properties == other.clear_custom_document_properties &&
466
+ clear_built_in_document_properties == other.clear_built_in_document_properties &&
467
+ rows_per_page == other.rows_per_page &&
468
+ columns_per_page == other.columns_per_page &&
469
+ auto_fit_rows == other.auto_fit_rows &&
470
+ all_columns_in_one_page_per_sheet == other.all_columns_in_one_page_per_sheet &&
471
+ culture_info == other.culture_info &&
472
+ check_excel_restriction == other.check_excel_restriction &&
315
473
  password == other.password &&
474
+ skip_empty_rows_and_columns == other.skip_empty_rows_and_columns &&
475
+ convert_range == other.convert_range &&
476
+ optimize_pdf_size == other.optimize_pdf_size &&
477
+ one_page_per_sheet == other.one_page_per_sheet &&
478
+ show_hidden_sheets == other.show_hidden_sheets &&
479
+ show_grid_lines == other.show_grid_lines &&
480
+ font_substitutes == other.font_substitutes &&
481
+ default_font == other.default_font &&
482
+ sheet_indexes == other.sheet_indexes &&
483
+ sheets == other.sheets &&
316
484
  print_comments == other.print_comments &&
485
+ reset_font_folders == other.reset_font_folders &&
317
486
  separator == other.separator &&
318
487
  is_multi_encoded == other.is_multi_encoded &&
319
488
  has_formula == other.has_formula &&
@@ -331,7 +500,7 @@ module GroupDocsConversionCloud
331
500
  # Calculates hash code according to all attributes.
332
501
  # @return [Fixnum] Hash code
333
502
  def hash
334
- [format, default_font, font_substitutes, show_grid_lines, show_hidden_sheets, one_page_per_sheet, convert_range, skip_empty_rows_and_columns, password, print_comments, separator, is_multi_encoded, has_formula, convert_numeric_data, convert_date_time_data, encoding].hash
503
+ [format, clear_custom_document_properties, clear_built_in_document_properties, rows_per_page, columns_per_page, auto_fit_rows, all_columns_in_one_page_per_sheet, culture_info, check_excel_restriction, password, skip_empty_rows_and_columns, convert_range, optimize_pdf_size, one_page_per_sheet, show_hidden_sheets, show_grid_lines, font_substitutes, default_font, sheet_indexes, sheets, print_comments, reset_font_folders, separator, is_multi_encoded, has_formula, convert_numeric_data, convert_date_time_data, encoding].hash
335
504
  end
336
505
 
337
506
  # Downcases first letter.