aspose_cells_cloud 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +22 -0
- data/README.md +40 -0
- data/aspose_cells_cloud.gemspec +26 -0
- data/lib/aspose_cells_cloud/api/cells_api.rb +9820 -0
- data/lib/aspose_cells_cloud/api_client.rb +335 -0
- data/lib/aspose_cells_cloud/api_error.rb +24 -0
- data/lib/aspose_cells_cloud/configuration.rb +166 -0
- data/lib/aspose_cells_cloud/models/auto_filter.rb +63 -0
- data/lib/aspose_cells_cloud/models/auto_fitter_options.rb +53 -0
- data/lib/aspose_cells_cloud/models/auto_shape_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/auto_shapes_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/barcode_response.rb +63 -0
- data/lib/aspose_cells_cloud/models/barcode_response_list.rb +63 -0
- data/lib/aspose_cells_cloud/models/base_object.rb +86 -0
- data/lib/aspose_cells_cloud/models/base_response.rb +53 -0
- data/lib/aspose_cells_cloud/models/border.rb +53 -0
- data/lib/aspose_cells_cloud/models/cell.rb +165 -0
- data/lib/aspose_cells_cloud/models/cell_area.rb +61 -0
- data/lib/aspose_cells_cloud/models/cell_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/cells.rb +87 -0
- data/lib/aspose_cells_cloud/models/cells_color.rb +69 -0
- data/lib/aspose_cells_cloud/models/cells_document_properties.rb +47 -0
- data/lib/aspose_cells_cloud/models/cells_document_properties_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/cells_document_property.rb +61 -0
- data/lib/aspose_cells_cloud/models/cells_document_property_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/cells_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/chart_area_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/charts_chart_area.rb +143 -0
- data/lib/aspose_cells_cloud/models/charts_charts.rb +47 -0
- data/lib/aspose_cells_cloud/models/charts_legend.rb +159 -0
- data/lib/aspose_cells_cloud/models/charts_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/charts_title.rb +199 -0
- data/lib/aspose_cells_cloud/models/color.rb +61 -0
- data/lib/aspose_cells_cloud/models/color_filter.rb +37 -0
- data/lib/aspose_cells_cloud/models/column.rb +77 -0
- data/lib/aspose_cells_cloud/models/column_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/columns.rb +63 -0
- data/lib/aspose_cells_cloud/models/columns_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/comment.rb +125 -0
- data/lib/aspose_cells_cloud/models/comment_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/comments.rb +47 -0
- data/lib/aspose_cells_cloud/models/comments_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/create_pivot_table_request.rb +91 -0
- data/lib/aspose_cells_cloud/models/custom_filter.rb +45 -0
- data/lib/aspose_cells_cloud/models/data_sorter.rb +63 -0
- data/lib/aspose_cells_cloud/models/date_time_group_item.rb +85 -0
- data/lib/aspose_cells_cloud/models/drawing_area.rb +77 -0
- data/lib/aspose_cells_cloud/models/drawing_auto_shapes.rb +47 -0
- data/lib/aspose_cells_cloud/models/drawing_fill_format.rb +77 -0
- data/lib/aspose_cells_cloud/models/drawing_gradient_fill.rb +63 -0
- data/lib/aspose_cells_cloud/models/drawing_gradient_fill_stop.rb +53 -0
- data/lib/aspose_cells_cloud/models/drawing_line.rb +181 -0
- data/lib/aspose_cells_cloud/models/drawing_ole_object.rb +365 -0
- data/lib/aspose_cells_cloud/models/drawing_ole_objects.rb +47 -0
- data/lib/aspose_cells_cloud/models/drawing_pattern_fill.rb +85 -0
- data/lib/aspose_cells_cloud/models/drawing_pic_format_option.rb +77 -0
- data/lib/aspose_cells_cloud/models/drawing_picture.rb +357 -0
- data/lib/aspose_cells_cloud/models/drawing_pictures.rb +47 -0
- data/lib/aspose_cells_cloud/models/drawing_solid_fill.rb +53 -0
- data/lib/aspose_cells_cloud/models/drawing_texture_fill.rb +77 -0
- data/lib/aspose_cells_cloud/models/drawing_tile_pic_option.rb +77 -0
- data/lib/aspose_cells_cloud/models/dynamic_filter.rb +53 -0
- data/lib/aspose_cells_cloud/models/fill_format_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/filter_column.rb +103 -0
- data/lib/aspose_cells_cloud/models/font.rb +109 -0
- data/lib/aspose_cells_cloud/models/hyperlink.rb +69 -0
- data/lib/aspose_cells_cloud/models/hyperlink_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/hyperlinks.rb +55 -0
- data/lib/aspose_cells_cloud/models/hyperlinks_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/icon_filter.rb +45 -0
- data/lib/aspose_cells_cloud/models/import_data_import_option.rb +45 -0
- data/lib/aspose_cells_cloud/models/legend_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/line_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/link.rb +61 -0
- data/lib/aspose_cells_cloud/models/link_element.rb +37 -0
- data/lib/aspose_cells_cloud/models/merged_cell.rb +69 -0
- data/lib/aspose_cells_cloud/models/merged_cell_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/merged_cells.rb +55 -0
- data/lib/aspose_cells_cloud/models/merged_cells_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/multiple_filters.rb +47 -0
- data/lib/aspose_cells_cloud/models/name.rb +93 -0
- data/lib/aspose_cells_cloud/models/name_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/names.rb +55 -0
- data/lib/aspose_cells_cloud/models/names_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/ole_object_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/ole_objects_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/password_request.rb +37 -0
- data/lib/aspose_cells_cloud/models/picture_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/pictures_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/pivot_field_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/pivot_pivot_field.rb +347 -0
- data/lib/aspose_cells_cloud/models/pivot_pivot_filter.rb +101 -0
- data/lib/aspose_cells_cloud/models/pivot_pivot_item.rb +61 -0
- data/lib/aspose_cells_cloud/models/pivot_pivot_table.rb +595 -0
- data/lib/aspose_cells_cloud/models/pivot_pivot_tables.rb +47 -0
- data/lib/aspose_cells_cloud/models/pivot_table_field_request.rb +39 -0
- data/lib/aspose_cells_cloud/models/pivot_table_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/pivot_tables_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/protect_sheet_parameter.rb +159 -0
- data/lib/aspose_cells_cloud/models/row.rb +93 -0
- data/lib/aspose_cells_cloud/models/row_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/rows.rb +63 -0
- data/lib/aspose_cells_cloud/models/rows_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/save_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/save_result.rb +55 -0
- data/lib/aspose_cells_cloud/models/saving_save_options.rb +85 -0
- data/lib/aspose_cells_cloud/models/single_value.rb +45 -0
- data/lib/aspose_cells_cloud/models/single_value_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/sort_key.rb +45 -0
- data/lib/aspose_cells_cloud/models/split_result.rb +39 -0
- data/lib/aspose_cells_cloud/models/split_result_document.rb +45 -0
- data/lib/aspose_cells_cloud/models/split_result_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/style.rb +207 -0
- data/lib/aspose_cells_cloud/models/style_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/text_item.rb +45 -0
- data/lib/aspose_cells_cloud/models/text_items.rb +47 -0
- data/lib/aspose_cells_cloud/models/text_items_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/theme_color.rb +45 -0
- data/lib/aspose_cells_cloud/models/title_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/top10_filter.rb +61 -0
- data/lib/aspose_cells_cloud/models/validation.rb +167 -0
- data/lib/aspose_cells_cloud/models/validation_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/validations.rb +55 -0
- data/lib/aspose_cells_cloud/models/validations_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/workbook.rb +119 -0
- data/lib/aspose_cells_cloud/models/workbook_encryption_request.rb +53 -0
- data/lib/aspose_cells_cloud/models/workbook_protection_request.rb +45 -0
- data/lib/aspose_cells_cloud/models/workbook_replace_response.rb +69 -0
- data/lib/aspose_cells_cloud/models/workbook_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/workbook_settings.rb +389 -0
- data/lib/aspose_cells_cloud/models/workbook_settings_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/worksheet.rb +287 -0
- data/lib/aspose_cells_cloud/models/worksheet_moving_request.rb +45 -0
- data/lib/aspose_cells_cloud/models/worksheet_replace_response.rb +69 -0
- data/lib/aspose_cells_cloud/models/worksheet_response.rb +61 -0
- data/lib/aspose_cells_cloud/models/worksheets.rb +47 -0
- data/lib/aspose_cells_cloud/models/worksheets_response.rb +61 -0
- data/lib/aspose_cells_cloud/version.rb +3 -0
- data/lib/aspose_cells_cloud.rb +161 -0
- data/test/cells_tests.rb +1732 -0
- data/test/data/Creative.jpg +0 -0
- data/test/data/Embeded_OleObject_Sample_Book1.xlsx +0 -0
- data/test/data/Sample_Book1.xlsx +0 -0
- data/test/data/Sample_Book2.xls +0 -0
- data/test/data/Sample_Pivot_Table_Example.xls +0 -0
- data/test/data/Sample_Protected_Test_Book.xls +0 -0
- data/test/data/Sample_SmartMarker.xlsx +0 -0
- data/test/data/Sample_SmartMarker_Data.xml +14 -0
- data/test/data/Sample_Test_Book.xls +0 -0
- data/test/data/WorkSheetBackground_Sample_Test_Book.xls +0 -0
- data/test/data/aspose-cloud.png +0 -0
- data/test/data/aspose-logo.png +0 -0
- data/test/data/calendar.xlsx +0 -0
- data/test/data/encrypted_Sample_Test_Book.xls +0 -0
- data/test/data/myWorkbook.xlsx +0 -0
- data/test/data/testfile.txt +1 -0
- metadata +289 -0
@@ -0,0 +1,61 @@
|
|
1
|
+
module AsposeCellsCloud
|
2
|
+
#
|
3
|
+
class WorkbookSettingsResponse < BaseObject
|
4
|
+
attr_accessor :settings, :code, :status
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'settings' => :'settings',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'code' => :'Code',
|
14
|
+
|
15
|
+
#
|
16
|
+
:'status' => :'Status'
|
17
|
+
|
18
|
+
}
|
19
|
+
end
|
20
|
+
|
21
|
+
# attribute type
|
22
|
+
def self.swagger_types
|
23
|
+
{
|
24
|
+
:'settings' => :'WorkbookSettings',
|
25
|
+
:'code' => :'String',
|
26
|
+
:'status' => :'String'
|
27
|
+
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
def initialize(attributes = {})
|
32
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
33
|
+
|
34
|
+
# convert string to symbol for hash key
|
35
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
36
|
+
|
37
|
+
|
38
|
+
if attributes[:'settings']
|
39
|
+
self.settings = attributes[:'settings']
|
40
|
+
end
|
41
|
+
|
42
|
+
if attributes[:'Code']
|
43
|
+
self.code = attributes[:'Code']
|
44
|
+
end
|
45
|
+
|
46
|
+
if attributes[:'Status']
|
47
|
+
self.status = attributes[:'Status']
|
48
|
+
end
|
49
|
+
|
50
|
+
end
|
51
|
+
|
52
|
+
def status=(status)
|
53
|
+
allowed_values = ["Continue", "SwitchingProtocols", "OK", "Created", "Accepted", "NonAuthoritativeInformation", "NoContent", "ResetContent", "PartialContent", "MultipleChoices", "Ambiguous", "MovedPermanently", "Moved", "Found", "Redirect", "SeeOther", "RedirectMethod", "NotModified", "UseProxy", "Unused", "TemporaryRedirect", "RedirectKeepVerb", "BadRequest", "Unauthorized", "PaymentRequired", "Forbidden", "NotFound", "MethodNotAllowed", "NotAcceptable", "ProxyAuthenticationRequired", "RequestTimeout", "Conflict", "Gone", "LengthRequired", "PreconditionFailed", "RequestEntityTooLarge", "RequestUriTooLong", "UnsupportedMediaType", "RequestedRangeNotSatisfiable", "ExpectationFailed", "UpgradeRequired", "InternalServerError", "NotImplemented", "BadGateway", "ServiceUnavailable", "GatewayTimeout", "HttpVersionNotSupported"]
|
54
|
+
if status && !allowed_values.include?(status)
|
55
|
+
fail "invalid value for 'status', must be one of #{allowed_values}"
|
56
|
+
end
|
57
|
+
@status = status
|
58
|
+
end
|
59
|
+
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,287 @@
|
|
1
|
+
module AsposeCellsCloud
|
2
|
+
#
|
3
|
+
class Worksheet < BaseObject
|
4
|
+
attr_accessor :links, :display_right_to_left, :display_zeros, :first_visible_column, :first_visible_row, :name, :index, :is_gridlines_visible, :is_outline_shown, :is_page_break_preview, :is_visible, :is_protected, :is_row_column_headers_visible, :is_ruler_visible, :is_selected, :tab_color, :transition_entry, :transition_evaluation, :type, :view_type, :visibility_type, :zoom, :cells, :charts, :auto_shapes, :ole_objects, :comments, :pictures, :merged_cells, :validations, :conditional_formattings, :hyperlinks
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'links' => :'Links',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'display_right_to_left' => :'DisplayRightToLeft',
|
14
|
+
|
15
|
+
#
|
16
|
+
:'display_zeros' => :'DisplayZeros',
|
17
|
+
|
18
|
+
#
|
19
|
+
:'first_visible_column' => :'FirstVisibleColumn',
|
20
|
+
|
21
|
+
#
|
22
|
+
:'first_visible_row' => :'FirstVisibleRow',
|
23
|
+
|
24
|
+
#
|
25
|
+
:'name' => :'Name',
|
26
|
+
|
27
|
+
#
|
28
|
+
:'index' => :'Index',
|
29
|
+
|
30
|
+
#
|
31
|
+
:'is_gridlines_visible' => :'IsGridlinesVisible',
|
32
|
+
|
33
|
+
#
|
34
|
+
:'is_outline_shown' => :'IsOutlineShown',
|
35
|
+
|
36
|
+
#
|
37
|
+
:'is_page_break_preview' => :'IsPageBreakPreview',
|
38
|
+
|
39
|
+
#
|
40
|
+
:'is_visible' => :'IsVisible',
|
41
|
+
|
42
|
+
#
|
43
|
+
:'is_protected' => :'IsProtected',
|
44
|
+
|
45
|
+
#
|
46
|
+
:'is_row_column_headers_visible' => :'IsRowColumnHeadersVisible',
|
47
|
+
|
48
|
+
#
|
49
|
+
:'is_ruler_visible' => :'IsRulerVisible',
|
50
|
+
|
51
|
+
#
|
52
|
+
:'is_selected' => :'IsSelected',
|
53
|
+
|
54
|
+
#
|
55
|
+
:'tab_color' => :'TabColor',
|
56
|
+
|
57
|
+
#
|
58
|
+
:'transition_entry' => :'TransitionEntry',
|
59
|
+
|
60
|
+
#
|
61
|
+
:'transition_evaluation' => :'TransitionEvaluation',
|
62
|
+
|
63
|
+
#
|
64
|
+
:'type' => :'Type',
|
65
|
+
|
66
|
+
#
|
67
|
+
:'view_type' => :'ViewType',
|
68
|
+
|
69
|
+
#
|
70
|
+
:'visibility_type' => :'VisibilityType',
|
71
|
+
|
72
|
+
#
|
73
|
+
:'zoom' => :'Zoom',
|
74
|
+
|
75
|
+
#
|
76
|
+
:'cells' => :'Cells',
|
77
|
+
|
78
|
+
#
|
79
|
+
:'charts' => :'Charts',
|
80
|
+
|
81
|
+
#
|
82
|
+
:'auto_shapes' => :'AutoShapes',
|
83
|
+
|
84
|
+
#
|
85
|
+
:'ole_objects' => :'OleObjects',
|
86
|
+
|
87
|
+
#
|
88
|
+
:'comments' => :'Comments',
|
89
|
+
|
90
|
+
#
|
91
|
+
:'pictures' => :'Pictures',
|
92
|
+
|
93
|
+
#
|
94
|
+
:'merged_cells' => :'MergedCells',
|
95
|
+
|
96
|
+
#
|
97
|
+
:'validations' => :'Validations',
|
98
|
+
|
99
|
+
#
|
100
|
+
:'conditional_formattings' => :'ConditionalFormattings',
|
101
|
+
|
102
|
+
#
|
103
|
+
:'hyperlinks' => :'Hyperlinks'
|
104
|
+
|
105
|
+
}
|
106
|
+
end
|
107
|
+
|
108
|
+
# attribute type
|
109
|
+
def self.swagger_types
|
110
|
+
{
|
111
|
+
:'links' => :'Array<Link>',
|
112
|
+
:'display_right_to_left' => :'BOOLEAN',
|
113
|
+
:'display_zeros' => :'BOOLEAN',
|
114
|
+
:'first_visible_column' => :'Integer',
|
115
|
+
:'first_visible_row' => :'Integer',
|
116
|
+
:'name' => :'String',
|
117
|
+
:'index' => :'Integer',
|
118
|
+
:'is_gridlines_visible' => :'BOOLEAN',
|
119
|
+
:'is_outline_shown' => :'BOOLEAN',
|
120
|
+
:'is_page_break_preview' => :'BOOLEAN',
|
121
|
+
:'is_visible' => :'BOOLEAN',
|
122
|
+
:'is_protected' => :'BOOLEAN',
|
123
|
+
:'is_row_column_headers_visible' => :'BOOLEAN',
|
124
|
+
:'is_ruler_visible' => :'BOOLEAN',
|
125
|
+
:'is_selected' => :'BOOLEAN',
|
126
|
+
:'tab_color' => :'Color',
|
127
|
+
:'transition_entry' => :'BOOLEAN',
|
128
|
+
:'transition_evaluation' => :'BOOLEAN',
|
129
|
+
:'type' => :'String',
|
130
|
+
:'view_type' => :'String',
|
131
|
+
:'visibility_type' => :'String',
|
132
|
+
:'zoom' => :'Integer',
|
133
|
+
:'cells' => :'LinkElement',
|
134
|
+
:'charts' => :'LinkElement',
|
135
|
+
:'auto_shapes' => :'LinkElement',
|
136
|
+
:'ole_objects' => :'LinkElement',
|
137
|
+
:'comments' => :'LinkElement',
|
138
|
+
:'pictures' => :'LinkElement',
|
139
|
+
:'merged_cells' => :'LinkElement',
|
140
|
+
:'validations' => :'LinkElement',
|
141
|
+
:'conditional_formattings' => :'LinkElement',
|
142
|
+
:'hyperlinks' => :'LinkElement'
|
143
|
+
|
144
|
+
}
|
145
|
+
end
|
146
|
+
|
147
|
+
def initialize(attributes = {})
|
148
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
149
|
+
|
150
|
+
# convert string to symbol for hash key
|
151
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
152
|
+
|
153
|
+
|
154
|
+
if attributes[:'Links']
|
155
|
+
if (value = attributes[:'Links']).is_a?(Array)
|
156
|
+
self.links = value
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
if attributes[:'DisplayRightToLeft']
|
161
|
+
self.display_right_to_left = attributes[:'DisplayRightToLeft']
|
162
|
+
end
|
163
|
+
|
164
|
+
if attributes[:'DisplayZeros']
|
165
|
+
self.display_zeros = attributes[:'DisplayZeros']
|
166
|
+
end
|
167
|
+
|
168
|
+
if attributes[:'FirstVisibleColumn']
|
169
|
+
self.first_visible_column = attributes[:'FirstVisibleColumn']
|
170
|
+
end
|
171
|
+
|
172
|
+
if attributes[:'FirstVisibleRow']
|
173
|
+
self.first_visible_row = attributes[:'FirstVisibleRow']
|
174
|
+
end
|
175
|
+
|
176
|
+
if attributes[:'Name']
|
177
|
+
self.name = attributes[:'Name']
|
178
|
+
end
|
179
|
+
|
180
|
+
if attributes[:'Index']
|
181
|
+
self.index = attributes[:'Index']
|
182
|
+
end
|
183
|
+
|
184
|
+
if attributes[:'IsGridlinesVisible']
|
185
|
+
self.is_gridlines_visible = attributes[:'IsGridlinesVisible']
|
186
|
+
end
|
187
|
+
|
188
|
+
if attributes[:'IsOutlineShown']
|
189
|
+
self.is_outline_shown = attributes[:'IsOutlineShown']
|
190
|
+
end
|
191
|
+
|
192
|
+
if attributes[:'IsPageBreakPreview']
|
193
|
+
self.is_page_break_preview = attributes[:'IsPageBreakPreview']
|
194
|
+
end
|
195
|
+
|
196
|
+
if attributes[:'IsVisible']
|
197
|
+
self.is_visible = attributes[:'IsVisible']
|
198
|
+
end
|
199
|
+
|
200
|
+
if attributes[:'IsProtected']
|
201
|
+
self.is_protected = attributes[:'IsProtected']
|
202
|
+
end
|
203
|
+
|
204
|
+
if attributes[:'IsRowColumnHeadersVisible']
|
205
|
+
self.is_row_column_headers_visible = attributes[:'IsRowColumnHeadersVisible']
|
206
|
+
end
|
207
|
+
|
208
|
+
if attributes[:'IsRulerVisible']
|
209
|
+
self.is_ruler_visible = attributes[:'IsRulerVisible']
|
210
|
+
end
|
211
|
+
|
212
|
+
if attributes[:'IsSelected']
|
213
|
+
self.is_selected = attributes[:'IsSelected']
|
214
|
+
end
|
215
|
+
|
216
|
+
if attributes[:'TabColor']
|
217
|
+
self.tab_color = attributes[:'TabColor']
|
218
|
+
end
|
219
|
+
|
220
|
+
if attributes[:'TransitionEntry']
|
221
|
+
self.transition_entry = attributes[:'TransitionEntry']
|
222
|
+
end
|
223
|
+
|
224
|
+
if attributes[:'TransitionEvaluation']
|
225
|
+
self.transition_evaluation = attributes[:'TransitionEvaluation']
|
226
|
+
end
|
227
|
+
|
228
|
+
if attributes[:'Type']
|
229
|
+
self.type = attributes[:'Type']
|
230
|
+
end
|
231
|
+
|
232
|
+
if attributes[:'ViewType']
|
233
|
+
self.view_type = attributes[:'ViewType']
|
234
|
+
end
|
235
|
+
|
236
|
+
if attributes[:'VisibilityType']
|
237
|
+
self.visibility_type = attributes[:'VisibilityType']
|
238
|
+
end
|
239
|
+
|
240
|
+
if attributes[:'Zoom']
|
241
|
+
self.zoom = attributes[:'Zoom']
|
242
|
+
end
|
243
|
+
|
244
|
+
if attributes[:'Cells']
|
245
|
+
self.cells = attributes[:'Cells']
|
246
|
+
end
|
247
|
+
|
248
|
+
if attributes[:'Charts']
|
249
|
+
self.charts = attributes[:'Charts']
|
250
|
+
end
|
251
|
+
|
252
|
+
if attributes[:'AutoShapes']
|
253
|
+
self.auto_shapes = attributes[:'AutoShapes']
|
254
|
+
end
|
255
|
+
|
256
|
+
if attributes[:'OleObjects']
|
257
|
+
self.ole_objects = attributes[:'OleObjects']
|
258
|
+
end
|
259
|
+
|
260
|
+
if attributes[:'Comments']
|
261
|
+
self.comments = attributes[:'Comments']
|
262
|
+
end
|
263
|
+
|
264
|
+
if attributes[:'Pictures']
|
265
|
+
self.pictures = attributes[:'Pictures']
|
266
|
+
end
|
267
|
+
|
268
|
+
if attributes[:'MergedCells']
|
269
|
+
self.merged_cells = attributes[:'MergedCells']
|
270
|
+
end
|
271
|
+
|
272
|
+
if attributes[:'Validations']
|
273
|
+
self.validations = attributes[:'Validations']
|
274
|
+
end
|
275
|
+
|
276
|
+
if attributes[:'ConditionalFormattings']
|
277
|
+
self.conditional_formattings = attributes[:'ConditionalFormattings']
|
278
|
+
end
|
279
|
+
|
280
|
+
if attributes[:'Hyperlinks']
|
281
|
+
self.hyperlinks = attributes[:'Hyperlinks']
|
282
|
+
end
|
283
|
+
|
284
|
+
end
|
285
|
+
|
286
|
+
end
|
287
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
module AsposeCellsCloud
|
2
|
+
#
|
3
|
+
class WorksheetMovingRequest < BaseObject
|
4
|
+
attr_accessor :destination_worksheet, :position
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'destination_worksheet' => :'DestinationWorksheet',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'position' => :'Position'
|
14
|
+
|
15
|
+
}
|
16
|
+
end
|
17
|
+
|
18
|
+
# attribute type
|
19
|
+
def self.swagger_types
|
20
|
+
{
|
21
|
+
:'destination_worksheet' => :'String',
|
22
|
+
:'position' => :'String'
|
23
|
+
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
def initialize(attributes = {})
|
28
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
29
|
+
|
30
|
+
# convert string to symbol for hash key
|
31
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
32
|
+
|
33
|
+
|
34
|
+
if attributes[:'DestinationWorksheet']
|
35
|
+
self.destination_worksheet = attributes[:'DestinationWorksheet']
|
36
|
+
end
|
37
|
+
|
38
|
+
if attributes[:'Position']
|
39
|
+
self.position = attributes[:'Position']
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
module AsposeCellsCloud
|
2
|
+
#
|
3
|
+
class WorksheetReplaceResponse < BaseObject
|
4
|
+
attr_accessor :matches, :worksheet, :code, :status
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'matches' => :'Matches',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'worksheet' => :'Worksheet',
|
14
|
+
|
15
|
+
#
|
16
|
+
:'code' => :'Code',
|
17
|
+
|
18
|
+
#
|
19
|
+
:'status' => :'Status'
|
20
|
+
|
21
|
+
}
|
22
|
+
end
|
23
|
+
|
24
|
+
# attribute type
|
25
|
+
def self.swagger_types
|
26
|
+
{
|
27
|
+
:'matches' => :'Integer',
|
28
|
+
:'worksheet' => :'LinkElement',
|
29
|
+
:'code' => :'String',
|
30
|
+
:'status' => :'String'
|
31
|
+
|
32
|
+
}
|
33
|
+
end
|
34
|
+
|
35
|
+
def initialize(attributes = {})
|
36
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
37
|
+
|
38
|
+
# convert string to symbol for hash key
|
39
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
40
|
+
|
41
|
+
|
42
|
+
if attributes[:'Matches']
|
43
|
+
self.matches = attributes[:'Matches']
|
44
|
+
end
|
45
|
+
|
46
|
+
if attributes[:'Worksheet']
|
47
|
+
self.worksheet = attributes[:'Worksheet']
|
48
|
+
end
|
49
|
+
|
50
|
+
if attributes[:'Code']
|
51
|
+
self.code = attributes[:'Code']
|
52
|
+
end
|
53
|
+
|
54
|
+
if attributes[:'Status']
|
55
|
+
self.status = attributes[:'Status']
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
59
|
+
|
60
|
+
def status=(status)
|
61
|
+
allowed_values = ["Continue", "SwitchingProtocols", "OK", "Created", "Accepted", "NonAuthoritativeInformation", "NoContent", "ResetContent", "PartialContent", "MultipleChoices", "Ambiguous", "MovedPermanently", "Moved", "Found", "Redirect", "SeeOther", "RedirectMethod", "NotModified", "UseProxy", "Unused", "TemporaryRedirect", "RedirectKeepVerb", "BadRequest", "Unauthorized", "PaymentRequired", "Forbidden", "NotFound", "MethodNotAllowed", "NotAcceptable", "ProxyAuthenticationRequired", "RequestTimeout", "Conflict", "Gone", "LengthRequired", "PreconditionFailed", "RequestEntityTooLarge", "RequestUriTooLong", "UnsupportedMediaType", "RequestedRangeNotSatisfiable", "ExpectationFailed", "UpgradeRequired", "InternalServerError", "NotImplemented", "BadGateway", "ServiceUnavailable", "GatewayTimeout", "HttpVersionNotSupported"]
|
62
|
+
if status && !allowed_values.include?(status)
|
63
|
+
fail "invalid value for 'status', must be one of #{allowed_values}"
|
64
|
+
end
|
65
|
+
@status = status
|
66
|
+
end
|
67
|
+
|
68
|
+
end
|
69
|
+
end
|