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="presentation_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="presentation_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="psd_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
|
|
@@ -118,6 +118,7 @@ module GroupDocsConversionCloud
|
|
118
118
|
:'from_page' => :'FromPage',
|
119
119
|
:'pages_count' => :'PagesCount',
|
120
120
|
:'pages' => :'Pages',
|
121
|
+
:'watermark_options' => :'WatermarkOptions',
|
121
122
|
:'width' => :'Width',
|
122
123
|
:'height' => :'Height',
|
123
124
|
:'horizontal_resolution' => :'HorizontalResolution',
|
@@ -125,7 +126,6 @@ module GroupDocsConversionCloud
|
|
125
126
|
:'grayscale' => :'Grayscale',
|
126
127
|
:'rotate_angle' => :'RotateAngle',
|
127
128
|
:'use_pdf' => :'UsePdf',
|
128
|
-
:'watermark_options' => :'WatermarkOptions',
|
129
129
|
:'brightness' => :'Brightness',
|
130
130
|
:'contrast' => :'Contrast',
|
131
131
|
:'gamma' => :'Gamma',
|
@@ -144,6 +144,7 @@ module GroupDocsConversionCloud
|
|
144
144
|
:'from_page' => :'Integer',
|
145
145
|
:'pages_count' => :'Integer',
|
146
146
|
:'pages' => :'Array<Integer>',
|
147
|
+
:'watermark_options' => :'WatermarkOptions',
|
147
148
|
:'width' => :'Integer',
|
148
149
|
:'height' => :'Integer',
|
149
150
|
:'horizontal_resolution' => :'Integer',
|
@@ -151,7 +152,6 @@ module GroupDocsConversionCloud
|
|
151
152
|
:'grayscale' => :'BOOLEAN',
|
152
153
|
:'rotate_angle' => :'Integer',
|
153
154
|
:'use_pdf' => :'BOOLEAN',
|
154
|
-
:'watermark_options' => :'WatermarkOptions',
|
155
155
|
:'brightness' => :'Integer',
|
156
156
|
:'contrast' => :'Integer',
|
157
157
|
:'gamma' => :'Float',
|
@@ -186,6 +186,10 @@ module GroupDocsConversionCloud
|
|
186
186
|
end
|
187
187
|
end
|
188
188
|
|
189
|
+
if attributes.key?(:'WatermarkOptions')
|
190
|
+
self.watermark_options = attributes[:'WatermarkOptions']
|
191
|
+
end
|
192
|
+
|
189
193
|
if attributes.key?(:'Width')
|
190
194
|
self.width = attributes[:'Width']
|
191
195
|
end
|
@@ -214,10 +218,6 @@ module GroupDocsConversionCloud
|
|
214
218
|
self.use_pdf = attributes[:'UsePdf']
|
215
219
|
end
|
216
220
|
|
217
|
-
if attributes.key?(:'WatermarkOptions')
|
218
|
-
self.watermark_options = attributes[:'WatermarkOptions']
|
219
|
-
end
|
220
|
-
|
221
221
|
if attributes.key?(:'Brightness')
|
222
222
|
self.brightness = attributes[:'Brightness']
|
223
223
|
end
|
@@ -415,6 +415,7 @@ module GroupDocsConversionCloud
|
|
415
415
|
from_page == other.from_page &&
|
416
416
|
pages_count == other.pages_count &&
|
417
417
|
pages == other.pages &&
|
418
|
+
watermark_options == other.watermark_options &&
|
418
419
|
width == other.width &&
|
419
420
|
height == other.height &&
|
420
421
|
horizontal_resolution == other.horizontal_resolution &&
|
@@ -422,7 +423,6 @@ module GroupDocsConversionCloud
|
|
422
423
|
grayscale == other.grayscale &&
|
423
424
|
rotate_angle == other.rotate_angle &&
|
424
425
|
use_pdf == other.use_pdf &&
|
425
|
-
watermark_options == other.watermark_options &&
|
426
426
|
brightness == other.brightness &&
|
427
427
|
contrast == other.contrast &&
|
428
428
|
gamma == other.gamma &&
|
@@ -443,7 +443,7 @@ module GroupDocsConversionCloud
|
|
443
443
|
# Calculates hash code according to all attributes.
|
444
444
|
# @return [Fixnum] Hash code
|
445
445
|
def hash
|
446
|
-
[from_page, pages_count, pages, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf,
|
446
|
+
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, channel_bits_count, channels_count, color_mode, compression_method, version].hash
|
447
447
|
end
|
448
448
|
|
449
449
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="psd_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="pst_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="rtf_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 after conversion
|
44
47
|
attr_accessor :width
|
45
48
|
|
@@ -55,12 +58,15 @@ module GroupDocsConversionCloud
|
|
55
58
|
# Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
|
56
59
|
attr_accessor :zoom
|
57
60
|
|
58
|
-
# Watermark specific options
|
59
|
-
attr_accessor :watermark_options
|
60
|
-
|
61
61
|
# Recognition mode when converting from pdf
|
62
62
|
attr_accessor :pdf_recognition_mode
|
63
63
|
|
64
|
+
# Page size
|
65
|
+
attr_accessor :page_size
|
66
|
+
|
67
|
+
# Specifies page orientation
|
68
|
+
attr_accessor :page_orientation
|
69
|
+
|
64
70
|
# Specifies whether the keywords for \"old readers\" are written to RTF or not. This can significantly affect the size of the RTF document. Default is False.
|
65
71
|
attr_accessor :export_images_for_old_readers
|
66
72
|
class EnumAttributeValidator
|
@@ -91,13 +97,15 @@ module GroupDocsConversionCloud
|
|
91
97
|
:'from_page' => :'FromPage',
|
92
98
|
:'pages_count' => :'PagesCount',
|
93
99
|
:'pages' => :'Pages',
|
100
|
+
:'watermark_options' => :'WatermarkOptions',
|
94
101
|
:'width' => :'Width',
|
95
102
|
:'height' => :'Height',
|
96
103
|
:'dpi' => :'Dpi',
|
97
104
|
:'password' => :'Password',
|
98
105
|
:'zoom' => :'Zoom',
|
99
|
-
:'watermark_options' => :'WatermarkOptions',
|
100
106
|
:'pdf_recognition_mode' => :'PdfRecognitionMode',
|
107
|
+
:'page_size' => :'PageSize',
|
108
|
+
:'page_orientation' => :'PageOrientation',
|
101
109
|
:'export_images_for_old_readers' => :'ExportImagesForOldReaders'
|
102
110
|
}
|
103
111
|
end
|
@@ -108,13 +116,15 @@ module GroupDocsConversionCloud
|
|
108
116
|
:'from_page' => :'Integer',
|
109
117
|
:'pages_count' => :'Integer',
|
110
118
|
:'pages' => :'Array<Integer>',
|
119
|
+
:'watermark_options' => :'WatermarkOptions',
|
111
120
|
:'width' => :'Integer',
|
112
121
|
:'height' => :'Integer',
|
113
122
|
:'dpi' => :'Float',
|
114
123
|
:'password' => :'String',
|
115
124
|
:'zoom' => :'Integer',
|
116
|
-
:'watermark_options' => :'WatermarkOptions',
|
117
125
|
:'pdf_recognition_mode' => :'String',
|
126
|
+
:'page_size' => :'String',
|
127
|
+
:'page_orientation' => :'String',
|
118
128
|
:'export_images_for_old_readers' => :'BOOLEAN'
|
119
129
|
}
|
120
130
|
end
|
@@ -141,6 +151,10 @@ module GroupDocsConversionCloud
|
|
141
151
|
end
|
142
152
|
end
|
143
153
|
|
154
|
+
if attributes.key?(:'WatermarkOptions')
|
155
|
+
self.watermark_options = attributes[:'WatermarkOptions']
|
156
|
+
end
|
157
|
+
|
144
158
|
if attributes.key?(:'Width')
|
145
159
|
self.width = attributes[:'Width']
|
146
160
|
end
|
@@ -161,14 +175,18 @@ module GroupDocsConversionCloud
|
|
161
175
|
self.zoom = attributes[:'Zoom']
|
162
176
|
end
|
163
177
|
|
164
|
-
if attributes.key?(:'WatermarkOptions')
|
165
|
-
self.watermark_options = attributes[:'WatermarkOptions']
|
166
|
-
end
|
167
|
-
|
168
178
|
if attributes.key?(:'PdfRecognitionMode')
|
169
179
|
self.pdf_recognition_mode = attributes[:'PdfRecognitionMode']
|
170
180
|
end
|
171
181
|
|
182
|
+
if attributes.key?(:'PageSize')
|
183
|
+
self.page_size = attributes[:'PageSize']
|
184
|
+
end
|
185
|
+
|
186
|
+
if attributes.key?(:'PageOrientation')
|
187
|
+
self.page_orientation = attributes[:'PageOrientation']
|
188
|
+
end
|
189
|
+
|
172
190
|
if attributes.key?(:'ExportImagesForOldReaders')
|
173
191
|
self.export_images_for_old_readers = attributes[:'ExportImagesForOldReaders']
|
174
192
|
end
|
@@ -207,6 +225,14 @@ module GroupDocsConversionCloud
|
|
207
225
|
invalid_properties.push("invalid value for 'pdf_recognition_mode', pdf_recognition_mode cannot be nil.")
|
208
226
|
end
|
209
227
|
|
228
|
+
if @page_size.nil?
|
229
|
+
invalid_properties.push("invalid value for 'page_size', page_size cannot be nil.")
|
230
|
+
end
|
231
|
+
|
232
|
+
if @page_orientation.nil?
|
233
|
+
invalid_properties.push("invalid value for 'page_orientation', page_orientation cannot be nil.")
|
234
|
+
end
|
235
|
+
|
210
236
|
if @export_images_for_old_readers.nil?
|
211
237
|
invalid_properties.push("invalid value for 'export_images_for_old_readers', export_images_for_old_readers cannot be nil.")
|
212
238
|
end
|
@@ -226,6 +252,12 @@ module GroupDocsConversionCloud
|
|
226
252
|
return false if @pdf_recognition_mode.nil?
|
227
253
|
pdf_recognition_mode_validator = EnumAttributeValidator.new('String', ["Textbox", "Flow"])
|
228
254
|
return false unless pdf_recognition_mode_validator.valid?(@pdf_recognition_mode)
|
255
|
+
return false if @page_size.nil?
|
256
|
+
page_size_validator = EnumAttributeValidator.new('String', ["Default", "A3", "Statement", "Quarto", "Paper11x17", "Paper10x14", "Letter", "Legal", "Ledger", "Folio", "Executive", "EnvelopeDL", "Custom", "B5", "B4", "A5", "A4", "Tabloid"])
|
257
|
+
return false unless page_size_validator.valid?(@page_size)
|
258
|
+
return false if @page_orientation.nil?
|
259
|
+
page_orientation_validator = EnumAttributeValidator.new('String', ["Default", "Landscape", "Portrait"])
|
260
|
+
return false unless page_orientation_validator.valid?(@page_orientation)
|
229
261
|
return false if @export_images_for_old_readers.nil?
|
230
262
|
return true
|
231
263
|
end
|
@@ -244,6 +276,34 @@ module GroupDocsConversionCloud
|
|
244
276
|
end
|
245
277
|
end
|
246
278
|
|
279
|
+
# Custom attribute writer method checking allowed values (enum).
|
280
|
+
# @param [Object] page_size Object to be assigned
|
281
|
+
def page_size=(page_size)
|
282
|
+
validator = EnumAttributeValidator.new('String', ["Default", "A3", "Statement", "Quarto", "Paper11x17", "Paper10x14", "Letter", "Legal", "Ledger", "Folio", "Executive", "EnvelopeDL", "Custom", "B5", "B4", "A5", "A4", "Tabloid"])
|
283
|
+
if page_size.to_i == 0
|
284
|
+
unless validator.valid?(page_size)
|
285
|
+
raise ArgumentError, "invalid value for 'page_size', must be one of #{validator.allowable_values}."
|
286
|
+
end
|
287
|
+
@page_size = page_size
|
288
|
+
else
|
289
|
+
@page_size = validator.allowable_values[page_size.to_i]
|
290
|
+
end
|
291
|
+
end
|
292
|
+
|
293
|
+
# Custom attribute writer method checking allowed values (enum).
|
294
|
+
# @param [Object] page_orientation Object to be assigned
|
295
|
+
def page_orientation=(page_orientation)
|
296
|
+
validator = EnumAttributeValidator.new('String', ["Default", "Landscape", "Portrait"])
|
297
|
+
if page_orientation.to_i == 0
|
298
|
+
unless validator.valid?(page_orientation)
|
299
|
+
raise ArgumentError, "invalid value for 'page_orientation', must be one of #{validator.allowable_values}."
|
300
|
+
end
|
301
|
+
@page_orientation = page_orientation
|
302
|
+
else
|
303
|
+
@page_orientation = validator.allowable_values[page_orientation.to_i]
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
247
307
|
# Checks equality by comparing each attribute.
|
248
308
|
# @param [Object] Object to be compared
|
249
309
|
def ==(other)
|
@@ -252,13 +312,15 @@ module GroupDocsConversionCloud
|
|
252
312
|
from_page == other.from_page &&
|
253
313
|
pages_count == other.pages_count &&
|
254
314
|
pages == other.pages &&
|
315
|
+
watermark_options == other.watermark_options &&
|
255
316
|
width == other.width &&
|
256
317
|
height == other.height &&
|
257
318
|
dpi == other.dpi &&
|
258
319
|
password == other.password &&
|
259
320
|
zoom == other.zoom &&
|
260
|
-
watermark_options == other.watermark_options &&
|
261
321
|
pdf_recognition_mode == other.pdf_recognition_mode &&
|
322
|
+
page_size == other.page_size &&
|
323
|
+
page_orientation == other.page_orientation &&
|
262
324
|
export_images_for_old_readers == other.export_images_for_old_readers
|
263
325
|
end
|
264
326
|
|
@@ -271,7 +333,7 @@ module GroupDocsConversionCloud
|
|
271
333
|
# Calculates hash code according to all attributes.
|
272
334
|
# @return [Fixnum] Hash code
|
273
335
|
def hash
|
274
|
-
[from_page, pages_count, pages, width, height, dpi, password, zoom,
|
336
|
+
[from_page, pages_count, pages, watermark_options, width, height, dpi, password, zoom, pdf_recognition_mode, page_size, page_orientation, export_images_for_old_readers].hash
|
275
337
|
end
|
276
338
|
|
277
339
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="spreadsheet_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
|
# Set this property if you want to protect the converted document with a password
|
44
47
|
attr_accessor :password
|
45
48
|
|
@@ -49,19 +52,16 @@ module GroupDocsConversionCloud
|
|
49
52
|
# If true, the input firstly is converted to PDF and after that to desired format
|
50
53
|
attr_accessor :use_pdf
|
51
54
|
|
52
|
-
# Watermark specific options
|
53
|
-
attr_accessor :watermark_options
|
54
|
-
|
55
55
|
# Attribute mapping from ruby-style variable name to JSON key.
|
56
56
|
def self.attribute_map
|
57
57
|
{
|
58
58
|
:'from_page' => :'FromPage',
|
59
59
|
:'pages_count' => :'PagesCount',
|
60
60
|
:'pages' => :'Pages',
|
61
|
+
:'watermark_options' => :'WatermarkOptions',
|
61
62
|
:'password' => :'Password',
|
62
63
|
:'zoom' => :'Zoom',
|
63
|
-
:'use_pdf' => :'UsePdf'
|
64
|
-
:'watermark_options' => :'WatermarkOptions'
|
64
|
+
:'use_pdf' => :'UsePdf'
|
65
65
|
}
|
66
66
|
end
|
67
67
|
|
@@ -71,10 +71,10 @@ module GroupDocsConversionCloud
|
|
71
71
|
:'from_page' => :'Integer',
|
72
72
|
:'pages_count' => :'Integer',
|
73
73
|
:'pages' => :'Array<Integer>',
|
74
|
+
:'watermark_options' => :'WatermarkOptions',
|
74
75
|
:'password' => :'String',
|
75
76
|
:'zoom' => :'Integer',
|
76
|
-
:'use_pdf' => :'BOOLEAN'
|
77
|
-
:'watermark_options' => :'WatermarkOptions'
|
77
|
+
:'use_pdf' => :'BOOLEAN'
|
78
78
|
}
|
79
79
|
end
|
80
80
|
|
@@ -100,6 +100,10 @@ module GroupDocsConversionCloud
|
|
100
100
|
end
|
101
101
|
end
|
102
102
|
|
103
|
+
if attributes.key?(:'WatermarkOptions')
|
104
|
+
self.watermark_options = attributes[:'WatermarkOptions']
|
105
|
+
end
|
106
|
+
|
103
107
|
if attributes.key?(:'Password')
|
104
108
|
self.password = attributes[:'Password']
|
105
109
|
end
|
@@ -112,10 +116,6 @@ module GroupDocsConversionCloud
|
|
112
116
|
self.use_pdf = attributes[:'UsePdf']
|
113
117
|
end
|
114
118
|
|
115
|
-
if attributes.key?(:'WatermarkOptions')
|
116
|
-
self.watermark_options = attributes[:'WatermarkOptions']
|
117
|
-
end
|
118
|
-
|
119
119
|
end
|
120
120
|
|
121
121
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -159,10 +159,10 @@ module GroupDocsConversionCloud
|
|
159
159
|
from_page == other.from_page &&
|
160
160
|
pages_count == other.pages_count &&
|
161
161
|
pages == other.pages &&
|
162
|
+
watermark_options == other.watermark_options &&
|
162
163
|
password == other.password &&
|
163
164
|
zoom == other.zoom &&
|
164
|
-
use_pdf == other.use_pdf
|
165
|
-
watermark_options == other.watermark_options
|
165
|
+
use_pdf == other.use_pdf
|
166
166
|
end
|
167
167
|
|
168
168
|
# @see the `==` method
|
@@ -174,7 +174,7 @@ module GroupDocsConversionCloud
|
|
174
174
|
# Calculates hash code according to all attributes.
|
175
175
|
# @return [Fixnum] Hash code
|
176
176
|
def hash
|
177
|
-
[from_page, pages_count, pages, password, zoom, use_pdf
|
177
|
+
[from_page, pages_count, pages, watermark_options, password, zoom, use_pdf].hash
|
178
178
|
end
|
179
179
|
|
180
180
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="spreadsheet_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="stl_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="storage_exist.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="storage_file.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="stored_converted_result.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="supported_format.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
|