groupdocs_conversion_cloud 25.5 → 25.8
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/cf2_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/csv_load_options.rb +230 -61
- data/lib/groupdocs_conversion_cloud/models/dgn_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/doc_load_options.rb +356 -34
- data/lib/groupdocs_conversion_cloud/models/docm_load_options.rb +356 -34
- data/lib/groupdocs_conversion_cloud/models/docx_load_options.rb +356 -34
- data/lib/groupdocs_conversion_cloud/models/dot_load_options.rb +356 -34
- data/lib/groupdocs_conversion_cloud/models/dotm_load_options.rb +356 -34
- data/lib/groupdocs_conversion_cloud/models/dotx_load_options.rb +356 -34
- data/lib/groupdocs_conversion_cloud/models/dwf_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/dwfx_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/dwg_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/dwt_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/dxf_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/email_load_options.rb +142 -77
- data/lib/groupdocs_conversion_cloud/models/eml_load_options.rb +142 -77
- data/lib/groupdocs_conversion_cloud/models/emlx_load_options.rb +142 -77
- data/lib/groupdocs_conversion_cloud/models/ifc_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/igs_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/mht_load_options.rb +142 -77
- data/lib/groupdocs_conversion_cloud/models/mobi_load_options.rb +356 -34
- data/lib/groupdocs_conversion_cloud/models/msg_load_options.rb +142 -77
- data/lib/groupdocs_conversion_cloud/models/odp_load_options.rb +3 -3
- data/lib/groupdocs_conversion_cloud/models/ods_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/odt_load_options.rb +356 -34
- data/lib/groupdocs_conversion_cloud/models/ost_load_options.rb +142 -77
- data/lib/groupdocs_conversion_cloud/models/otp_load_options.rb +3 -3
- data/lib/groupdocs_conversion_cloud/models/ots_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/ott_load_options.rb +356 -34
- data/lib/groupdocs_conversion_cloud/models/pdf_load_options.rb +110 -28
- data/lib/groupdocs_conversion_cloud/models/plt_load_options.rb +25 -15
- data/lib/groupdocs_conversion_cloud/models/potm_load_options.rb +3 -3
- data/lib/groupdocs_conversion_cloud/models/potx_load_options.rb +3 -3
- data/lib/groupdocs_conversion_cloud/models/pps_load_options.rb +3 -3
- data/lib/groupdocs_conversion_cloud/models/ppsm_load_options.rb +3 -3
- data/lib/groupdocs_conversion_cloud/models/ppsx_load_options.rb +3 -3
- data/lib/groupdocs_conversion_cloud/models/ppt_load_options.rb +3 -3
- data/lib/groupdocs_conversion_cloud/models/pptm_load_options.rb +3 -3
- data/lib/groupdocs_conversion_cloud/models/pptx_load_options.rb +3 -3
- data/lib/groupdocs_conversion_cloud/models/presentation_load_options.rb +3 -3
- data/lib/groupdocs_conversion_cloud/models/pst_load_options.rb +142 -77
- data/lib/groupdocs_conversion_cloud/models/spreadsheet_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/stl_load_options.rb +25 -15
- 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/models/word_processing_load_options.rb +356 -34
- data/lib/groupdocs_conversion_cloud/models/xls2003_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/xls_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/xlsb_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/xlsm_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/xlsx_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/xltm_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/models/xltx_load_options.rb +233 -64
- data/lib/groupdocs_conversion_cloud/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 704f579bb65790f457853db3c4097dcf65dfa8705fecc9411bb80279a33fe0bf
|
4
|
+
data.tar.gz: fe279c543d6bab8a5a9e6422dad6657f244bf18d3d298184daa1c8fcf2c4773d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c492a18e3d3d22e2d26b1997c6de86b55061b7e3cb0527d295917da38d3ff997055637fdb3210ea1da0751a4a1219b2781d5d89fa7b0dbe84714b276236e939
|
7
|
+
data.tar.gz: 5354cc1cdddaa0c93ea11a08773206b607c8d08c413ed4b3352dbaf1aa32b7e26b9f4872b4e88b25bf87a0c3860ec2bf1e841ac5b3a17571c8e863925c1df383
|
@@ -37,11 +37,14 @@ module GroupDocsConversionCloud
|
|
37
37
|
# Render specific CAD layouts
|
38
38
|
attr_accessor :layout_names
|
39
39
|
|
40
|
-
#
|
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
|
-
:'
|
73
|
-
:'
|
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
|
-
:'
|
83
|
-
:'
|
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
|
-
|
157
|
-
|
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,
|
179
|
+
[format, layout_names, draw_type, draw_color, background_color].hash
|
170
180
|
end
|
171
181
|
|
172
182
|
# Downcases first letter.
|
@@ -37,11 +37,14 @@ module GroupDocsConversionCloud
|
|
37
37
|
# Render specific CAD layouts
|
38
38
|
attr_accessor :layout_names
|
39
39
|
|
40
|
-
#
|
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
|
-
:'
|
73
|
-
:'
|
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
|
-
:'
|
83
|
-
:'
|
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
|
-
|
157
|
-
|
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,
|
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
|
-
#
|
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
|
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
|
-
:'
|
108
|
-
:'
|
109
|
-
:'
|
110
|
-
:'
|
111
|
-
:'
|
112
|
-
:'
|
113
|
-
:'
|
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
|
-
:'
|
130
|
-
:'
|
131
|
-
:'
|
132
|
-
:'
|
133
|
-
:'
|
134
|
-
:'
|
135
|
-
:'
|
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?(:'
|
160
|
-
self.
|
219
|
+
if attributes.key?(:'ClearCustomDocumentProperties')
|
220
|
+
self.clear_custom_document_properties = attributes[:'ClearCustomDocumentProperties']
|
161
221
|
end
|
162
222
|
|
163
|
-
if attributes.key?(:'
|
164
|
-
|
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?(:'
|
170
|
-
self.
|
227
|
+
if attributes.key?(:'RowsPerPage')
|
228
|
+
self.rows_per_page = attributes[:'RowsPerPage']
|
171
229
|
end
|
172
230
|
|
173
|
-
if attributes.key?(:'
|
174
|
-
self.
|
231
|
+
if attributes.key?(:'ColumnsPerPage')
|
232
|
+
self.columns_per_page = attributes[:'ColumnsPerPage']
|
175
233
|
end
|
176
234
|
|
177
|
-
if attributes.key?(:'
|
178
|
-
self.
|
235
|
+
if attributes.key?(:'AutoFitRows')
|
236
|
+
self.auto_fit_rows = attributes[:'AutoFitRows']
|
179
237
|
end
|
180
238
|
|
181
|
-
if attributes.key?(:'
|
182
|
-
self.
|
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?(:'
|
186
|
-
self.
|
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 @
|
228
|
-
invalid_properties.push("invalid value for '
|
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 @
|
232
|
-
invalid_properties.push("invalid value for '
|
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 @
|
236
|
-
invalid_properties.push("invalid value for '
|
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 @
|
274
|
-
return false if @
|
275
|
-
return false if @
|
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
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
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,
|
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.
|