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,77 @@
|
|
1
|
+
module AsposeCellsCloud
|
2
|
+
#
|
3
|
+
class DrawingPicFormatOption < BaseObject
|
4
|
+
attr_accessor :type, :scale, :left, :right, :top, :bottom
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'type' => :'Type',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'scale' => :'Scale',
|
14
|
+
|
15
|
+
#
|
16
|
+
:'left' => :'Left',
|
17
|
+
|
18
|
+
#
|
19
|
+
:'right' => :'Right',
|
20
|
+
|
21
|
+
#
|
22
|
+
:'top' => :'Top',
|
23
|
+
|
24
|
+
#
|
25
|
+
:'bottom' => :'Bottom'
|
26
|
+
|
27
|
+
}
|
28
|
+
end
|
29
|
+
|
30
|
+
# attribute type
|
31
|
+
def self.swagger_types
|
32
|
+
{
|
33
|
+
:'type' => :'String',
|
34
|
+
:'scale' => :'Float',
|
35
|
+
:'left' => :'Float',
|
36
|
+
:'right' => :'Float',
|
37
|
+
:'top' => :'Float',
|
38
|
+
:'bottom' => :'Float'
|
39
|
+
|
40
|
+
}
|
41
|
+
end
|
42
|
+
|
43
|
+
def initialize(attributes = {})
|
44
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
45
|
+
|
46
|
+
# convert string to symbol for hash key
|
47
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
48
|
+
|
49
|
+
|
50
|
+
if attributes[:'Type']
|
51
|
+
self.type = attributes[:'Type']
|
52
|
+
end
|
53
|
+
|
54
|
+
if attributes[:'Scale']
|
55
|
+
self.scale = attributes[:'Scale']
|
56
|
+
end
|
57
|
+
|
58
|
+
if attributes[:'Left']
|
59
|
+
self.left = attributes[:'Left']
|
60
|
+
end
|
61
|
+
|
62
|
+
if attributes[:'Right']
|
63
|
+
self.right = attributes[:'Right']
|
64
|
+
end
|
65
|
+
|
66
|
+
if attributes[:'Top']
|
67
|
+
self.top = attributes[:'Top']
|
68
|
+
end
|
69
|
+
|
70
|
+
if attributes[:'Bottom']
|
71
|
+
self.bottom = attributes[:'Bottom']
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
75
|
+
|
76
|
+
end
|
77
|
+
end
|
@@ -0,0 +1,357 @@
|
|
1
|
+
module AsposeCellsCloud
|
2
|
+
#
|
3
|
+
class DrawingPicture < BaseObject
|
4
|
+
attr_accessor :border_line_color, :border_weight, :original_height, :original_width, :image_format, :source_full_name, :name, :mso_drawing_type, :auto_shape_type, :placement, :upper_left_row, :top, :upper_left_column, :left, :lower_right_row, :bottom, :lower_right_column, :right, :width, :height, :x, :y, :rotation_angle, :html_text, :text, :alternative_text, :text_horizontal_alignment, :text_horizontal_overflow, :text_orientation_type, :text_vertical_alignment, :text_vertical_overflow, :is_group, :is_hidden, :is_lock_aspect_ratio, :is_locked, :is_printable, :is_text_wrapped, :is_word_art, :linked_cell, :z_order_position, :link
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'border_line_color' => :'BorderLineColor',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'border_weight' => :'BorderWeight',
|
14
|
+
|
15
|
+
#
|
16
|
+
:'original_height' => :'OriginalHeight',
|
17
|
+
|
18
|
+
#
|
19
|
+
:'original_width' => :'OriginalWidth',
|
20
|
+
|
21
|
+
#
|
22
|
+
:'image_format' => :'ImageFormat',
|
23
|
+
|
24
|
+
#
|
25
|
+
:'source_full_name' => :'SourceFullName',
|
26
|
+
|
27
|
+
#
|
28
|
+
:'name' => :'Name',
|
29
|
+
|
30
|
+
#
|
31
|
+
:'mso_drawing_type' => :'MsoDrawingType',
|
32
|
+
|
33
|
+
#
|
34
|
+
:'auto_shape_type' => :'AutoShapeType',
|
35
|
+
|
36
|
+
#
|
37
|
+
:'placement' => :'Placement',
|
38
|
+
|
39
|
+
#
|
40
|
+
:'upper_left_row' => :'UpperLeftRow',
|
41
|
+
|
42
|
+
#
|
43
|
+
:'top' => :'Top',
|
44
|
+
|
45
|
+
#
|
46
|
+
:'upper_left_column' => :'UpperLeftColumn',
|
47
|
+
|
48
|
+
#
|
49
|
+
:'left' => :'Left',
|
50
|
+
|
51
|
+
#
|
52
|
+
:'lower_right_row' => :'LowerRightRow',
|
53
|
+
|
54
|
+
#
|
55
|
+
:'bottom' => :'Bottom',
|
56
|
+
|
57
|
+
#
|
58
|
+
:'lower_right_column' => :'LowerRightColumn',
|
59
|
+
|
60
|
+
#
|
61
|
+
:'right' => :'Right',
|
62
|
+
|
63
|
+
#
|
64
|
+
:'width' => :'Width',
|
65
|
+
|
66
|
+
#
|
67
|
+
:'height' => :'Height',
|
68
|
+
|
69
|
+
#
|
70
|
+
:'x' => :'X',
|
71
|
+
|
72
|
+
#
|
73
|
+
:'y' => :'Y',
|
74
|
+
|
75
|
+
#
|
76
|
+
:'rotation_angle' => :'RotationAngle',
|
77
|
+
|
78
|
+
#
|
79
|
+
:'html_text' => :'HtmlText',
|
80
|
+
|
81
|
+
#
|
82
|
+
:'text' => :'Text',
|
83
|
+
|
84
|
+
#
|
85
|
+
:'alternative_text' => :'AlternativeText',
|
86
|
+
|
87
|
+
#
|
88
|
+
:'text_horizontal_alignment' => :'TextHorizontalAlignment',
|
89
|
+
|
90
|
+
#
|
91
|
+
:'text_horizontal_overflow' => :'TextHorizontalOverflow',
|
92
|
+
|
93
|
+
#
|
94
|
+
:'text_orientation_type' => :'TextOrientationType',
|
95
|
+
|
96
|
+
#
|
97
|
+
:'text_vertical_alignment' => :'TextVerticalAlignment',
|
98
|
+
|
99
|
+
#
|
100
|
+
:'text_vertical_overflow' => :'TextVerticalOverflow',
|
101
|
+
|
102
|
+
#
|
103
|
+
:'is_group' => :'IsGroup',
|
104
|
+
|
105
|
+
#
|
106
|
+
:'is_hidden' => :'IsHidden',
|
107
|
+
|
108
|
+
#
|
109
|
+
:'is_lock_aspect_ratio' => :'IsLockAspectRatio',
|
110
|
+
|
111
|
+
#
|
112
|
+
:'is_locked' => :'IsLocked',
|
113
|
+
|
114
|
+
#
|
115
|
+
:'is_printable' => :'IsPrintable',
|
116
|
+
|
117
|
+
#
|
118
|
+
:'is_text_wrapped' => :'IsTextWrapped',
|
119
|
+
|
120
|
+
#
|
121
|
+
:'is_word_art' => :'IsWordArt',
|
122
|
+
|
123
|
+
#
|
124
|
+
:'linked_cell' => :'LinkedCell',
|
125
|
+
|
126
|
+
#
|
127
|
+
:'z_order_position' => :'ZOrderPosition',
|
128
|
+
|
129
|
+
#
|
130
|
+
:'link' => :'link'
|
131
|
+
|
132
|
+
}
|
133
|
+
end
|
134
|
+
|
135
|
+
# attribute type
|
136
|
+
def self.swagger_types
|
137
|
+
{
|
138
|
+
:'border_line_color' => :'Color',
|
139
|
+
:'border_weight' => :'Float',
|
140
|
+
:'original_height' => :'Integer',
|
141
|
+
:'original_width' => :'Integer',
|
142
|
+
:'image_format' => :'String',
|
143
|
+
:'source_full_name' => :'String',
|
144
|
+
:'name' => :'String',
|
145
|
+
:'mso_drawing_type' => :'String',
|
146
|
+
:'auto_shape_type' => :'String',
|
147
|
+
:'placement' => :'String',
|
148
|
+
:'upper_left_row' => :'Integer',
|
149
|
+
:'top' => :'Integer',
|
150
|
+
:'upper_left_column' => :'Integer',
|
151
|
+
:'left' => :'Integer',
|
152
|
+
:'lower_right_row' => :'Integer',
|
153
|
+
:'bottom' => :'Integer',
|
154
|
+
:'lower_right_column' => :'Integer',
|
155
|
+
:'right' => :'Integer',
|
156
|
+
:'width' => :'Integer',
|
157
|
+
:'height' => :'Integer',
|
158
|
+
:'x' => :'Integer',
|
159
|
+
:'y' => :'Integer',
|
160
|
+
:'rotation_angle' => :'Float',
|
161
|
+
:'html_text' => :'String',
|
162
|
+
:'text' => :'String',
|
163
|
+
:'alternative_text' => :'String',
|
164
|
+
:'text_horizontal_alignment' => :'String',
|
165
|
+
:'text_horizontal_overflow' => :'String',
|
166
|
+
:'text_orientation_type' => :'String',
|
167
|
+
:'text_vertical_alignment' => :'String',
|
168
|
+
:'text_vertical_overflow' => :'String',
|
169
|
+
:'is_group' => :'BOOLEAN',
|
170
|
+
:'is_hidden' => :'BOOLEAN',
|
171
|
+
:'is_lock_aspect_ratio' => :'BOOLEAN',
|
172
|
+
:'is_locked' => :'BOOLEAN',
|
173
|
+
:'is_printable' => :'BOOLEAN',
|
174
|
+
:'is_text_wrapped' => :'BOOLEAN',
|
175
|
+
:'is_word_art' => :'BOOLEAN',
|
176
|
+
:'linked_cell' => :'String',
|
177
|
+
:'z_order_position' => :'Integer',
|
178
|
+
:'link' => :'Link'
|
179
|
+
|
180
|
+
}
|
181
|
+
end
|
182
|
+
|
183
|
+
def initialize(attributes = {})
|
184
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
185
|
+
|
186
|
+
# convert string to symbol for hash key
|
187
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
188
|
+
|
189
|
+
|
190
|
+
if attributes[:'BorderLineColor']
|
191
|
+
self.border_line_color = attributes[:'BorderLineColor']
|
192
|
+
end
|
193
|
+
|
194
|
+
if attributes[:'BorderWeight']
|
195
|
+
self.border_weight = attributes[:'BorderWeight']
|
196
|
+
end
|
197
|
+
|
198
|
+
if attributes[:'OriginalHeight']
|
199
|
+
self.original_height = attributes[:'OriginalHeight']
|
200
|
+
end
|
201
|
+
|
202
|
+
if attributes[:'OriginalWidth']
|
203
|
+
self.original_width = attributes[:'OriginalWidth']
|
204
|
+
end
|
205
|
+
|
206
|
+
if attributes[:'ImageFormat']
|
207
|
+
self.image_format = attributes[:'ImageFormat']
|
208
|
+
end
|
209
|
+
|
210
|
+
if attributes[:'SourceFullName']
|
211
|
+
self.source_full_name = attributes[:'SourceFullName']
|
212
|
+
end
|
213
|
+
|
214
|
+
if attributes[:'Name']
|
215
|
+
self.name = attributes[:'Name']
|
216
|
+
end
|
217
|
+
|
218
|
+
if attributes[:'MsoDrawingType']
|
219
|
+
self.mso_drawing_type = attributes[:'MsoDrawingType']
|
220
|
+
end
|
221
|
+
|
222
|
+
if attributes[:'AutoShapeType']
|
223
|
+
self.auto_shape_type = attributes[:'AutoShapeType']
|
224
|
+
end
|
225
|
+
|
226
|
+
if attributes[:'Placement']
|
227
|
+
self.placement = attributes[:'Placement']
|
228
|
+
end
|
229
|
+
|
230
|
+
if attributes[:'UpperLeftRow']
|
231
|
+
self.upper_left_row = attributes[:'UpperLeftRow']
|
232
|
+
end
|
233
|
+
|
234
|
+
if attributes[:'Top']
|
235
|
+
self.top = attributes[:'Top']
|
236
|
+
end
|
237
|
+
|
238
|
+
if attributes[:'UpperLeftColumn']
|
239
|
+
self.upper_left_column = attributes[:'UpperLeftColumn']
|
240
|
+
end
|
241
|
+
|
242
|
+
if attributes[:'Left']
|
243
|
+
self.left = attributes[:'Left']
|
244
|
+
end
|
245
|
+
|
246
|
+
if attributes[:'LowerRightRow']
|
247
|
+
self.lower_right_row = attributes[:'LowerRightRow']
|
248
|
+
end
|
249
|
+
|
250
|
+
if attributes[:'Bottom']
|
251
|
+
self.bottom = attributes[:'Bottom']
|
252
|
+
end
|
253
|
+
|
254
|
+
if attributes[:'LowerRightColumn']
|
255
|
+
self.lower_right_column = attributes[:'LowerRightColumn']
|
256
|
+
end
|
257
|
+
|
258
|
+
if attributes[:'Right']
|
259
|
+
self.right = attributes[:'Right']
|
260
|
+
end
|
261
|
+
|
262
|
+
if attributes[:'Width']
|
263
|
+
self.width = attributes[:'Width']
|
264
|
+
end
|
265
|
+
|
266
|
+
if attributes[:'Height']
|
267
|
+
self.height = attributes[:'Height']
|
268
|
+
end
|
269
|
+
|
270
|
+
if attributes[:'X']
|
271
|
+
self.x = attributes[:'X']
|
272
|
+
end
|
273
|
+
|
274
|
+
if attributes[:'Y']
|
275
|
+
self.y = attributes[:'Y']
|
276
|
+
end
|
277
|
+
|
278
|
+
if attributes[:'RotationAngle']
|
279
|
+
self.rotation_angle = attributes[:'RotationAngle']
|
280
|
+
end
|
281
|
+
|
282
|
+
if attributes[:'HtmlText']
|
283
|
+
self.html_text = attributes[:'HtmlText']
|
284
|
+
end
|
285
|
+
|
286
|
+
if attributes[:'Text']
|
287
|
+
self.text = attributes[:'Text']
|
288
|
+
end
|
289
|
+
|
290
|
+
if attributes[:'AlternativeText']
|
291
|
+
self.alternative_text = attributes[:'AlternativeText']
|
292
|
+
end
|
293
|
+
|
294
|
+
if attributes[:'TextHorizontalAlignment']
|
295
|
+
self.text_horizontal_alignment = attributes[:'TextHorizontalAlignment']
|
296
|
+
end
|
297
|
+
|
298
|
+
if attributes[:'TextHorizontalOverflow']
|
299
|
+
self.text_horizontal_overflow = attributes[:'TextHorizontalOverflow']
|
300
|
+
end
|
301
|
+
|
302
|
+
if attributes[:'TextOrientationType']
|
303
|
+
self.text_orientation_type = attributes[:'TextOrientationType']
|
304
|
+
end
|
305
|
+
|
306
|
+
if attributes[:'TextVerticalAlignment']
|
307
|
+
self.text_vertical_alignment = attributes[:'TextVerticalAlignment']
|
308
|
+
end
|
309
|
+
|
310
|
+
if attributes[:'TextVerticalOverflow']
|
311
|
+
self.text_vertical_overflow = attributes[:'TextVerticalOverflow']
|
312
|
+
end
|
313
|
+
|
314
|
+
if attributes[:'IsGroup']
|
315
|
+
self.is_group = attributes[:'IsGroup']
|
316
|
+
end
|
317
|
+
|
318
|
+
if attributes[:'IsHidden']
|
319
|
+
self.is_hidden = attributes[:'IsHidden']
|
320
|
+
end
|
321
|
+
|
322
|
+
if attributes[:'IsLockAspectRatio']
|
323
|
+
self.is_lock_aspect_ratio = attributes[:'IsLockAspectRatio']
|
324
|
+
end
|
325
|
+
|
326
|
+
if attributes[:'IsLocked']
|
327
|
+
self.is_locked = attributes[:'IsLocked']
|
328
|
+
end
|
329
|
+
|
330
|
+
if attributes[:'IsPrintable']
|
331
|
+
self.is_printable = attributes[:'IsPrintable']
|
332
|
+
end
|
333
|
+
|
334
|
+
if attributes[:'IsTextWrapped']
|
335
|
+
self.is_text_wrapped = attributes[:'IsTextWrapped']
|
336
|
+
end
|
337
|
+
|
338
|
+
if attributes[:'IsWordArt']
|
339
|
+
self.is_word_art = attributes[:'IsWordArt']
|
340
|
+
end
|
341
|
+
|
342
|
+
if attributes[:'LinkedCell']
|
343
|
+
self.linked_cell = attributes[:'LinkedCell']
|
344
|
+
end
|
345
|
+
|
346
|
+
if attributes[:'ZOrderPosition']
|
347
|
+
self.z_order_position = attributes[:'ZOrderPosition']
|
348
|
+
end
|
349
|
+
|
350
|
+
if attributes[:'link']
|
351
|
+
self.link = attributes[:'link']
|
352
|
+
end
|
353
|
+
|
354
|
+
end
|
355
|
+
|
356
|
+
end
|
357
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
module AsposeCellsCloud
|
2
|
+
#
|
3
|
+
class DrawingPictures < BaseObject
|
4
|
+
attr_accessor :picture_list, :link
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'picture_list' => :'PictureList',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'link' => :'link'
|
14
|
+
|
15
|
+
}
|
16
|
+
end
|
17
|
+
|
18
|
+
# attribute type
|
19
|
+
def self.swagger_types
|
20
|
+
{
|
21
|
+
:'picture_list' => :'Array<LinkElement>',
|
22
|
+
:'link' => :'Link'
|
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[:'PictureList']
|
35
|
+
if (value = attributes[:'PictureList']).is_a?(Array)
|
36
|
+
self.picture_list = value
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
if attributes[:'link']
|
41
|
+
self.link = attributes[:'link']
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
47
|
+
end
|