aspose_slides_cloud 24.5.0 → 24.6.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cdaa6c040b21535ad5fb6e5e9ab483cb9017cb461bd319de7a94da9cf91cf2bd
|
4
|
+
data.tar.gz: 3b2d955cba1a5433759fa911557165644022e5308324e91c31c9f8ab09ca7511
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f86c0854b86e037a9b70b205541e7fcf16e43b6106e32a308462a0f22447e944cba2a13c59b8b3f23d2066502cb2a3f5326867f463830c4b253f93349f4e18c
|
7
|
+
data.tar.gz: e6e119d7abb5fe4ff63ef8d7ae3c05257f66d5666ca5b9c270798a1c8a9fd1d67f29c4ceca1bfbf4a7c1c1d32ded111f3a813d2cbe94d6d63c9d9c2fb17f7f55
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
aspose_slides_cloud (24.
|
4
|
+
aspose_slides_cloud (24.6.0)
|
5
5
|
faraday (~> 1.0, >= 1.0.0)
|
6
6
|
faraday-httpclient (~> 1.0, >= 1.0.0)
|
7
7
|
httpclient (~> 2.2, >= 2.2.0)
|
@@ -11,8 +11,8 @@ GEM
|
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
13
|
ZenTest (4.12.1)
|
14
|
-
addressable (2.8.
|
15
|
-
public_suffix (>= 2.0.2, <
|
14
|
+
addressable (2.8.7)
|
15
|
+
public_suffix (>= 2.0.2, < 7.0)
|
16
16
|
autotest (4.4.6)
|
17
17
|
ZenTest (>= 4.4.1)
|
18
18
|
autotest-growl (0.2.16)
|
@@ -49,17 +49,17 @@ GEM
|
|
49
49
|
httpclient (2.8.3)
|
50
50
|
json (2.7.2)
|
51
51
|
multipart-post (2.4.1)
|
52
|
-
public_suffix (
|
52
|
+
public_suffix (6.0.0)
|
53
53
|
rake (12.3.3)
|
54
|
-
rexml (3.
|
55
|
-
strscan
|
54
|
+
rexml (3.3.1)
|
55
|
+
strscan
|
56
56
|
rspec (3.13.0)
|
57
57
|
rspec-core (~> 3.13.0)
|
58
58
|
rspec-expectations (~> 3.13.0)
|
59
59
|
rspec-mocks (~> 3.13.0)
|
60
60
|
rspec-core (3.13.0)
|
61
61
|
rspec-support (~> 3.13.0)
|
62
|
-
rspec-expectations (3.13.
|
62
|
+
rspec-expectations (3.13.1)
|
63
63
|
diff-lcs (>= 1.2.0, < 2.0)
|
64
64
|
rspec-support (~> 3.13.0)
|
65
65
|
rspec-mocks (3.13.1)
|
data/README.md
CHANGED
@@ -27,6 +27,11 @@ You may want to check out Aspose free [Powerpoint to PDF](https://products.aspos
|
|
27
27
|
**Web:** HTML/HTML5
|
28
28
|
**Other:** MPEG4, SWF (export whole presentations)
|
29
29
|
|
30
|
+
## Enhancements in Version 24.6
|
31
|
+
|
32
|
+
* Added **HideInk** and **InterpretMaskOpAsOpacity** properties to **PdfExportOptions** class.
|
33
|
+
* Removed **Enqueued** from the list of allowed values for **Operation.Status** property.
|
34
|
+
|
30
35
|
## Enhancements in Version 24.5
|
31
36
|
|
32
37
|
* Added **options** parameter to **ImportFromPdf** method. You can specify **options.DetectTables** property to control import behavior.
|
@@ -57,7 +57,10 @@ module AsposeSlidesCloud
|
|
57
57
|
def call_api(http_method, path, opts = {})
|
58
58
|
response = call_api_method(http_method, path, opts)
|
59
59
|
if @config.debugging
|
60
|
-
@config.logger.debug "HTTP response\nHeaders: #{response.headers}\nStatus: #{response.status}\
|
60
|
+
@config.logger.debug "HTTP response\nHeaders: #{response.headers}\nStatus: #{response.status}\n"
|
61
|
+
if response.headers.has_key?("Content-Type") && (response.headers["Content-Type"].include?("text") || response.headers["Content-Type"].include?("json"))
|
62
|
+
@config.logger.debug "Body: #{response.body}\n"
|
63
|
+
end
|
61
64
|
end
|
62
65
|
|
63
66
|
if (response.status == 401 || (response.status == 500 && response.body.length == 0)) and @config.access_token
|
@@ -75,7 +78,10 @@ module AsposeSlidesCloud
|
|
75
78
|
def repeat_call_api(http_method, path, opts = {})
|
76
79
|
response = call_api_method(http_method, path, opts)
|
77
80
|
if @config.debugging
|
78
|
-
@config.logger.debug "HTTP response\nHeaders: #{response.headers}\nStatus: #{response.status}\
|
81
|
+
@config.logger.debug "HTTP response\nHeaders: #{response.headers}\nStatus: #{response.status}\n"
|
82
|
+
if response.headers.has_key?("Content-Type") && (response.headers["Content-Type"].include?("text") || response.headers["Content-Type"].include?("json"))
|
83
|
+
@config.logger.debug "Body: #{response.body}\n"
|
84
|
+
end
|
79
85
|
end
|
80
86
|
|
81
87
|
return process_response(response, opts)
|
@@ -157,7 +163,10 @@ module AsposeSlidesCloud
|
|
157
163
|
req.body = build_request_body(req.headers, opts[:body], opts[:files])
|
158
164
|
set_headers(req.headers)
|
159
165
|
if @config.debugging
|
160
|
-
@config.logger.debug "HTTP request\nMethod: #{req.method}\nPath: #{req.path}\nParams: #{req.params}\nHeaders: #{req.headers}\
|
166
|
+
@config.logger.debug "HTTP request\nMethod: #{req.method}\nPath: #{req.path}\nParams: #{req.params}\nHeaders: #{req.headers}\n"
|
167
|
+
if (!req.headers.has_key?("Content-Type") || !req.headers["Content-Type"].include?("multipart")) && req.body
|
168
|
+
@config.logger.debug "Body: #{req.body}\n"
|
169
|
+
end
|
161
170
|
end
|
162
171
|
end
|
163
172
|
|
@@ -34,8 +34,6 @@ module AsposeSlidesCloud
|
|
34
34
|
|
35
35
|
attr_accessor :created
|
36
36
|
|
37
|
-
attr_accessor :enqueued
|
38
|
-
|
39
37
|
attr_accessor :started
|
40
38
|
|
41
39
|
attr_accessor :failed
|
@@ -54,7 +52,6 @@ module AsposeSlidesCloud
|
|
54
52
|
:'status' => :'Status',
|
55
53
|
:'progress' => :'Progress',
|
56
54
|
:'created' => :'Created',
|
57
|
-
:'enqueued' => :'Enqueued',
|
58
55
|
:'started' => :'Started',
|
59
56
|
:'failed' => :'Failed',
|
60
57
|
:'canceled' => :'Canceled',
|
@@ -71,7 +68,6 @@ module AsposeSlidesCloud
|
|
71
68
|
:'status' => :'String',
|
72
69
|
:'progress' => :'OperationProgress',
|
73
70
|
:'created' => :'DateTime',
|
74
|
-
:'enqueued' => :'DateTime',
|
75
71
|
:'started' => :'DateTime',
|
76
72
|
:'failed' => :'DateTime',
|
77
73
|
:'canceled' => :'DateTime',
|
@@ -108,10 +104,6 @@ module AsposeSlidesCloud
|
|
108
104
|
self.created = attributes[:'Created']
|
109
105
|
end
|
110
106
|
|
111
|
-
if attributes.has_key?(:'Enqueued')
|
112
|
-
self.enqueued = attributes[:'Enqueued']
|
113
|
-
end
|
114
|
-
|
115
107
|
if attributes.has_key?(:'Started')
|
116
108
|
self.started = attributes[:'Started']
|
117
109
|
end
|
@@ -195,7 +187,6 @@ module AsposeSlidesCloud
|
|
195
187
|
status == o.status &&
|
196
188
|
progress == o.progress &&
|
197
189
|
created == o.created &&
|
198
|
-
enqueued == o.enqueued &&
|
199
190
|
started == o.started &&
|
200
191
|
failed == o.failed &&
|
201
192
|
canceled == o.canceled &&
|
@@ -212,7 +203,7 @@ module AsposeSlidesCloud
|
|
212
203
|
# Calculates hash code according to all attributes.
|
213
204
|
# @return [Fixnum] Hash code
|
214
205
|
def hash
|
215
|
-
[id, method, status, progress, created,
|
206
|
+
[id, method, status, progress, created, started, failed, canceled, finished, error].hash
|
216
207
|
end
|
217
208
|
end
|
218
209
|
end
|
@@ -70,6 +70,12 @@ module AsposeSlidesCloud
|
|
70
70
|
# Access permissions that should be granted when the document is opened with user access. Default is AccessPermissions.None.
|
71
71
|
attr_accessor :access_permissions
|
72
72
|
|
73
|
+
# True to hide Ink elements in exported document.
|
74
|
+
attr_accessor :hide_ink
|
75
|
+
|
76
|
+
# True to use ROP operation or Opacity for rendering brush.
|
77
|
+
attr_accessor :interpret_mask_op_as_opacity
|
78
|
+
|
73
79
|
# Attribute mapping from ruby-style variable name to JSON key.
|
74
80
|
def self.attribute_map
|
75
81
|
super.merge({
|
@@ -88,6 +94,8 @@ module AsposeSlidesCloud
|
|
88
94
|
:'image_transparent_color' => :'ImageTransparentColor',
|
89
95
|
:'apply_image_transparent' => :'ApplyImageTransparent',
|
90
96
|
:'access_permissions' => :'AccessPermissions',
|
97
|
+
:'hide_ink' => :'HideInk',
|
98
|
+
:'interpret_mask_op_as_opacity' => :'InterpretMaskOpAsOpacity',
|
91
99
|
})
|
92
100
|
end
|
93
101
|
|
@@ -109,6 +117,8 @@ module AsposeSlidesCloud
|
|
109
117
|
:'image_transparent_color' => :'String',
|
110
118
|
:'apply_image_transparent' => :'BOOLEAN',
|
111
119
|
:'access_permissions' => :'AccessPermissions',
|
120
|
+
:'hide_ink' => :'BOOLEAN',
|
121
|
+
:'interpret_mask_op_as_opacity' => :'BOOLEAN',
|
112
122
|
})
|
113
123
|
end
|
114
124
|
|
@@ -178,6 +188,14 @@ module AsposeSlidesCloud
|
|
178
188
|
if attributes.has_key?(:'AccessPermissions')
|
179
189
|
self.access_permissions = attributes[:'AccessPermissions']
|
180
190
|
end
|
191
|
+
|
192
|
+
if attributes.has_key?(:'HideInk')
|
193
|
+
self.hide_ink = attributes[:'HideInk']
|
194
|
+
end
|
195
|
+
|
196
|
+
if attributes.has_key?(:'InterpretMaskOpAsOpacity')
|
197
|
+
self.interpret_mask_op_as_opacity = attributes[:'InterpretMaskOpAsOpacity']
|
198
|
+
end
|
181
199
|
self.format = 'pdf'
|
182
200
|
end
|
183
201
|
|
@@ -242,7 +260,9 @@ module AsposeSlidesCloud
|
|
242
260
|
slides_layout_options == o.slides_layout_options &&
|
243
261
|
image_transparent_color == o.image_transparent_color &&
|
244
262
|
apply_image_transparent == o.apply_image_transparent &&
|
245
|
-
access_permissions == o.access_permissions
|
263
|
+
access_permissions == o.access_permissions &&
|
264
|
+
hide_ink == o.hide_ink &&
|
265
|
+
interpret_mask_op_as_opacity == o.interpret_mask_op_as_opacity
|
246
266
|
end
|
247
267
|
|
248
268
|
# @see the `==` method
|
@@ -254,7 +274,7 @@ module AsposeSlidesCloud
|
|
254
274
|
# Calculates hash code according to all attributes.
|
255
275
|
# @return [Fixnum] Hash code
|
256
276
|
def hash
|
257
|
-
[default_regular_font, font_fallback_rules, font_subst_rules, format, text_compression, embed_full_fonts, compliance, sufficient_resolution, jpeg_quality, draw_slides_frame, show_hidden_slides, save_metafiles_as_png, password, embed_true_type_fonts_for_ascii, additional_common_font_families, slides_layout_options, image_transparent_color, apply_image_transparent, access_permissions].hash
|
277
|
+
[default_regular_font, font_fallback_rules, font_subst_rules, format, text_compression, embed_full_fonts, compliance, sufficient_resolution, jpeg_quality, draw_slides_frame, show_hidden_slides, save_metafiles_as_png, password, embed_true_type_fonts_for_ascii, additional_common_font_families, slides_layout_options, image_transparent_color, apply_image_transparent, access_permissions, hide_ink, interpret_mask_op_as_opacity].hash
|
258
278
|
end
|
259
279
|
end
|
260
280
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aspose_slides_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 24.
|
4
|
+
version: 24.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Putrov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|