aspose_slides_cloud 24.6.0 → 24.7.0
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/Gemfile.lock +7 -5
- data/README.md +12 -0
- data/TestData/pictureFrame.html +39 -0
- data/TestData/test.pptx +0 -0
- data/aspose_slides_cloud.gemspec +1 -0
- data/lib/aspose_slides_cloud/api/slides_api.rb +75 -204
- data/lib/aspose_slides_cloud/api/slides_async_api.rb +8 -8
- data/lib/aspose_slides_cloud/api_client.rb +3 -0
- data/lib/aspose_slides_cloud/models/document_property.rb +0 -5
- data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
- data/lib/aspose_slides_cloud/models/export_options.rb +23 -1
- data/lib/aspose_slides_cloud/models/gif_export_options.rb +2 -1
- data/lib/aspose_slides_cloud/models/gradient_fill.rb +0 -25
- data/lib/aspose_slides_cloud/models/html5_export_options.rb +13 -2
- data/lib/aspose_slides_cloud/models/html_export_options.rb +2 -1
- data/lib/aspose_slides_cloud/models/image_export_options.rb +2 -1
- data/lib/aspose_slides_cloud/models/image_export_options_base.rb +2 -1
- data/lib/aspose_slides_cloud/models/markdown_export_options.rb +2 -1
- data/lib/aspose_slides_cloud/models/pdf_export_options.rb +13 -2
- data/lib/aspose_slides_cloud/models/pptx_export_options.rb +26 -3
- data/lib/aspose_slides_cloud/models/protection_properties.rb +0 -10
- data/lib/aspose_slides_cloud/models/save.rb +2 -2
- data/lib/aspose_slides_cloud/models/save_slide.rb +2 -2
- data/lib/aspose_slides_cloud/models/slide.rb +0 -5
- data/lib/aspose_slides_cloud/models/slide_export_format.rb +1 -0
- data/lib/aspose_slides_cloud/models/svg_export_options.rb +2 -1
- data/lib/aspose_slides_cloud/models/swf_export_options.rb +2 -1
- data/lib/aspose_slides_cloud/models/table.rb +12 -2
- data/lib/aspose_slides_cloud/models/table_cell.rb +11 -1
- data/lib/aspose_slides_cloud/models/table_cell_merge_options.rb +0 -5
- data/lib/aspose_slides_cloud/models/tiff_export_options.rb +2 -1
- data/lib/aspose_slides_cloud/models/video_export_options.rb +2 -1
- data/lib/aspose_slides_cloud/models/xaml_export_options.rb +2 -1
- data/lib/aspose_slides_cloud/models/xps_export_options.rb +2 -1
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/spec/api/slides_api_spec.rb +96 -543
- data/spec/use_cases/text_spec.rb +7 -4
- metadata +23 -2
@@ -46,6 +46,9 @@ module AsposeSlidesCloud
|
|
46
46
|
# The bottom margin of the cell.
|
47
47
|
attr_accessor :margin_bottom
|
48
48
|
|
49
|
+
# Transparency.
|
50
|
+
attr_accessor :transparency
|
51
|
+
|
49
52
|
# Text anchor type.
|
50
53
|
attr_accessor :text_anchor_type
|
51
54
|
|
@@ -95,6 +98,7 @@ module AsposeSlidesCloud
|
|
95
98
|
:'margin_right' => :'MarginRight',
|
96
99
|
:'margin_left' => :'MarginLeft',
|
97
100
|
:'margin_bottom' => :'MarginBottom',
|
101
|
+
:'transparency' => :'Transparency',
|
98
102
|
:'text_anchor_type' => :'TextAnchorType',
|
99
103
|
:'text_vertical_type' => :'TextVerticalType',
|
100
104
|
:'fill_format' => :'FillFormat',
|
@@ -121,6 +125,7 @@ module AsposeSlidesCloud
|
|
121
125
|
:'margin_right' => :'Float',
|
122
126
|
:'margin_left' => :'Float',
|
123
127
|
:'margin_bottom' => :'Float',
|
128
|
+
:'transparency' => :'Float',
|
124
129
|
:'text_anchor_type' => :'String',
|
125
130
|
:'text_vertical_type' => :'String',
|
126
131
|
:'fill_format' => :'FillFormat',
|
@@ -173,6 +178,10 @@ module AsposeSlidesCloud
|
|
173
178
|
self.margin_bottom = attributes[:'MarginBottom']
|
174
179
|
end
|
175
180
|
|
181
|
+
if attributes.has_key?(:'Transparency')
|
182
|
+
self.transparency = attributes[:'Transparency']
|
183
|
+
end
|
184
|
+
|
176
185
|
if attributes.has_key?(:'TextAnchorType')
|
177
186
|
self.text_anchor_type = attributes[:'TextAnchorType']
|
178
187
|
end
|
@@ -275,6 +284,7 @@ module AsposeSlidesCloud
|
|
275
284
|
margin_right == o.margin_right &&
|
276
285
|
margin_left == o.margin_left &&
|
277
286
|
margin_bottom == o.margin_bottom &&
|
287
|
+
transparency == o.transparency &&
|
278
288
|
text_anchor_type == o.text_anchor_type &&
|
279
289
|
text_vertical_type == o.text_vertical_type &&
|
280
290
|
fill_format == o.fill_format &&
|
@@ -299,7 +309,7 @@ module AsposeSlidesCloud
|
|
299
309
|
# Calculates hash code according to all attributes.
|
300
310
|
# @return [Fixnum] Hash code
|
301
311
|
def hash
|
302
|
-
[text, row_span, col_span, margin_top, margin_right, margin_left, margin_bottom, text_anchor_type, text_vertical_type, fill_format, border_top, border_right, border_left, border_bottom, border_diagonal_up, border_diagonal_down, column_index, row_index, text_frame_format, paragraphs].hash
|
312
|
+
[text, row_span, col_span, margin_top, margin_right, margin_left, margin_bottom, transparency, text_anchor_type, text_vertical_type, fill_format, border_top, border_right, border_left, border_bottom, border_diagonal_up, border_diagonal_down, column_index, row_index, text_frame_format, paragraphs].hash
|
303
313
|
end
|
304
314
|
end
|
305
315
|
end
|
@@ -111,10 +111,6 @@ module AsposeSlidesCloud
|
|
111
111
|
invalid_properties.push('invalid value for "last_cell_index", last_cell_index cannot be nil.')
|
112
112
|
end
|
113
113
|
|
114
|
-
if @allow_splitting.nil?
|
115
|
-
invalid_properties.push('invalid value for "allow_splitting", allow_splitting cannot be nil.')
|
116
|
-
end
|
117
|
-
|
118
114
|
invalid_properties
|
119
115
|
end
|
120
116
|
|
@@ -125,7 +121,6 @@ module AsposeSlidesCloud
|
|
125
121
|
return false if @first_cell_index.nil?
|
126
122
|
return false if @last_row_index.nil?
|
127
123
|
return false if @last_cell_index.nil?
|
128
|
-
return false if @allow_splitting.nil?
|
129
124
|
true
|
130
125
|
end
|
131
126
|
|
@@ -163,6 +163,7 @@ module AsposeSlidesCloud
|
|
163
163
|
return true if self.equal?(o)
|
164
164
|
self.class == o.class &&
|
165
165
|
default_regular_font == o.default_regular_font &&
|
166
|
+
gradient_style == o.gradient_style &&
|
166
167
|
font_fallback_rules == o.font_fallback_rules &&
|
167
168
|
font_subst_rules == o.font_subst_rules &&
|
168
169
|
format == o.format &&
|
@@ -186,7 +187,7 @@ module AsposeSlidesCloud
|
|
186
187
|
# Calculates hash code according to all attributes.
|
187
188
|
# @return [Fixnum] Hash code
|
188
189
|
def hash
|
189
|
-
[default_regular_font, font_fallback_rules, font_subst_rules, format, height, width, compression, dpi_x, dpi_y, show_hidden_slides, pixel_format, slides_layout_options, bw_conversion_mode].hash
|
190
|
+
[default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, height, width, compression, dpi_x, dpi_y, show_hidden_slides, pixel_format, slides_layout_options, bw_conversion_mode].hash
|
190
191
|
end
|
191
192
|
end
|
192
193
|
end
|
@@ -124,6 +124,7 @@ module AsposeSlidesCloud
|
|
124
124
|
return true if self.equal?(o)
|
125
125
|
self.class == o.class &&
|
126
126
|
default_regular_font == o.default_regular_font &&
|
127
|
+
gradient_style == o.gradient_style &&
|
127
128
|
font_fallback_rules == o.font_fallback_rules &&
|
128
129
|
font_subst_rules == o.font_subst_rules &&
|
129
130
|
format == o.format &&
|
@@ -142,7 +143,7 @@ module AsposeSlidesCloud
|
|
142
143
|
# Calculates hash code according to all attributes.
|
143
144
|
# @return [Fixnum] Hash code
|
144
145
|
def hash
|
145
|
-
[default_regular_font, font_fallback_rules, font_subst_rules, format, slides_transition_duration, transition_type, transition_duration, video_resolution_type].hash
|
146
|
+
[default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, slides_transition_duration, transition_type, transition_duration, video_resolution_type].hash
|
146
147
|
end
|
147
148
|
end
|
148
149
|
end
|
@@ -73,6 +73,7 @@ module AsposeSlidesCloud
|
|
73
73
|
return true if self.equal?(o)
|
74
74
|
self.class == o.class &&
|
75
75
|
default_regular_font == o.default_regular_font &&
|
76
|
+
gradient_style == o.gradient_style &&
|
76
77
|
font_fallback_rules == o.font_fallback_rules &&
|
77
78
|
font_subst_rules == o.font_subst_rules &&
|
78
79
|
format == o.format &&
|
@@ -88,7 +89,7 @@ module AsposeSlidesCloud
|
|
88
89
|
# Calculates hash code according to all attributes.
|
89
90
|
# @return [Fixnum] Hash code
|
90
91
|
def hash
|
91
|
-
[default_regular_font, font_fallback_rules, font_subst_rules, format, export_hidden_slides].hash
|
92
|
+
[default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, export_hidden_slides].hash
|
92
93
|
end
|
93
94
|
end
|
94
95
|
end
|
@@ -91,6 +91,7 @@ module AsposeSlidesCloud
|
|
91
91
|
return true if self.equal?(o)
|
92
92
|
self.class == o.class &&
|
93
93
|
default_regular_font == o.default_regular_font &&
|
94
|
+
gradient_style == o.gradient_style &&
|
94
95
|
font_fallback_rules == o.font_fallback_rules &&
|
95
96
|
font_subst_rules == o.font_subst_rules &&
|
96
97
|
format == o.format &&
|
@@ -108,7 +109,7 @@ module AsposeSlidesCloud
|
|
108
109
|
# Calculates hash code according to all attributes.
|
109
110
|
# @return [Fixnum] Hash code
|
110
111
|
def hash
|
111
|
-
[default_regular_font, font_fallback_rules, font_subst_rules, format, show_hidden_slides, save_metafiles_as_png, draw_slides_frame].hash
|
112
|
+
[default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, show_hidden_slides, save_metafiles_as_png, draw_slides_frame].hash
|
112
113
|
end
|
113
114
|
end
|
114
115
|
end
|