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.
- checksums.yaml +4 -4
- data/lib/groupdocs_conversion_cloud/models/cad_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/csv_load_options.rb +230 -61
- data/lib/groupdocs_conversion_cloud/models/email_load_options.rb +142 -77
- data/lib/groupdocs_conversion_cloud/models/pdf_load_options.rb +110 -28
- data/lib/groupdocs_conversion_cloud/models/spreadsheet_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/tsv_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/web_load_options.rb +81 -4
- data/lib/groupdocs_conversion_cloud/version.rb +1 -1
- data/lib/groupdocs_conversion_cloud.rb +0 -79
- metadata +2 -81
- data/lib/groupdocs_conversion_cloud/models/bmp_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/cf2_load_options.rb +0 -288
- data/lib/groupdocs_conversion_cloud/models/dcm_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/dgn_load_options.rb +0 -288
- data/lib/groupdocs_conversion_cloud/models/dng_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/doc_load_options.rb +0 -658
- data/lib/groupdocs_conversion_cloud/models/docm_load_options.rb +0 -658
- data/lib/groupdocs_conversion_cloud/models/docx_load_options.rb +0 -658
- data/lib/groupdocs_conversion_cloud/models/dot_load_options.rb +0 -658
- data/lib/groupdocs_conversion_cloud/models/dotm_load_options.rb +0 -658
- data/lib/groupdocs_conversion_cloud/models/dotx_load_options.rb +0 -658
- data/lib/groupdocs_conversion_cloud/models/dwf_load_options.rb +0 -288
- data/lib/groupdocs_conversion_cloud/models/dwfx_load_options.rb +0 -288
- data/lib/groupdocs_conversion_cloud/models/dwg_load_options.rb +0 -288
- data/lib/groupdocs_conversion_cloud/models/dwt_load_options.rb +0 -288
- data/lib/groupdocs_conversion_cloud/models/dxf_load_options.rb +0 -288
- data/lib/groupdocs_conversion_cloud/models/emf_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/eml_load_options.rb +0 -341
- data/lib/groupdocs_conversion_cloud/models/emlx_load_options.rb +0 -341
- data/lib/groupdocs_conversion_cloud/models/gif_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/ico_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/ifc_load_options.rb +0 -288
- data/lib/groupdocs_conversion_cloud/models/igs_load_options.rb +0 -288
- data/lib/groupdocs_conversion_cloud/models/j2c_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/j2k_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/jp2_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/jpeg_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/jpf_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/jpg_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/jpm_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/jpx_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/mht_load_options.rb +0 -341
- data/lib/groupdocs_conversion_cloud/models/mobi_load_options.rb +0 -658
- data/lib/groupdocs_conversion_cloud/models/msg_load_options.rb +0 -341
- data/lib/groupdocs_conversion_cloud/models/odg_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/odp_load_options.rb +0 -434
- data/lib/groupdocs_conversion_cloud/models/ods_load_options.rb +0 -368
- data/lib/groupdocs_conversion_cloud/models/odt_load_options.rb +0 -658
- data/lib/groupdocs_conversion_cloud/models/ost_load_options.rb +0 -341
- data/lib/groupdocs_conversion_cloud/models/otp_load_options.rb +0 -434
- data/lib/groupdocs_conversion_cloud/models/ots_load_options.rb +0 -368
- data/lib/groupdocs_conversion_cloud/models/ott_load_options.rb +0 -658
- data/lib/groupdocs_conversion_cloud/models/plt_load_options.rb +0 -288
- data/lib/groupdocs_conversion_cloud/models/png_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/potm_load_options.rb +0 -434
- data/lib/groupdocs_conversion_cloud/models/potx_load_options.rb +0 -434
- data/lib/groupdocs_conversion_cloud/models/pps_load_options.rb +0 -434
- data/lib/groupdocs_conversion_cloud/models/ppsm_load_options.rb +0 -434
- data/lib/groupdocs_conversion_cloud/models/ppsx_load_options.rb +0 -434
- data/lib/groupdocs_conversion_cloud/models/ppt_load_options.rb +0 -434
- data/lib/groupdocs_conversion_cloud/models/pptm_load_options.rb +0 -434
- data/lib/groupdocs_conversion_cloud/models/pptx_load_options.rb +0 -434
- data/lib/groupdocs_conversion_cloud/models/psd_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/pst_load_options.rb +0 -341
- data/lib/groupdocs_conversion_cloud/models/stl_load_options.rb +0 -288
- data/lib/groupdocs_conversion_cloud/models/tif_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/tiff_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/vdw_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/vdx_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/vsd_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/vsdm_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/vsdx_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/vss_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/vssm_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/vssx_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/vst_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/vstm_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/vstx_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/vsx_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/vtx_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/webp_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/wmf_load_options.rb +0 -224
- data/lib/groupdocs_conversion_cloud/models/xls2003_load_options.rb +0 -368
- data/lib/groupdocs_conversion_cloud/models/xls_load_options.rb +0 -368
- data/lib/groupdocs_conversion_cloud/models/xlsb_load_options.rb +0 -368
- data/lib/groupdocs_conversion_cloud/models/xlsm_load_options.rb +0 -368
- data/lib/groupdocs_conversion_cloud/models/xlsx_load_options.rb +0 -368
- data/lib/groupdocs_conversion_cloud/models/xltm_load_options.rb +0 -368
- data/lib/groupdocs_conversion_cloud/models/xltx_load_options.rb +0 -368
@@ -34,32 +34,68 @@ 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
|
-
#
|
38
|
-
attr_accessor :
|
37
|
+
# Clear custom document properties. Default is false.
|
38
|
+
attr_accessor :clear_custom_document_properties
|
39
39
|
|
40
|
-
#
|
41
|
-
attr_accessor :
|
40
|
+
# Clear built-in document properties. Default is false.
|
41
|
+
attr_accessor :clear_built_in_document_properties
|
42
42
|
|
43
|
-
#
|
44
|
-
attr_accessor :
|
43
|
+
# Split a worksheet into pages by rows. Default is 0, no pagination.
|
44
|
+
attr_accessor :rows_per_page
|
45
45
|
|
46
|
-
#
|
47
|
-
attr_accessor :
|
46
|
+
# Split a worksheet into pages by columns. Default is 0, no pagination.
|
47
|
+
attr_accessor :columns_per_page
|
48
48
|
|
49
|
-
#
|
50
|
-
attr_accessor :
|
49
|
+
# Autofits all rows when converting
|
50
|
+
attr_accessor :auto_fit_rows
|
51
51
|
|
52
|
-
#
|
53
|
-
attr_accessor :
|
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
|
-
#
|
56
|
-
attr_accessor :
|
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
|
96
|
+
|
97
|
+
# Reset font folders before loading document
|
98
|
+
attr_accessor :reset_font_folders
|
63
99
|
class EnumAttributeValidator
|
64
100
|
attr_reader :datatype
|
65
101
|
attr_reader :allowable_values
|
@@ -86,15 +122,27 @@ module GroupDocsConversionCloud
|
|
86
122
|
def self.attribute_map
|
87
123
|
{
|
88
124
|
:'format' => :'Format',
|
89
|
-
:'
|
90
|
-
:'
|
91
|
-
:'
|
92
|
-
:'
|
93
|
-
:'
|
94
|
-
:'
|
95
|
-
:'
|
125
|
+
:'clear_custom_document_properties' => :'ClearCustomDocumentProperties',
|
126
|
+
:'clear_built_in_document_properties' => :'ClearBuiltInDocumentProperties',
|
127
|
+
:'rows_per_page' => :'RowsPerPage',
|
128
|
+
:'columns_per_page' => :'ColumnsPerPage',
|
129
|
+
:'auto_fit_rows' => :'AutoFitRows',
|
130
|
+
:'all_columns_in_one_page_per_sheet' => :'AllColumnsInOnePagePerSheet',
|
131
|
+
:'culture_info' => :'CultureInfo',
|
132
|
+
:'check_excel_restriction' => :'CheckExcelRestriction',
|
96
133
|
:'password' => :'Password',
|
97
|
-
:'
|
134
|
+
:'skip_empty_rows_and_columns' => :'SkipEmptyRowsAndColumns',
|
135
|
+
:'convert_range' => :'ConvertRange',
|
136
|
+
:'optimize_pdf_size' => :'OptimizePdfSize',
|
137
|
+
:'one_page_per_sheet' => :'OnePagePerSheet',
|
138
|
+
:'show_hidden_sheets' => :'ShowHiddenSheets',
|
139
|
+
:'show_grid_lines' => :'ShowGridLines',
|
140
|
+
:'font_substitutes' => :'FontSubstitutes',
|
141
|
+
:'default_font' => :'DefaultFont',
|
142
|
+
:'sheet_indexes' => :'SheetIndexes',
|
143
|
+
:'sheets' => :'Sheets',
|
144
|
+
:'print_comments' => :'PrintComments',
|
145
|
+
:'reset_font_folders' => :'ResetFontFolders'
|
98
146
|
}
|
99
147
|
end
|
100
148
|
|
@@ -102,15 +150,27 @@ module GroupDocsConversionCloud
|
|
102
150
|
def self.swagger_types
|
103
151
|
{
|
104
152
|
:'format' => :'String',
|
105
|
-
:'
|
106
|
-
:'
|
107
|
-
:'
|
108
|
-
:'
|
109
|
-
:'
|
110
|
-
:'
|
111
|
-
:'
|
153
|
+
:'clear_custom_document_properties' => :'BOOLEAN',
|
154
|
+
:'clear_built_in_document_properties' => :'BOOLEAN',
|
155
|
+
:'rows_per_page' => :'Integer',
|
156
|
+
:'columns_per_page' => :'Integer',
|
157
|
+
:'auto_fit_rows' => :'BOOLEAN',
|
158
|
+
:'all_columns_in_one_page_per_sheet' => :'BOOLEAN',
|
159
|
+
:'culture_info' => :'String',
|
160
|
+
:'check_excel_restriction' => :'BOOLEAN',
|
112
161
|
:'password' => :'String',
|
113
|
-
:'
|
162
|
+
:'skip_empty_rows_and_columns' => :'BOOLEAN',
|
163
|
+
:'convert_range' => :'String',
|
164
|
+
:'optimize_pdf_size' => :'BOOLEAN',
|
165
|
+
:'one_page_per_sheet' => :'BOOLEAN',
|
166
|
+
:'show_hidden_sheets' => :'BOOLEAN',
|
167
|
+
:'show_grid_lines' => :'BOOLEAN',
|
168
|
+
:'font_substitutes' => :'Hash<String, String>',
|
169
|
+
:'default_font' => :'String',
|
170
|
+
:'sheet_indexes' => :'Array<Integer>',
|
171
|
+
:'sheets' => :'Array<String>',
|
172
|
+
:'print_comments' => :'String',
|
173
|
+
:'reset_font_folders' => :'BOOLEAN'
|
114
174
|
}
|
115
175
|
end
|
116
176
|
|
@@ -126,83 +186,180 @@ module GroupDocsConversionCloud
|
|
126
186
|
self.format = attributes[:'Format']
|
127
187
|
end
|
128
188
|
|
129
|
-
if attributes.key?(:'
|
130
|
-
self.
|
189
|
+
if attributes.key?(:'ClearCustomDocumentProperties')
|
190
|
+
self.clear_custom_document_properties = attributes[:'ClearCustomDocumentProperties']
|
131
191
|
end
|
132
192
|
|
133
|
-
if attributes.key?(:'
|
134
|
-
|
135
|
-
self.font_substitutes = value
|
136
|
-
end
|
193
|
+
if attributes.key?(:'ClearBuiltInDocumentProperties')
|
194
|
+
self.clear_built_in_document_properties = attributes[:'ClearBuiltInDocumentProperties']
|
137
195
|
end
|
138
196
|
|
139
|
-
if attributes.key?(:'
|
140
|
-
self.
|
197
|
+
if attributes.key?(:'RowsPerPage')
|
198
|
+
self.rows_per_page = attributes[:'RowsPerPage']
|
141
199
|
end
|
142
200
|
|
143
|
-
if attributes.key?(:'
|
144
|
-
self.
|
201
|
+
if attributes.key?(:'ColumnsPerPage')
|
202
|
+
self.columns_per_page = attributes[:'ColumnsPerPage']
|
145
203
|
end
|
146
204
|
|
147
|
-
if attributes.key?(:'
|
148
|
-
self.
|
205
|
+
if attributes.key?(:'AutoFitRows')
|
206
|
+
self.auto_fit_rows = attributes[:'AutoFitRows']
|
149
207
|
end
|
150
208
|
|
151
|
-
if attributes.key?(:'
|
152
|
-
self.
|
209
|
+
if attributes.key?(:'AllColumnsInOnePagePerSheet')
|
210
|
+
self.all_columns_in_one_page_per_sheet = attributes[:'AllColumnsInOnePagePerSheet']
|
153
211
|
end
|
154
212
|
|
155
|
-
if attributes.key?(:'
|
156
|
-
self.
|
213
|
+
if attributes.key?(:'CultureInfo')
|
214
|
+
self.culture_info = attributes[:'CultureInfo']
|
215
|
+
end
|
216
|
+
|
217
|
+
if attributes.key?(:'CheckExcelRestriction')
|
218
|
+
self.check_excel_restriction = attributes[:'CheckExcelRestriction']
|
157
219
|
end
|
158
220
|
|
159
221
|
if attributes.key?(:'Password')
|
160
222
|
self.password = attributes[:'Password']
|
161
223
|
end
|
162
224
|
|
225
|
+
if attributes.key?(:'SkipEmptyRowsAndColumns')
|
226
|
+
self.skip_empty_rows_and_columns = attributes[:'SkipEmptyRowsAndColumns']
|
227
|
+
end
|
228
|
+
|
229
|
+
if attributes.key?(:'ConvertRange')
|
230
|
+
self.convert_range = attributes[:'ConvertRange']
|
231
|
+
end
|
232
|
+
|
233
|
+
if attributes.key?(:'OptimizePdfSize')
|
234
|
+
self.optimize_pdf_size = attributes[:'OptimizePdfSize']
|
235
|
+
end
|
236
|
+
|
237
|
+
if attributes.key?(:'OnePagePerSheet')
|
238
|
+
self.one_page_per_sheet = attributes[:'OnePagePerSheet']
|
239
|
+
end
|
240
|
+
|
241
|
+
if attributes.key?(:'ShowHiddenSheets')
|
242
|
+
self.show_hidden_sheets = attributes[:'ShowHiddenSheets']
|
243
|
+
end
|
244
|
+
|
245
|
+
if attributes.key?(:'ShowGridLines')
|
246
|
+
self.show_grid_lines = attributes[:'ShowGridLines']
|
247
|
+
end
|
248
|
+
|
249
|
+
if attributes.key?(:'FontSubstitutes')
|
250
|
+
if (value = attributes[:'FontSubstitutes']).is_a?(Hash)
|
251
|
+
self.font_substitutes = value
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
255
|
+
if attributes.key?(:'DefaultFont')
|
256
|
+
self.default_font = attributes[:'DefaultFont']
|
257
|
+
end
|
258
|
+
|
259
|
+
if attributes.key?(:'SheetIndexes')
|
260
|
+
if (value = attributes[:'SheetIndexes']).is_a?(Array)
|
261
|
+
self.sheet_indexes = value
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
if attributes.key?(:'Sheets')
|
266
|
+
if (value = attributes[:'Sheets']).is_a?(Array)
|
267
|
+
self.sheets = value
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
163
271
|
if attributes.key?(:'PrintComments')
|
164
272
|
self.print_comments = attributes[:'PrintComments']
|
165
273
|
end
|
166
274
|
|
275
|
+
if attributes.key?(:'ResetFontFolders')
|
276
|
+
self.reset_font_folders = attributes[:'ResetFontFolders']
|
277
|
+
end
|
278
|
+
|
167
279
|
end
|
168
280
|
|
169
281
|
# Show invalid properties with the reasons. Usually used together with valid?
|
170
282
|
# @return Array for valid properies with the reasons
|
171
283
|
def list_invalid_properties
|
172
284
|
invalid_properties = []
|
173
|
-
if @
|
174
|
-
invalid_properties.push("invalid value for '
|
285
|
+
if @clear_custom_document_properties.nil?
|
286
|
+
invalid_properties.push("invalid value for 'clear_custom_document_properties', clear_custom_document_properties cannot be nil.")
|
175
287
|
end
|
176
288
|
|
177
|
-
if @
|
178
|
-
invalid_properties.push("invalid value for '
|
289
|
+
if @clear_built_in_document_properties.nil?
|
290
|
+
invalid_properties.push("invalid value for 'clear_built_in_document_properties', clear_built_in_document_properties cannot be nil.")
|
179
291
|
end
|
180
292
|
|
181
|
-
if @
|
182
|
-
invalid_properties.push("invalid value for '
|
293
|
+
if @rows_per_page.nil?
|
294
|
+
invalid_properties.push("invalid value for 'rows_per_page', rows_per_page cannot be nil.")
|
295
|
+
end
|
296
|
+
|
297
|
+
if @columns_per_page.nil?
|
298
|
+
invalid_properties.push("invalid value for 'columns_per_page', columns_per_page cannot be nil.")
|
299
|
+
end
|
300
|
+
|
301
|
+
if @auto_fit_rows.nil?
|
302
|
+
invalid_properties.push("invalid value for 'auto_fit_rows', auto_fit_rows cannot be nil.")
|
303
|
+
end
|
304
|
+
|
305
|
+
if @all_columns_in_one_page_per_sheet.nil?
|
306
|
+
invalid_properties.push("invalid value for 'all_columns_in_one_page_per_sheet', all_columns_in_one_page_per_sheet cannot be nil.")
|
307
|
+
end
|
308
|
+
|
309
|
+
if @check_excel_restriction.nil?
|
310
|
+
invalid_properties.push("invalid value for 'check_excel_restriction', check_excel_restriction cannot be nil.")
|
183
311
|
end
|
184
312
|
|
185
313
|
if @skip_empty_rows_and_columns.nil?
|
186
314
|
invalid_properties.push("invalid value for 'skip_empty_rows_and_columns', skip_empty_rows_and_columns cannot be nil.")
|
187
315
|
end
|
188
316
|
|
317
|
+
if @optimize_pdf_size.nil?
|
318
|
+
invalid_properties.push("invalid value for 'optimize_pdf_size', optimize_pdf_size cannot be nil.")
|
319
|
+
end
|
320
|
+
|
321
|
+
if @one_page_per_sheet.nil?
|
322
|
+
invalid_properties.push("invalid value for 'one_page_per_sheet', one_page_per_sheet cannot be nil.")
|
323
|
+
end
|
324
|
+
|
325
|
+
if @show_hidden_sheets.nil?
|
326
|
+
invalid_properties.push("invalid value for 'show_hidden_sheets', show_hidden_sheets cannot be nil.")
|
327
|
+
end
|
328
|
+
|
329
|
+
if @show_grid_lines.nil?
|
330
|
+
invalid_properties.push("invalid value for 'show_grid_lines', show_grid_lines cannot be nil.")
|
331
|
+
end
|
332
|
+
|
189
333
|
if @print_comments.nil?
|
190
334
|
invalid_properties.push("invalid value for 'print_comments', print_comments cannot be nil.")
|
191
335
|
end
|
192
336
|
|
337
|
+
if @reset_font_folders.nil?
|
338
|
+
invalid_properties.push("invalid value for 'reset_font_folders', reset_font_folders cannot be nil.")
|
339
|
+
end
|
340
|
+
|
193
341
|
return invalid_properties
|
194
342
|
end
|
195
343
|
|
196
344
|
# Check to see if the all the properties in the model are valid
|
197
345
|
# @return true if the model is valid
|
198
346
|
def valid?
|
199
|
-
return false if @
|
200
|
-
return false if @
|
201
|
-
return false if @
|
347
|
+
return false if @clear_custom_document_properties.nil?
|
348
|
+
return false if @clear_built_in_document_properties.nil?
|
349
|
+
return false if @rows_per_page.nil?
|
350
|
+
return false if @columns_per_page.nil?
|
351
|
+
return false if @auto_fit_rows.nil?
|
352
|
+
return false if @all_columns_in_one_page_per_sheet.nil?
|
353
|
+
return false if @check_excel_restriction.nil?
|
202
354
|
return false if @skip_empty_rows_and_columns.nil?
|
355
|
+
return false if @optimize_pdf_size.nil?
|
356
|
+
return false if @one_page_per_sheet.nil?
|
357
|
+
return false if @show_hidden_sheets.nil?
|
358
|
+
return false if @show_grid_lines.nil?
|
203
359
|
return false if @print_comments.nil?
|
204
360
|
print_comments_validator = EnumAttributeValidator.new('String', ["PrintInPlace", "PrintNoComments", "PrintSheetEnd", "PrintWithThreadedComments"])
|
205
361
|
return false unless print_comments_validator.valid?(@print_comments)
|
362
|
+
return false if @reset_font_folders.nil?
|
206
363
|
return true
|
207
364
|
end
|
208
365
|
|
@@ -226,15 +383,27 @@ module GroupDocsConversionCloud
|
|
226
383
|
return true if self.equal?(other)
|
227
384
|
self.class == other.class &&
|
228
385
|
format == other.format &&
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
386
|
+
clear_custom_document_properties == other.clear_custom_document_properties &&
|
387
|
+
clear_built_in_document_properties == other.clear_built_in_document_properties &&
|
388
|
+
rows_per_page == other.rows_per_page &&
|
389
|
+
columns_per_page == other.columns_per_page &&
|
390
|
+
auto_fit_rows == other.auto_fit_rows &&
|
391
|
+
all_columns_in_one_page_per_sheet == other.all_columns_in_one_page_per_sheet &&
|
392
|
+
culture_info == other.culture_info &&
|
393
|
+
check_excel_restriction == other.check_excel_restriction &&
|
236
394
|
password == other.password &&
|
237
|
-
|
395
|
+
skip_empty_rows_and_columns == other.skip_empty_rows_and_columns &&
|
396
|
+
convert_range == other.convert_range &&
|
397
|
+
optimize_pdf_size == other.optimize_pdf_size &&
|
398
|
+
one_page_per_sheet == other.one_page_per_sheet &&
|
399
|
+
show_hidden_sheets == other.show_hidden_sheets &&
|
400
|
+
show_grid_lines == other.show_grid_lines &&
|
401
|
+
font_substitutes == other.font_substitutes &&
|
402
|
+
default_font == other.default_font &&
|
403
|
+
sheet_indexes == other.sheet_indexes &&
|
404
|
+
sheets == other.sheets &&
|
405
|
+
print_comments == other.print_comments &&
|
406
|
+
reset_font_folders == other.reset_font_folders
|
238
407
|
end
|
239
408
|
|
240
409
|
# @see the `==` method
|
@@ -246,7 +415,7 @@ module GroupDocsConversionCloud
|
|
246
415
|
# Calculates hash code according to all attributes.
|
247
416
|
# @return [Fixnum] Hash code
|
248
417
|
def hash
|
249
|
-
[format,
|
418
|
+
[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].hash
|
250
419
|
end
|
251
420
|
|
252
421
|
# Downcases first letter.
|