groupdocs_conversion_cloud 22.10 → 23.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/groupdocs_conversion_cloud/api/convert_api.rb +3 -3
- data/lib/groupdocs_conversion_cloud/api/file_api.rb +6 -6
- data/lib/groupdocs_conversion_cloud/api/folder_api.rb +6 -6
- data/lib/groupdocs_conversion_cloud/api/info_api.rb +3 -3
- data/lib/groupdocs_conversion_cloud/api/license_api.rb +1 -1
- data/lib/groupdocs_conversion_cloud/api/storage_api.rb +5 -5
- data/lib/groupdocs_conversion_cloud/api_client.rb +1 -1
- data/lib/groupdocs_conversion_cloud/api_error.rb +1 -1
- data/lib/groupdocs_conversion_cloud/configuration.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/bmp_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/bmp_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/cad_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/consumption_result.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/convert_options.rb +15 -5
- data/lib/groupdocs_conversion_cloud/models/convert_settings.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/csv_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dcm_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/dcm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dgn_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/diagram_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/disc_usage.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/djvu_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/dng_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/dng_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/doc_convert_options.rb +77 -15
- data/lib/groupdocs_conversion_cloud/models/doc_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/docm_convert_options.rb +77 -15
- data/lib/groupdocs_conversion_cloud/models/docm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/document_metadata.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/docx_convert_options.rb +77 -15
- data/lib/groupdocs_conversion_cloud/models/docx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dot_convert_options.rb +77 -15
- data/lib/groupdocs_conversion_cloud/models/dot_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dotm_convert_options.rb +77 -15
- data/lib/groupdocs_conversion_cloud/models/dotm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dotx_convert_options.rb +77 -15
- data/lib/groupdocs_conversion_cloud/models/dotx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dwf_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dwg_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/dxf_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/{xps_convert_options.rb → e_book_convert_options.rb} +85 -132
- data/lib/groupdocs_conversion_cloud/models/email_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/emf_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/emf_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/eml_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/emlx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/error.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/error_details.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/field_label.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/file_version.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/file_versions.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/files_list.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/files_upload_result.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/gif_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/gif_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ico_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/ico_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ifc_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/igs_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/image_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/image_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/j2c_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/j2c_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/j2k_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/j2k_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jp2_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/jp2_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jpeg_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/jpeg_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jpf_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/jpf_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jpg_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/jpg_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jpm_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/jpm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/jpx_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/jpx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/mht_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/mobi_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/msg_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/object_exist.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/odg_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/odg_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/odp_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/odp_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ods_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/ods_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/odt_convert_options.rb +77 -15
- data/lib/groupdocs_conversion_cloud/models/odt_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/one_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ost_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/otp_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/otp_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ots_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/ots_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ott_convert_options.rb +77 -15
- data/lib/groupdocs_conversion_cloud/models/ott_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pdf_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/pdf_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/{svg_convert_options.rb → pdl_convert_options.rb} +5 -80
- data/lib/groupdocs_conversion_cloud/models/personal_storage_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/plt_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/png_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/png_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/potm_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/potm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/potx_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/potx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pps_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/pps_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ppsm_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/ppsm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ppsx_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/ppsx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/ppt_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/ppt_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pptm_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/pptm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pptx_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/pptx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/presentation_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/presentation_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/psd_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/psd_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/pst_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/rtf_convert_options.rb +74 -12
- data/lib/groupdocs_conversion_cloud/models/spreadsheet_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/spreadsheet_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/stl_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/storage_exist.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/storage_file.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/stored_converted_result.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/supported_format.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/tif_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/tif_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/tiff_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/tiff_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/tsv_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/tsv_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/txt_convert_options.rb +15 -5
- data/lib/groupdocs_conversion_cloud/models/txt_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vdw_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vdx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vsd_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vsdm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vsdx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vss_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vssm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vssx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vst_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vstm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vstx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vsx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/vtx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/watermark_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/{html_convert_options.rb → web_convert_options.rb} +17 -17
- data/lib/groupdocs_conversion_cloud/models/{html_load_options.rb → web_load_options.rb} +3 -3
- data/lib/groupdocs_conversion_cloud/models/webp_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/webp_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/wmf_convert_options.rb +12 -12
- data/lib/groupdocs_conversion_cloud/models/wmf_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/word_processing_convert_options.rb +77 -15
- data/lib/groupdocs_conversion_cloud/models/word_processing_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xls2003_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/xls2003_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xls_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/xls_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xlsb_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/xlsb_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xlsm_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/xlsm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xlsx_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/xlsx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xltm_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/xltm_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xltx_convert_options.rb +15 -15
- data/lib/groupdocs_conversion_cloud/models/xltx_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/models/xml_load_options.rb +1 -1
- data/lib/groupdocs_conversion_cloud/version.rb +2 -2
- data/lib/groupdocs_conversion_cloud.rb +5 -7
- metadata +10 -12
- data/lib/groupdocs_conversion_cloud/models/cgm_convert_options.rb +0 -458
- data/lib/groupdocs_conversion_cloud/models/epub_convert_options.rb +0 -386
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="pdf_convert_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -40,6 +40,9 @@ module GroupDocsConversionCloud
|
|
40
40
|
# Convert specific pages. The list contains the page indexes of the pages to be converted
|
41
41
|
attr_accessor :pages
|
42
42
|
|
43
|
+
# Watermark specific options
|
44
|
+
attr_accessor :watermark_options
|
45
|
+
|
43
46
|
# Desired page width in pixels after conversion
|
44
47
|
attr_accessor :width
|
45
48
|
|
@@ -129,9 +132,6 @@ module GroupDocsConversionCloud
|
|
129
132
|
|
130
133
|
# Rotate page
|
131
134
|
attr_accessor :rotate
|
132
|
-
|
133
|
-
# Watermark specific options
|
134
|
-
attr_accessor :watermark_options
|
135
135
|
class EnumAttributeValidator
|
136
136
|
attr_reader :datatype
|
137
137
|
attr_reader :allowable_values
|
@@ -160,6 +160,7 @@ module GroupDocsConversionCloud
|
|
160
160
|
:'from_page' => :'FromPage',
|
161
161
|
:'pages_count' => :'PagesCount',
|
162
162
|
:'pages' => :'Pages',
|
163
|
+
:'watermark_options' => :'WatermarkOptions',
|
163
164
|
:'width' => :'Width',
|
164
165
|
:'height' => :'Height',
|
165
166
|
:'dpi' => :'Dpi',
|
@@ -189,8 +190,7 @@ module GroupDocsConversionCloud
|
|
189
190
|
:'non_full_screen_page_mode' => :'NonFullScreenPageMode',
|
190
191
|
:'page_layout' => :'PageLayout',
|
191
192
|
:'page_mode' => :'PageMode',
|
192
|
-
:'rotate' => :'Rotate'
|
193
|
-
:'watermark_options' => :'WatermarkOptions'
|
193
|
+
:'rotate' => :'Rotate'
|
194
194
|
}
|
195
195
|
end
|
196
196
|
|
@@ -200,6 +200,7 @@ module GroupDocsConversionCloud
|
|
200
200
|
:'from_page' => :'Integer',
|
201
201
|
:'pages_count' => :'Integer',
|
202
202
|
:'pages' => :'Array<Integer>',
|
203
|
+
:'watermark_options' => :'WatermarkOptions',
|
203
204
|
:'width' => :'Integer',
|
204
205
|
:'height' => :'Integer',
|
205
206
|
:'dpi' => :'Float',
|
@@ -229,8 +230,7 @@ module GroupDocsConversionCloud
|
|
229
230
|
:'non_full_screen_page_mode' => :'String',
|
230
231
|
:'page_layout' => :'String',
|
231
232
|
:'page_mode' => :'String',
|
232
|
-
:'rotate' => :'String'
|
233
|
-
:'watermark_options' => :'WatermarkOptions'
|
233
|
+
:'rotate' => :'String'
|
234
234
|
}
|
235
235
|
end
|
236
236
|
|
@@ -256,6 +256,10 @@ module GroupDocsConversionCloud
|
|
256
256
|
end
|
257
257
|
end
|
258
258
|
|
259
|
+
if attributes.key?(:'WatermarkOptions')
|
260
|
+
self.watermark_options = attributes[:'WatermarkOptions']
|
261
|
+
end
|
262
|
+
|
259
263
|
if attributes.key?(:'Width')
|
260
264
|
self.width = attributes[:'Width']
|
261
265
|
end
|
@@ -376,10 +380,6 @@ module GroupDocsConversionCloud
|
|
376
380
|
self.rotate = attributes[:'Rotate']
|
377
381
|
end
|
378
382
|
|
379
|
-
if attributes.key?(:'WatermarkOptions')
|
380
|
-
self.watermark_options = attributes[:'WatermarkOptions']
|
381
|
-
end
|
382
|
-
|
383
383
|
end
|
384
384
|
|
385
385
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -654,6 +654,7 @@ module GroupDocsConversionCloud
|
|
654
654
|
from_page == other.from_page &&
|
655
655
|
pages_count == other.pages_count &&
|
656
656
|
pages == other.pages &&
|
657
|
+
watermark_options == other.watermark_options &&
|
657
658
|
width == other.width &&
|
658
659
|
height == other.height &&
|
659
660
|
dpi == other.dpi &&
|
@@ -683,8 +684,7 @@ module GroupDocsConversionCloud
|
|
683
684
|
non_full_screen_page_mode == other.non_full_screen_page_mode &&
|
684
685
|
page_layout == other.page_layout &&
|
685
686
|
page_mode == other.page_mode &&
|
686
|
-
rotate == other.rotate
|
687
|
-
watermark_options == other.watermark_options
|
687
|
+
rotate == other.rotate
|
688
688
|
end
|
689
689
|
|
690
690
|
# @see the `==` method
|
@@ -696,7 +696,7 @@ module GroupDocsConversionCloud
|
|
696
696
|
# Calculates hash code according to all attributes.
|
697
697
|
# @return [Fixnum] Hash code
|
698
698
|
def hash
|
699
|
-
[from_page, pages_count, pages, width, height, dpi, password, margin_top, margin_bottom, margin_left, margin_right, pdf_format, remove_pdfa_compliance, zoom, linearize, link_duplicate_streams, remove_unused_objects, remove_unused_streams, compress_images, image_quality, unembed_fonts, grayscale, center_window, direction, display_doc_title, fit_window, hide_menu_bar, hide_tool_bar, hide_window_ui, non_full_screen_page_mode, page_layout, page_mode, rotate
|
699
|
+
[from_page, pages_count, pages, watermark_options, width, height, dpi, password, margin_top, margin_bottom, margin_left, margin_right, pdf_format, remove_pdfa_compliance, zoom, linearize, link_duplicate_streams, remove_unused_objects, remove_unused_streams, compress_images, image_quality, unembed_fonts, grayscale, center_window, direction, display_doc_title, fit_window, hide_menu_bar, hide_tool_bar, hide_window_ui, non_full_screen_page_mode, page_layout, page_mode, rotate].hash
|
700
700
|
end
|
701
701
|
|
702
702
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="pdf_load_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
data/lib/groupdocs_conversion_cloud/models/{svg_convert_options.rb → pdl_convert_options.rb}
RENAMED
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
|
-
# <copyright company="Aspose Pty Ltd" file="
|
4
|
-
# Copyright (c) 2003-
|
3
|
+
# <copyright company="Aspose Pty Ltd" file="pdl_convert_options.rb">
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -28,8 +28,8 @@
|
|
28
28
|
require 'date'
|
29
29
|
|
30
30
|
module GroupDocsConversionCloud
|
31
|
-
#
|
32
|
-
class
|
31
|
+
# Page description langusge convert options
|
32
|
+
class PDLConvertOptions
|
33
33
|
|
34
34
|
# Start conversion from FromPage page
|
35
35
|
attr_accessor :from_page
|
@@ -40,21 +40,6 @@ module GroupDocsConversionCloud
|
|
40
40
|
# Convert specific pages. The list contains the page indexes of the pages to be converted
|
41
41
|
attr_accessor :pages
|
42
42
|
|
43
|
-
# Desired image width after conversion
|
44
|
-
attr_accessor :width
|
45
|
-
|
46
|
-
# Desired image height after conversion
|
47
|
-
attr_accessor :height
|
48
|
-
|
49
|
-
# Convert to grayscale image
|
50
|
-
attr_accessor :grayscale
|
51
|
-
|
52
|
-
# Image rotation angle
|
53
|
-
attr_accessor :rotate_angle
|
54
|
-
|
55
|
-
# If true, the input firstly is converted to PDF and after that to desired format
|
56
|
-
attr_accessor :use_pdf
|
57
|
-
|
58
43
|
# Watermark specific options
|
59
44
|
attr_accessor :watermark_options
|
60
45
|
|
@@ -64,11 +49,6 @@ module GroupDocsConversionCloud
|
|
64
49
|
:'from_page' => :'FromPage',
|
65
50
|
:'pages_count' => :'PagesCount',
|
66
51
|
:'pages' => :'Pages',
|
67
|
-
:'width' => :'Width',
|
68
|
-
:'height' => :'Height',
|
69
|
-
:'grayscale' => :'Grayscale',
|
70
|
-
:'rotate_angle' => :'RotateAngle',
|
71
|
-
:'use_pdf' => :'UsePdf',
|
72
52
|
:'watermark_options' => :'WatermarkOptions'
|
73
53
|
}
|
74
54
|
end
|
@@ -79,11 +59,6 @@ module GroupDocsConversionCloud
|
|
79
59
|
:'from_page' => :'Integer',
|
80
60
|
:'pages_count' => :'Integer',
|
81
61
|
:'pages' => :'Array<Integer>',
|
82
|
-
:'width' => :'Integer',
|
83
|
-
:'height' => :'Integer',
|
84
|
-
:'grayscale' => :'BOOLEAN',
|
85
|
-
:'rotate_angle' => :'Integer',
|
86
|
-
:'use_pdf' => :'BOOLEAN',
|
87
62
|
:'watermark_options' => :'WatermarkOptions'
|
88
63
|
}
|
89
64
|
end
|
@@ -110,26 +85,6 @@ module GroupDocsConversionCloud
|
|
110
85
|
end
|
111
86
|
end
|
112
87
|
|
113
|
-
if attributes.key?(:'Width')
|
114
|
-
self.width = attributes[:'Width']
|
115
|
-
end
|
116
|
-
|
117
|
-
if attributes.key?(:'Height')
|
118
|
-
self.height = attributes[:'Height']
|
119
|
-
end
|
120
|
-
|
121
|
-
if attributes.key?(:'Grayscale')
|
122
|
-
self.grayscale = attributes[:'Grayscale']
|
123
|
-
end
|
124
|
-
|
125
|
-
if attributes.key?(:'RotateAngle')
|
126
|
-
self.rotate_angle = attributes[:'RotateAngle']
|
127
|
-
end
|
128
|
-
|
129
|
-
if attributes.key?(:'UsePdf')
|
130
|
-
self.use_pdf = attributes[:'UsePdf']
|
131
|
-
end
|
132
|
-
|
133
88
|
if attributes.key?(:'WatermarkOptions')
|
134
89
|
self.watermark_options = attributes[:'WatermarkOptions']
|
135
90
|
end
|
@@ -148,26 +103,6 @@ module GroupDocsConversionCloud
|
|
148
103
|
invalid_properties.push("invalid value for 'pages_count', pages_count cannot be nil.")
|
149
104
|
end
|
150
105
|
|
151
|
-
if @width.nil?
|
152
|
-
invalid_properties.push("invalid value for 'width', width cannot be nil.")
|
153
|
-
end
|
154
|
-
|
155
|
-
if @height.nil?
|
156
|
-
invalid_properties.push("invalid value for 'height', height cannot be nil.")
|
157
|
-
end
|
158
|
-
|
159
|
-
if @grayscale.nil?
|
160
|
-
invalid_properties.push("invalid value for 'grayscale', grayscale cannot be nil.")
|
161
|
-
end
|
162
|
-
|
163
|
-
if @rotate_angle.nil?
|
164
|
-
invalid_properties.push("invalid value for 'rotate_angle', rotate_angle cannot be nil.")
|
165
|
-
end
|
166
|
-
|
167
|
-
if @use_pdf.nil?
|
168
|
-
invalid_properties.push("invalid value for 'use_pdf', use_pdf cannot be nil.")
|
169
|
-
end
|
170
|
-
|
171
106
|
return invalid_properties
|
172
107
|
end
|
173
108
|
|
@@ -176,11 +111,6 @@ module GroupDocsConversionCloud
|
|
176
111
|
def valid?
|
177
112
|
return false if @from_page.nil?
|
178
113
|
return false if @pages_count.nil?
|
179
|
-
return false if @width.nil?
|
180
|
-
return false if @height.nil?
|
181
|
-
return false if @grayscale.nil?
|
182
|
-
return false if @rotate_angle.nil?
|
183
|
-
return false if @use_pdf.nil?
|
184
114
|
return true
|
185
115
|
end
|
186
116
|
|
@@ -192,11 +122,6 @@ module GroupDocsConversionCloud
|
|
192
122
|
from_page == other.from_page &&
|
193
123
|
pages_count == other.pages_count &&
|
194
124
|
pages == other.pages &&
|
195
|
-
width == other.width &&
|
196
|
-
height == other.height &&
|
197
|
-
grayscale == other.grayscale &&
|
198
|
-
rotate_angle == other.rotate_angle &&
|
199
|
-
use_pdf == other.use_pdf &&
|
200
125
|
watermark_options == other.watermark_options
|
201
126
|
end
|
202
127
|
|
@@ -209,7 +134,7 @@ module GroupDocsConversionCloud
|
|
209
134
|
# Calculates hash code according to all attributes.
|
210
135
|
# @return [Fixnum] Hash code
|
211
136
|
def hash
|
212
|
-
[from_page, pages_count, pages,
|
137
|
+
[from_page, pages_count, pages, watermark_options].hash
|
213
138
|
end
|
214
139
|
|
215
140
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="personal_storage_load_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="plt_load_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="png_convert_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -40,6 +40,9 @@ module GroupDocsConversionCloud
|
|
40
40
|
# Convert specific pages. The list contains the page indexes of the pages to be converted
|
41
41
|
attr_accessor :pages
|
42
42
|
|
43
|
+
# Watermark specific options
|
44
|
+
attr_accessor :watermark_options
|
45
|
+
|
43
46
|
# Desired image width after conversion
|
44
47
|
attr_accessor :width
|
45
48
|
|
@@ -61,9 +64,6 @@ module GroupDocsConversionCloud
|
|
61
64
|
# If true, the input firstly is converted to PDF and after that to desired format
|
62
65
|
attr_accessor :use_pdf
|
63
66
|
|
64
|
-
# Watermark specific options
|
65
|
-
attr_accessor :watermark_options
|
66
|
-
|
67
67
|
# Adjust image brightness
|
68
68
|
attr_accessor :brightness
|
69
69
|
|
@@ -103,6 +103,7 @@ module GroupDocsConversionCloud
|
|
103
103
|
:'from_page' => :'FromPage',
|
104
104
|
:'pages_count' => :'PagesCount',
|
105
105
|
:'pages' => :'Pages',
|
106
|
+
:'watermark_options' => :'WatermarkOptions',
|
106
107
|
:'width' => :'Width',
|
107
108
|
:'height' => :'Height',
|
108
109
|
:'horizontal_resolution' => :'HorizontalResolution',
|
@@ -110,7 +111,6 @@ module GroupDocsConversionCloud
|
|
110
111
|
:'grayscale' => :'Grayscale',
|
111
112
|
:'rotate_angle' => :'RotateAngle',
|
112
113
|
:'use_pdf' => :'UsePdf',
|
113
|
-
:'watermark_options' => :'WatermarkOptions',
|
114
114
|
:'brightness' => :'Brightness',
|
115
115
|
:'contrast' => :'Contrast',
|
116
116
|
:'gamma' => :'Gamma',
|
@@ -124,6 +124,7 @@ module GroupDocsConversionCloud
|
|
124
124
|
:'from_page' => :'Integer',
|
125
125
|
:'pages_count' => :'Integer',
|
126
126
|
:'pages' => :'Array<Integer>',
|
127
|
+
:'watermark_options' => :'WatermarkOptions',
|
127
128
|
:'width' => :'Integer',
|
128
129
|
:'height' => :'Integer',
|
129
130
|
:'horizontal_resolution' => :'Integer',
|
@@ -131,7 +132,6 @@ module GroupDocsConversionCloud
|
|
131
132
|
:'grayscale' => :'BOOLEAN',
|
132
133
|
:'rotate_angle' => :'Integer',
|
133
134
|
:'use_pdf' => :'BOOLEAN',
|
134
|
-
:'watermark_options' => :'WatermarkOptions',
|
135
135
|
:'brightness' => :'Integer',
|
136
136
|
:'contrast' => :'Integer',
|
137
137
|
:'gamma' => :'Float',
|
@@ -161,6 +161,10 @@ module GroupDocsConversionCloud
|
|
161
161
|
end
|
162
162
|
end
|
163
163
|
|
164
|
+
if attributes.key?(:'WatermarkOptions')
|
165
|
+
self.watermark_options = attributes[:'WatermarkOptions']
|
166
|
+
end
|
167
|
+
|
164
168
|
if attributes.key?(:'Width')
|
165
169
|
self.width = attributes[:'Width']
|
166
170
|
end
|
@@ -189,10 +193,6 @@ module GroupDocsConversionCloud
|
|
189
193
|
self.use_pdf = attributes[:'UsePdf']
|
190
194
|
end
|
191
195
|
|
192
|
-
if attributes.key?(:'WatermarkOptions')
|
193
|
-
self.watermark_options = attributes[:'WatermarkOptions']
|
194
|
-
end
|
195
|
-
|
196
196
|
if attributes.key?(:'Brightness')
|
197
197
|
self.brightness = attributes[:'Brightness']
|
198
198
|
end
|
@@ -313,6 +313,7 @@ module GroupDocsConversionCloud
|
|
313
313
|
from_page == other.from_page &&
|
314
314
|
pages_count == other.pages_count &&
|
315
315
|
pages == other.pages &&
|
316
|
+
watermark_options == other.watermark_options &&
|
316
317
|
width == other.width &&
|
317
318
|
height == other.height &&
|
318
319
|
horizontal_resolution == other.horizontal_resolution &&
|
@@ -320,7 +321,6 @@ module GroupDocsConversionCloud
|
|
320
321
|
grayscale == other.grayscale &&
|
321
322
|
rotate_angle == other.rotate_angle &&
|
322
323
|
use_pdf == other.use_pdf &&
|
323
|
-
watermark_options == other.watermark_options &&
|
324
324
|
brightness == other.brightness &&
|
325
325
|
contrast == other.contrast &&
|
326
326
|
gamma == other.gamma &&
|
@@ -336,7 +336,7 @@ module GroupDocsConversionCloud
|
|
336
336
|
# Calculates hash code according to all attributes.
|
337
337
|
# @return [Fixnum] Hash code
|
338
338
|
def hash
|
339
|
-
[from_page, pages_count, pages, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf,
|
339
|
+
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode].hash
|
340
340
|
end
|
341
341
|
|
342
342
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="png_load_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="potm_convert_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -40,24 +40,24 @@ module GroupDocsConversionCloud
|
|
40
40
|
# Convert specific pages. The list contains the page indexes of the pages to be converted
|
41
41
|
attr_accessor :pages
|
42
42
|
|
43
|
+
# Watermark specific options
|
44
|
+
attr_accessor :watermark_options
|
45
|
+
|
43
46
|
# Set this property if you want to protect the converted document with a password
|
44
47
|
attr_accessor :password
|
45
48
|
|
46
49
|
# Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
|
47
50
|
attr_accessor :zoom
|
48
51
|
|
49
|
-
# Watermark specific options
|
50
|
-
attr_accessor :watermark_options
|
51
|
-
|
52
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
53
53
|
def self.attribute_map
|
54
54
|
{
|
55
55
|
:'from_page' => :'FromPage',
|
56
56
|
:'pages_count' => :'PagesCount',
|
57
57
|
:'pages' => :'Pages',
|
58
|
+
:'watermark_options' => :'WatermarkOptions',
|
58
59
|
:'password' => :'Password',
|
59
|
-
:'zoom' => :'Zoom'
|
60
|
-
:'watermark_options' => :'WatermarkOptions'
|
60
|
+
:'zoom' => :'Zoom'
|
61
61
|
}
|
62
62
|
end
|
63
63
|
|
@@ -67,9 +67,9 @@ module GroupDocsConversionCloud
|
|
67
67
|
:'from_page' => :'Integer',
|
68
68
|
:'pages_count' => :'Integer',
|
69
69
|
:'pages' => :'Array<Integer>',
|
70
|
+
:'watermark_options' => :'WatermarkOptions',
|
70
71
|
:'password' => :'String',
|
71
|
-
:'zoom' => :'Integer'
|
72
|
-
:'watermark_options' => :'WatermarkOptions'
|
72
|
+
:'zoom' => :'Integer'
|
73
73
|
}
|
74
74
|
end
|
75
75
|
|
@@ -95,6 +95,10 @@ module GroupDocsConversionCloud
|
|
95
95
|
end
|
96
96
|
end
|
97
97
|
|
98
|
+
if attributes.key?(:'WatermarkOptions')
|
99
|
+
self.watermark_options = attributes[:'WatermarkOptions']
|
100
|
+
end
|
101
|
+
|
98
102
|
if attributes.key?(:'Password')
|
99
103
|
self.password = attributes[:'Password']
|
100
104
|
end
|
@@ -103,10 +107,6 @@ module GroupDocsConversionCloud
|
|
103
107
|
self.zoom = attributes[:'Zoom']
|
104
108
|
end
|
105
109
|
|
106
|
-
if attributes.key?(:'WatermarkOptions')
|
107
|
-
self.watermark_options = attributes[:'WatermarkOptions']
|
108
|
-
end
|
109
|
-
|
110
110
|
end
|
111
111
|
|
112
112
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -145,9 +145,9 @@ module GroupDocsConversionCloud
|
|
145
145
|
from_page == other.from_page &&
|
146
146
|
pages_count == other.pages_count &&
|
147
147
|
pages == other.pages &&
|
148
|
+
watermark_options == other.watermark_options &&
|
148
149
|
password == other.password &&
|
149
|
-
zoom == other.zoom
|
150
|
-
watermark_options == other.watermark_options
|
150
|
+
zoom == other.zoom
|
151
151
|
end
|
152
152
|
|
153
153
|
# @see the `==` method
|
@@ -159,7 +159,7 @@ module GroupDocsConversionCloud
|
|
159
159
|
# Calculates hash code according to all attributes.
|
160
160
|
# @return [Fixnum] Hash code
|
161
161
|
def hash
|
162
|
-
[from_page, pages_count, pages, password, zoom
|
162
|
+
[from_page, pages_count, pages, watermark_options, password, zoom].hash
|
163
163
|
end
|
164
164
|
|
165
165
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="potm_load_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="potx_convert_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -40,24 +40,24 @@ module GroupDocsConversionCloud
|
|
40
40
|
# Convert specific pages. The list contains the page indexes of the pages to be converted
|
41
41
|
attr_accessor :pages
|
42
42
|
|
43
|
+
# Watermark specific options
|
44
|
+
attr_accessor :watermark_options
|
45
|
+
|
43
46
|
# Set this property if you want to protect the converted document with a password
|
44
47
|
attr_accessor :password
|
45
48
|
|
46
49
|
# Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Powerpoint 2010. Starting from Microsoft Powerpoint 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
|
47
50
|
attr_accessor :zoom
|
48
51
|
|
49
|
-
# Watermark specific options
|
50
|
-
attr_accessor :watermark_options
|
51
|
-
|
52
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
53
53
|
def self.attribute_map
|
54
54
|
{
|
55
55
|
:'from_page' => :'FromPage',
|
56
56
|
:'pages_count' => :'PagesCount',
|
57
57
|
:'pages' => :'Pages',
|
58
|
+
:'watermark_options' => :'WatermarkOptions',
|
58
59
|
:'password' => :'Password',
|
59
|
-
:'zoom' => :'Zoom'
|
60
|
-
:'watermark_options' => :'WatermarkOptions'
|
60
|
+
:'zoom' => :'Zoom'
|
61
61
|
}
|
62
62
|
end
|
63
63
|
|
@@ -67,9 +67,9 @@ module GroupDocsConversionCloud
|
|
67
67
|
:'from_page' => :'Integer',
|
68
68
|
:'pages_count' => :'Integer',
|
69
69
|
:'pages' => :'Array<Integer>',
|
70
|
+
:'watermark_options' => :'WatermarkOptions',
|
70
71
|
:'password' => :'String',
|
71
|
-
:'zoom' => :'Integer'
|
72
|
-
:'watermark_options' => :'WatermarkOptions'
|
72
|
+
:'zoom' => :'Integer'
|
73
73
|
}
|
74
74
|
end
|
75
75
|
|
@@ -95,6 +95,10 @@ module GroupDocsConversionCloud
|
|
95
95
|
end
|
96
96
|
end
|
97
97
|
|
98
|
+
if attributes.key?(:'WatermarkOptions')
|
99
|
+
self.watermark_options = attributes[:'WatermarkOptions']
|
100
|
+
end
|
101
|
+
|
98
102
|
if attributes.key?(:'Password')
|
99
103
|
self.password = attributes[:'Password']
|
100
104
|
end
|
@@ -103,10 +107,6 @@ module GroupDocsConversionCloud
|
|
103
107
|
self.zoom = attributes[:'Zoom']
|
104
108
|
end
|
105
109
|
|
106
|
-
if attributes.key?(:'WatermarkOptions')
|
107
|
-
self.watermark_options = attributes[:'WatermarkOptions']
|
108
|
-
end
|
109
|
-
|
110
110
|
end
|
111
111
|
|
112
112
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -145,9 +145,9 @@ module GroupDocsConversionCloud
|
|
145
145
|
from_page == other.from_page &&
|
146
146
|
pages_count == other.pages_count &&
|
147
147
|
pages == other.pages &&
|
148
|
+
watermark_options == other.watermark_options &&
|
148
149
|
password == other.password &&
|
149
|
-
zoom == other.zoom
|
150
|
-
watermark_options == other.watermark_options
|
150
|
+
zoom == other.zoom
|
151
151
|
end
|
152
152
|
|
153
153
|
# @see the `==` method
|
@@ -159,7 +159,7 @@ module GroupDocsConversionCloud
|
|
159
159
|
# Calculates hash code according to all attributes.
|
160
160
|
# @return [Fixnum] Hash code
|
161
161
|
def hash
|
162
|
-
[from_page, pages_count, pages, password, zoom
|
162
|
+
[from_page, pages_count, pages, watermark_options, password, zoom].hash
|
163
163
|
end
|
164
164
|
|
165
165
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="potx_load_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|