tencentcloud-sdk-tiw 3.0.736 → 3.0.738
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/VERSION +1 -1
- data/lib/v20190919/models.rb +105 -14
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 999c87bf321d6dae9e7eeb378f25be56574913b7
|
4
|
+
data.tar.gz: 05d17b7a0070178df511a1181c4d114614349106
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 790009870b1fdeb930913b10a750b663712d750b845b2de91bdf3de6aae95557b5d4695f1e5ac3a64b166f3c080dc267879a34398e2a97586a618e0e4cbf4c03
|
7
|
+
data.tar.gz: 8c3b1a459a7dc5bff2b0664b5ee0cec968a414de5f854418572f964e54dbc635397b4657f4d13948c19964de2a79837946ce42c582220472d3d1f9d86e3e01e5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.738
|
data/lib/v20190919/models.rb
CHANGED
@@ -220,26 +220,71 @@ module TencentCloud
|
|
220
220
|
# @type SdkAppId: Integer
|
221
221
|
# @param Url: 经过URL编码后的PPT文件地址。URL 编码会将字符转换为可通过因特网传输的格式,例如文档地址为http://example.com/测试.pptx,经过URL编码之后为http://example.com/%E6%B5%8B%E8%AF%95.pptx。为了提高URL解析的成功率,请对URL进行编码。
|
222
222
|
# @type Url: String
|
223
|
-
# @param AutoHandleUnsupportedElement:
|
223
|
+
# @param AutoHandleUnsupportedElement: 是否对不支持元素开启自动处理的功能,默认不开启。
|
224
|
+
# true -- 开启
|
225
|
+
# false -- 不开启
|
224
226
|
|
225
|
-
#
|
226
|
-
# 1. 墨迹:移除不支持的墨迹(比如使用WPS画的)
|
227
|
-
# 2. 自动翻页:移除PPT上所有的自动翻页设置,并设置为单击鼠标翻页
|
228
|
-
# 3. 已损坏音视频:移除PPT上对损坏音视频的引用
|
227
|
+
# 当设置为`true`时,可配合`AutoHandleUnsupportedElementTypes`参数使用,具体有哪些不兼容元素类型,可参考`AutoHandleUnsupportedElementTypes`参数的说明。
|
229
228
|
# @type AutoHandleUnsupportedElement: Boolean
|
229
|
+
# @param AutoHandleUnsupportedElementTypes: 此参数仅在`AutoHandleUnsupportedElement`参数为`true`的情况下有效。
|
230
230
|
|
231
|
-
|
231
|
+
# 指定需要自动处理的不兼容元素类型,默认对所有不兼容的元素进行自动处理。
|
232
232
|
|
233
|
-
|
233
|
+
# 目前支持检测的不兼容元素类型及对应的自动处理方式如下:
|
234
|
+
# 0: 不支持的墨迹类型
|
235
|
+
# -- 自动处理方式:移除墨迹
|
236
|
+
|
237
|
+
# 1: 自动翻页
|
238
|
+
# -- 自动处理方式:移除自动翻页设置,并修改为单击切换
|
239
|
+
|
240
|
+
# 2: 已损坏音视频
|
241
|
+
# -- 自动处理方式:移除对损坏音视频的引用
|
242
|
+
|
243
|
+
# 3: 不可访问资源
|
244
|
+
# -- 自动处理方式:移除对不可访问的资源的引用
|
245
|
+
|
246
|
+
# 4: 只读文件
|
247
|
+
# -- 自动处理方式:移除只读设置
|
248
|
+
|
249
|
+
# 5: 不支持的元素编辑锁定状态
|
250
|
+
# -- 自动处理方式:移除锁定状态
|
251
|
+
|
252
|
+
# 6: 可能有兼容问题的字体
|
253
|
+
# -- 自动处理方式: 不支持处理
|
254
|
+
|
255
|
+
# 7: 设置了柔化边缘的GIF图片
|
256
|
+
# -- 自动处理方式:移除柔化边缘设置
|
257
|
+
|
258
|
+
# 8: 存在不兼容的空格下划线
|
259
|
+
# -- 自动处理方式:通过调整空格下划线前后文本的字体语言体系,保证空格下划线表现正常
|
260
|
+
|
261
|
+
# 9: 存在设置了分段动画的数学公式和文本混合内容
|
262
|
+
# -- 自动处理方式: 不支持处理
|
263
|
+
|
264
|
+
# 10: 存在设置了分段动画的渐变色文本
|
265
|
+
# -- 自动处理方式: 不支持处理
|
266
|
+
|
267
|
+
# 11: 存在不兼容的分散对齐方式
|
268
|
+
# -- 自动处理方式: 不支持处理
|
269
|
+
|
270
|
+
# 12: 存在不兼容的多倍行距设置
|
271
|
+
# -- 自动处理方式: 不支持处理
|
272
|
+
# @type AutoHandleUnsupportedElementTypes: Array
|
273
|
+
|
274
|
+
attr_accessor :SdkAppId, :Url, :AutoHandleUnsupportedElement, :AutoHandleUnsupportedElementTypes
|
275
|
+
|
276
|
+
def initialize(sdkappid=nil, url=nil, autohandleunsupportedelement=nil, autohandleunsupportedelementtypes=nil)
|
234
277
|
@SdkAppId = sdkappid
|
235
278
|
@Url = url
|
236
279
|
@AutoHandleUnsupportedElement = autohandleunsupportedelement
|
280
|
+
@AutoHandleUnsupportedElementTypes = autohandleunsupportedelementtypes
|
237
281
|
end
|
238
282
|
|
239
283
|
def deserialize(params)
|
240
284
|
@SdkAppId = params['SdkAppId']
|
241
285
|
@Url = params['Url']
|
242
286
|
@AutoHandleUnsupportedElement = params['AutoHandleUnsupportedElement']
|
287
|
+
@AutoHandleUnsupportedElementTypes = params['AutoHandleUnsupportedElementTypes']
|
243
288
|
end
|
244
289
|
end
|
245
290
|
|
@@ -367,19 +412,63 @@ module TencentCloud
|
|
367
412
|
# 示例:1280x720,注意分辨率宽高中间为英文字母"xyz"的"x"
|
368
413
|
# @type MinScaleResolution: String
|
369
414
|
# @param AutoHandleUnsupportedElement: 此参数仅对动态转码生效。
|
370
|
-
# 是否对不支持元素开启自动处理的功能。默认不开启。
|
371
415
|
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
375
|
-
|
416
|
+
# 是否对不支持元素开启自动处理的功能,默认不开启。
|
417
|
+
# true -- 开启
|
418
|
+
# false -- 不开启
|
419
|
+
|
420
|
+
# 当设置为`true`时,可配合`AutoHandleUnsupportedElementTypes`参数使用,具体有哪些不兼容元素类型,可参考`AutoHandleUnsupportedElementTypes`参数的说明。
|
376
421
|
# @type AutoHandleUnsupportedElement: Boolean
|
422
|
+
# @param AutoHandleUnsupportedElementTypes: 此参数仅在`AutoHandleUnsupportedElement`参数为`true`的情况下有效。
|
423
|
+
|
424
|
+
# 指定需要自动处理的不兼容元素类型,默认对所有不兼容的元素进行自动处理。
|
425
|
+
|
426
|
+
# 目前支持检测的不兼容元素类型及对应的自动处理方式如下:
|
427
|
+
# 0: 不支持的墨迹类型
|
428
|
+
# -- 自动处理方式:移除墨迹
|
429
|
+
|
430
|
+
# 1: 自动翻页
|
431
|
+
# -- 自动处理方式:移除自动翻页设置,并修改为单击切换
|
432
|
+
|
433
|
+
# 2: 已损坏音视频
|
434
|
+
# -- 自动处理方式:移除对损坏音视频的引用
|
435
|
+
|
436
|
+
# 3: 不可访问资源
|
437
|
+
# -- 自动处理方式:移除对不可访问的资源的引用
|
438
|
+
|
439
|
+
# 4: 只读文件
|
440
|
+
# -- 自动处理方式:移除只读设置
|
441
|
+
|
442
|
+
# 5: 不支持的元素编辑锁定状态
|
443
|
+
# -- 自动处理方式:移除锁定状态
|
444
|
+
|
445
|
+
# 6: 可能有兼容问题的字体
|
446
|
+
# -- 自动处理方式: 不支持处理
|
447
|
+
|
448
|
+
# 7: 设置了柔化边缘的GIF图片
|
449
|
+
# -- 自动处理方式:移除柔化边缘设置
|
450
|
+
|
451
|
+
# 8: 存在不兼容的空格下划线
|
452
|
+
# -- 自动处理方式:通过调整空格下划线前后文本的字体语言体系,保证空格下划线表现正常
|
453
|
+
|
454
|
+
# 9: 存在设置了分段动画的数学公式和文本混合内容
|
455
|
+
# -- 自动处理方式: 不支持处理
|
456
|
+
|
457
|
+
# 10: 存在设置了分段动画的渐变色文本
|
458
|
+
# -- 自动处理方式: 不支持处理
|
459
|
+
|
460
|
+
# 11: 存在不兼容的分散对齐方式
|
461
|
+
# -- 自动处理方式: 不支持处理
|
462
|
+
|
463
|
+
# 12: 存在不兼容的多倍行距设置
|
464
|
+
# -- 自动处理方式: 不支持处理
|
465
|
+
# @type AutoHandleUnsupportedElementTypes: Array
|
377
466
|
# @param ExcelParam: Excel表格转码参数,可设置转码时表格纸张大小及纸张方向等参数(仅对转码文件为Excel表格文件的静态转码任务生效)
|
378
467
|
# @type ExcelParam: :class:`Tencentcloud::Tiw.v20190919.models.ExcelParam`
|
379
468
|
|
380
|
-
attr_accessor :SdkAppId, :Url, :IsStaticPPT, :MinResolution, :ThumbnailResolution, :CompressFileType, :ExtraData, :Priority, :MinScaleResolution, :AutoHandleUnsupportedElement, :ExcelParam
|
469
|
+
attr_accessor :SdkAppId, :Url, :IsStaticPPT, :MinResolution, :ThumbnailResolution, :CompressFileType, :ExtraData, :Priority, :MinScaleResolution, :AutoHandleUnsupportedElement, :AutoHandleUnsupportedElementTypes, :ExcelParam
|
381
470
|
|
382
|
-
def initialize(sdkappid=nil, url=nil, isstaticppt=nil, minresolution=nil, thumbnailresolution=nil, compressfiletype=nil, extradata=nil, priority=nil, minscaleresolution=nil, autohandleunsupportedelement=nil, excelparam=nil)
|
471
|
+
def initialize(sdkappid=nil, url=nil, isstaticppt=nil, minresolution=nil, thumbnailresolution=nil, compressfiletype=nil, extradata=nil, priority=nil, minscaleresolution=nil, autohandleunsupportedelement=nil, autohandleunsupportedelementtypes=nil, excelparam=nil)
|
383
472
|
@SdkAppId = sdkappid
|
384
473
|
@Url = url
|
385
474
|
@IsStaticPPT = isstaticppt
|
@@ -390,6 +479,7 @@ module TencentCloud
|
|
390
479
|
@Priority = priority
|
391
480
|
@MinScaleResolution = minscaleresolution
|
392
481
|
@AutoHandleUnsupportedElement = autohandleunsupportedelement
|
482
|
+
@AutoHandleUnsupportedElementTypes = autohandleunsupportedelementtypes
|
393
483
|
@ExcelParam = excelparam
|
394
484
|
end
|
395
485
|
|
@@ -404,6 +494,7 @@ module TencentCloud
|
|
404
494
|
@Priority = params['Priority']
|
405
495
|
@MinScaleResolution = params['MinScaleResolution']
|
406
496
|
@AutoHandleUnsupportedElement = params['AutoHandleUnsupportedElement']
|
497
|
+
@AutoHandleUnsupportedElementTypes = params['AutoHandleUnsupportedElementTypes']
|
407
498
|
unless params['ExcelParam'].nil?
|
408
499
|
@ExcelParam = ExcelParam.new
|
409
500
|
@ExcelParam.deserialize(params['ExcelParam'])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tiw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.738
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|