groupdocs_conversion_cloud 22.10 → 23.4
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/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="jp2_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
|
|
|
@@ -106,6 +106,7 @@ module GroupDocsConversionCloud
|
|
|
106
106
|
:'from_page' => :'FromPage',
|
|
107
107
|
:'pages_count' => :'PagesCount',
|
|
108
108
|
:'pages' => :'Pages',
|
|
109
|
+
:'watermark_options' => :'WatermarkOptions',
|
|
109
110
|
:'width' => :'Width',
|
|
110
111
|
:'height' => :'Height',
|
|
111
112
|
:'horizontal_resolution' => :'HorizontalResolution',
|
|
@@ -113,7 +114,6 @@ module GroupDocsConversionCloud
|
|
|
113
114
|
:'grayscale' => :'Grayscale',
|
|
114
115
|
:'rotate_angle' => :'RotateAngle',
|
|
115
116
|
:'use_pdf' => :'UsePdf',
|
|
116
|
-
:'watermark_options' => :'WatermarkOptions',
|
|
117
117
|
:'brightness' => :'Brightness',
|
|
118
118
|
:'contrast' => :'Contrast',
|
|
119
119
|
:'gamma' => :'Gamma',
|
|
@@ -128,6 +128,7 @@ module GroupDocsConversionCloud
|
|
|
128
128
|
:'from_page' => :'Integer',
|
|
129
129
|
:'pages_count' => :'Integer',
|
|
130
130
|
:'pages' => :'Array<Integer>',
|
|
131
|
+
:'watermark_options' => :'WatermarkOptions',
|
|
131
132
|
:'width' => :'Integer',
|
|
132
133
|
:'height' => :'Integer',
|
|
133
134
|
:'horizontal_resolution' => :'Integer',
|
|
@@ -135,7 +136,6 @@ module GroupDocsConversionCloud
|
|
|
135
136
|
:'grayscale' => :'BOOLEAN',
|
|
136
137
|
:'rotate_angle' => :'Integer',
|
|
137
138
|
:'use_pdf' => :'BOOLEAN',
|
|
138
|
-
:'watermark_options' => :'WatermarkOptions',
|
|
139
139
|
:'brightness' => :'Integer',
|
|
140
140
|
:'contrast' => :'Integer',
|
|
141
141
|
:'gamma' => :'Float',
|
|
@@ -166,6 +166,10 @@ module GroupDocsConversionCloud
|
|
|
166
166
|
end
|
|
167
167
|
end
|
|
168
168
|
|
|
169
|
+
if attributes.key?(:'WatermarkOptions')
|
|
170
|
+
self.watermark_options = attributes[:'WatermarkOptions']
|
|
171
|
+
end
|
|
172
|
+
|
|
169
173
|
if attributes.key?(:'Width')
|
|
170
174
|
self.width = attributes[:'Width']
|
|
171
175
|
end
|
|
@@ -194,10 +198,6 @@ module GroupDocsConversionCloud
|
|
|
194
198
|
self.use_pdf = attributes[:'UsePdf']
|
|
195
199
|
end
|
|
196
200
|
|
|
197
|
-
if attributes.key?(:'WatermarkOptions')
|
|
198
|
-
self.watermark_options = attributes[:'WatermarkOptions']
|
|
199
|
-
end
|
|
200
|
-
|
|
201
201
|
if attributes.key?(:'Brightness')
|
|
202
202
|
self.brightness = attributes[:'Brightness']
|
|
203
203
|
end
|
|
@@ -327,6 +327,7 @@ module GroupDocsConversionCloud
|
|
|
327
327
|
from_page == other.from_page &&
|
|
328
328
|
pages_count == other.pages_count &&
|
|
329
329
|
pages == other.pages &&
|
|
330
|
+
watermark_options == other.watermark_options &&
|
|
330
331
|
width == other.width &&
|
|
331
332
|
height == other.height &&
|
|
332
333
|
horizontal_resolution == other.horizontal_resolution &&
|
|
@@ -334,7 +335,6 @@ module GroupDocsConversionCloud
|
|
|
334
335
|
grayscale == other.grayscale &&
|
|
335
336
|
rotate_angle == other.rotate_angle &&
|
|
336
337
|
use_pdf == other.use_pdf &&
|
|
337
|
-
watermark_options == other.watermark_options &&
|
|
338
338
|
brightness == other.brightness &&
|
|
339
339
|
contrast == other.contrast &&
|
|
340
340
|
gamma == other.gamma &&
|
|
@@ -351,7 +351,7 @@ module GroupDocsConversionCloud
|
|
|
351
351
|
# Calculates hash code according to all attributes.
|
|
352
352
|
# @return [Fixnum] Hash code
|
|
353
353
|
def hash
|
|
354
|
-
[from_page, pages_count, pages, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf,
|
|
354
|
+
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, quality].hash
|
|
355
355
|
end
|
|
356
356
|
|
|
357
357
|
# Downcases first letter.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="jp2_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="jpeg_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
|
|
|
@@ -106,6 +106,7 @@ module GroupDocsConversionCloud
|
|
|
106
106
|
:'from_page' => :'FromPage',
|
|
107
107
|
:'pages_count' => :'PagesCount',
|
|
108
108
|
:'pages' => :'Pages',
|
|
109
|
+
:'watermark_options' => :'WatermarkOptions',
|
|
109
110
|
:'width' => :'Width',
|
|
110
111
|
:'height' => :'Height',
|
|
111
112
|
:'horizontal_resolution' => :'HorizontalResolution',
|
|
@@ -113,7 +114,6 @@ module GroupDocsConversionCloud
|
|
|
113
114
|
:'grayscale' => :'Grayscale',
|
|
114
115
|
:'rotate_angle' => :'RotateAngle',
|
|
115
116
|
:'use_pdf' => :'UsePdf',
|
|
116
|
-
:'watermark_options' => :'WatermarkOptions',
|
|
117
117
|
:'brightness' => :'Brightness',
|
|
118
118
|
:'contrast' => :'Contrast',
|
|
119
119
|
:'gamma' => :'Gamma',
|
|
@@ -128,6 +128,7 @@ module GroupDocsConversionCloud
|
|
|
128
128
|
:'from_page' => :'Integer',
|
|
129
129
|
:'pages_count' => :'Integer',
|
|
130
130
|
:'pages' => :'Array<Integer>',
|
|
131
|
+
:'watermark_options' => :'WatermarkOptions',
|
|
131
132
|
:'width' => :'Integer',
|
|
132
133
|
:'height' => :'Integer',
|
|
133
134
|
:'horizontal_resolution' => :'Integer',
|
|
@@ -135,7 +136,6 @@ module GroupDocsConversionCloud
|
|
|
135
136
|
:'grayscale' => :'BOOLEAN',
|
|
136
137
|
:'rotate_angle' => :'Integer',
|
|
137
138
|
:'use_pdf' => :'BOOLEAN',
|
|
138
|
-
:'watermark_options' => :'WatermarkOptions',
|
|
139
139
|
:'brightness' => :'Integer',
|
|
140
140
|
:'contrast' => :'Integer',
|
|
141
141
|
:'gamma' => :'Float',
|
|
@@ -166,6 +166,10 @@ module GroupDocsConversionCloud
|
|
|
166
166
|
end
|
|
167
167
|
end
|
|
168
168
|
|
|
169
|
+
if attributes.key?(:'WatermarkOptions')
|
|
170
|
+
self.watermark_options = attributes[:'WatermarkOptions']
|
|
171
|
+
end
|
|
172
|
+
|
|
169
173
|
if attributes.key?(:'Width')
|
|
170
174
|
self.width = attributes[:'Width']
|
|
171
175
|
end
|
|
@@ -194,10 +198,6 @@ module GroupDocsConversionCloud
|
|
|
194
198
|
self.use_pdf = attributes[:'UsePdf']
|
|
195
199
|
end
|
|
196
200
|
|
|
197
|
-
if attributes.key?(:'WatermarkOptions')
|
|
198
|
-
self.watermark_options = attributes[:'WatermarkOptions']
|
|
199
|
-
end
|
|
200
|
-
|
|
201
201
|
if attributes.key?(:'Brightness')
|
|
202
202
|
self.brightness = attributes[:'Brightness']
|
|
203
203
|
end
|
|
@@ -327,6 +327,7 @@ module GroupDocsConversionCloud
|
|
|
327
327
|
from_page == other.from_page &&
|
|
328
328
|
pages_count == other.pages_count &&
|
|
329
329
|
pages == other.pages &&
|
|
330
|
+
watermark_options == other.watermark_options &&
|
|
330
331
|
width == other.width &&
|
|
331
332
|
height == other.height &&
|
|
332
333
|
horizontal_resolution == other.horizontal_resolution &&
|
|
@@ -334,7 +335,6 @@ module GroupDocsConversionCloud
|
|
|
334
335
|
grayscale == other.grayscale &&
|
|
335
336
|
rotate_angle == other.rotate_angle &&
|
|
336
337
|
use_pdf == other.use_pdf &&
|
|
337
|
-
watermark_options == other.watermark_options &&
|
|
338
338
|
brightness == other.brightness &&
|
|
339
339
|
contrast == other.contrast &&
|
|
340
340
|
gamma == other.gamma &&
|
|
@@ -351,7 +351,7 @@ module GroupDocsConversionCloud
|
|
|
351
351
|
# Calculates hash code according to all attributes.
|
|
352
352
|
# @return [Fixnum] Hash code
|
|
353
353
|
def hash
|
|
354
|
-
[from_page, pages_count, pages, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf,
|
|
354
|
+
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, quality].hash
|
|
355
355
|
end
|
|
356
356
|
|
|
357
357
|
# Downcases first letter.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="jpeg_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="jpf_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
|
|
|
@@ -106,6 +106,7 @@ module GroupDocsConversionCloud
|
|
|
106
106
|
:'from_page' => :'FromPage',
|
|
107
107
|
:'pages_count' => :'PagesCount',
|
|
108
108
|
:'pages' => :'Pages',
|
|
109
|
+
:'watermark_options' => :'WatermarkOptions',
|
|
109
110
|
:'width' => :'Width',
|
|
110
111
|
:'height' => :'Height',
|
|
111
112
|
:'horizontal_resolution' => :'HorizontalResolution',
|
|
@@ -113,7 +114,6 @@ module GroupDocsConversionCloud
|
|
|
113
114
|
:'grayscale' => :'Grayscale',
|
|
114
115
|
:'rotate_angle' => :'RotateAngle',
|
|
115
116
|
:'use_pdf' => :'UsePdf',
|
|
116
|
-
:'watermark_options' => :'WatermarkOptions',
|
|
117
117
|
:'brightness' => :'Brightness',
|
|
118
118
|
:'contrast' => :'Contrast',
|
|
119
119
|
:'gamma' => :'Gamma',
|
|
@@ -128,6 +128,7 @@ module GroupDocsConversionCloud
|
|
|
128
128
|
:'from_page' => :'Integer',
|
|
129
129
|
:'pages_count' => :'Integer',
|
|
130
130
|
:'pages' => :'Array<Integer>',
|
|
131
|
+
:'watermark_options' => :'WatermarkOptions',
|
|
131
132
|
:'width' => :'Integer',
|
|
132
133
|
:'height' => :'Integer',
|
|
133
134
|
:'horizontal_resolution' => :'Integer',
|
|
@@ -135,7 +136,6 @@ module GroupDocsConversionCloud
|
|
|
135
136
|
:'grayscale' => :'BOOLEAN',
|
|
136
137
|
:'rotate_angle' => :'Integer',
|
|
137
138
|
:'use_pdf' => :'BOOLEAN',
|
|
138
|
-
:'watermark_options' => :'WatermarkOptions',
|
|
139
139
|
:'brightness' => :'Integer',
|
|
140
140
|
:'contrast' => :'Integer',
|
|
141
141
|
:'gamma' => :'Float',
|
|
@@ -166,6 +166,10 @@ module GroupDocsConversionCloud
|
|
|
166
166
|
end
|
|
167
167
|
end
|
|
168
168
|
|
|
169
|
+
if attributes.key?(:'WatermarkOptions')
|
|
170
|
+
self.watermark_options = attributes[:'WatermarkOptions']
|
|
171
|
+
end
|
|
172
|
+
|
|
169
173
|
if attributes.key?(:'Width')
|
|
170
174
|
self.width = attributes[:'Width']
|
|
171
175
|
end
|
|
@@ -194,10 +198,6 @@ module GroupDocsConversionCloud
|
|
|
194
198
|
self.use_pdf = attributes[:'UsePdf']
|
|
195
199
|
end
|
|
196
200
|
|
|
197
|
-
if attributes.key?(:'WatermarkOptions')
|
|
198
|
-
self.watermark_options = attributes[:'WatermarkOptions']
|
|
199
|
-
end
|
|
200
|
-
|
|
201
201
|
if attributes.key?(:'Brightness')
|
|
202
202
|
self.brightness = attributes[:'Brightness']
|
|
203
203
|
end
|
|
@@ -327,6 +327,7 @@ module GroupDocsConversionCloud
|
|
|
327
327
|
from_page == other.from_page &&
|
|
328
328
|
pages_count == other.pages_count &&
|
|
329
329
|
pages == other.pages &&
|
|
330
|
+
watermark_options == other.watermark_options &&
|
|
330
331
|
width == other.width &&
|
|
331
332
|
height == other.height &&
|
|
332
333
|
horizontal_resolution == other.horizontal_resolution &&
|
|
@@ -334,7 +335,6 @@ module GroupDocsConversionCloud
|
|
|
334
335
|
grayscale == other.grayscale &&
|
|
335
336
|
rotate_angle == other.rotate_angle &&
|
|
336
337
|
use_pdf == other.use_pdf &&
|
|
337
|
-
watermark_options == other.watermark_options &&
|
|
338
338
|
brightness == other.brightness &&
|
|
339
339
|
contrast == other.contrast &&
|
|
340
340
|
gamma == other.gamma &&
|
|
@@ -351,7 +351,7 @@ module GroupDocsConversionCloud
|
|
|
351
351
|
# Calculates hash code according to all attributes.
|
|
352
352
|
# @return [Fixnum] Hash code
|
|
353
353
|
def hash
|
|
354
|
-
[from_page, pages_count, pages, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf,
|
|
354
|
+
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, quality].hash
|
|
355
355
|
end
|
|
356
356
|
|
|
357
357
|
# Downcases first letter.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="jpf_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="jpg_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
|
|
|
@@ -106,6 +106,7 @@ module GroupDocsConversionCloud
|
|
|
106
106
|
:'from_page' => :'FromPage',
|
|
107
107
|
:'pages_count' => :'PagesCount',
|
|
108
108
|
:'pages' => :'Pages',
|
|
109
|
+
:'watermark_options' => :'WatermarkOptions',
|
|
109
110
|
:'width' => :'Width',
|
|
110
111
|
:'height' => :'Height',
|
|
111
112
|
:'horizontal_resolution' => :'HorizontalResolution',
|
|
@@ -113,7 +114,6 @@ module GroupDocsConversionCloud
|
|
|
113
114
|
:'grayscale' => :'Grayscale',
|
|
114
115
|
:'rotate_angle' => :'RotateAngle',
|
|
115
116
|
:'use_pdf' => :'UsePdf',
|
|
116
|
-
:'watermark_options' => :'WatermarkOptions',
|
|
117
117
|
:'brightness' => :'Brightness',
|
|
118
118
|
:'contrast' => :'Contrast',
|
|
119
119
|
:'gamma' => :'Gamma',
|
|
@@ -128,6 +128,7 @@ module GroupDocsConversionCloud
|
|
|
128
128
|
:'from_page' => :'Integer',
|
|
129
129
|
:'pages_count' => :'Integer',
|
|
130
130
|
:'pages' => :'Array<Integer>',
|
|
131
|
+
:'watermark_options' => :'WatermarkOptions',
|
|
131
132
|
:'width' => :'Integer',
|
|
132
133
|
:'height' => :'Integer',
|
|
133
134
|
:'horizontal_resolution' => :'Integer',
|
|
@@ -135,7 +136,6 @@ module GroupDocsConversionCloud
|
|
|
135
136
|
:'grayscale' => :'BOOLEAN',
|
|
136
137
|
:'rotate_angle' => :'Integer',
|
|
137
138
|
:'use_pdf' => :'BOOLEAN',
|
|
138
|
-
:'watermark_options' => :'WatermarkOptions',
|
|
139
139
|
:'brightness' => :'Integer',
|
|
140
140
|
:'contrast' => :'Integer',
|
|
141
141
|
:'gamma' => :'Float',
|
|
@@ -166,6 +166,10 @@ module GroupDocsConversionCloud
|
|
|
166
166
|
end
|
|
167
167
|
end
|
|
168
168
|
|
|
169
|
+
if attributes.key?(:'WatermarkOptions')
|
|
170
|
+
self.watermark_options = attributes[:'WatermarkOptions']
|
|
171
|
+
end
|
|
172
|
+
|
|
169
173
|
if attributes.key?(:'Width')
|
|
170
174
|
self.width = attributes[:'Width']
|
|
171
175
|
end
|
|
@@ -194,10 +198,6 @@ module GroupDocsConversionCloud
|
|
|
194
198
|
self.use_pdf = attributes[:'UsePdf']
|
|
195
199
|
end
|
|
196
200
|
|
|
197
|
-
if attributes.key?(:'WatermarkOptions')
|
|
198
|
-
self.watermark_options = attributes[:'WatermarkOptions']
|
|
199
|
-
end
|
|
200
|
-
|
|
201
201
|
if attributes.key?(:'Brightness')
|
|
202
202
|
self.brightness = attributes[:'Brightness']
|
|
203
203
|
end
|
|
@@ -327,6 +327,7 @@ module GroupDocsConversionCloud
|
|
|
327
327
|
from_page == other.from_page &&
|
|
328
328
|
pages_count == other.pages_count &&
|
|
329
329
|
pages == other.pages &&
|
|
330
|
+
watermark_options == other.watermark_options &&
|
|
330
331
|
width == other.width &&
|
|
331
332
|
height == other.height &&
|
|
332
333
|
horizontal_resolution == other.horizontal_resolution &&
|
|
@@ -334,7 +335,6 @@ module GroupDocsConversionCloud
|
|
|
334
335
|
grayscale == other.grayscale &&
|
|
335
336
|
rotate_angle == other.rotate_angle &&
|
|
336
337
|
use_pdf == other.use_pdf &&
|
|
337
|
-
watermark_options == other.watermark_options &&
|
|
338
338
|
brightness == other.brightness &&
|
|
339
339
|
contrast == other.contrast &&
|
|
340
340
|
gamma == other.gamma &&
|
|
@@ -351,7 +351,7 @@ module GroupDocsConversionCloud
|
|
|
351
351
|
# Calculates hash code according to all attributes.
|
|
352
352
|
# @return [Fixnum] Hash code
|
|
353
353
|
def hash
|
|
354
|
-
[from_page, pages_count, pages, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf,
|
|
354
|
+
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, quality].hash
|
|
355
355
|
end
|
|
356
356
|
|
|
357
357
|
# Downcases first letter.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="jpg_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="jpm_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
|
|
|
@@ -106,6 +106,7 @@ module GroupDocsConversionCloud
|
|
|
106
106
|
:'from_page' => :'FromPage',
|
|
107
107
|
:'pages_count' => :'PagesCount',
|
|
108
108
|
:'pages' => :'Pages',
|
|
109
|
+
:'watermark_options' => :'WatermarkOptions',
|
|
109
110
|
:'width' => :'Width',
|
|
110
111
|
:'height' => :'Height',
|
|
111
112
|
:'horizontal_resolution' => :'HorizontalResolution',
|
|
@@ -113,7 +114,6 @@ module GroupDocsConversionCloud
|
|
|
113
114
|
:'grayscale' => :'Grayscale',
|
|
114
115
|
:'rotate_angle' => :'RotateAngle',
|
|
115
116
|
:'use_pdf' => :'UsePdf',
|
|
116
|
-
:'watermark_options' => :'WatermarkOptions',
|
|
117
117
|
:'brightness' => :'Brightness',
|
|
118
118
|
:'contrast' => :'Contrast',
|
|
119
119
|
:'gamma' => :'Gamma',
|
|
@@ -128,6 +128,7 @@ module GroupDocsConversionCloud
|
|
|
128
128
|
:'from_page' => :'Integer',
|
|
129
129
|
:'pages_count' => :'Integer',
|
|
130
130
|
:'pages' => :'Array<Integer>',
|
|
131
|
+
:'watermark_options' => :'WatermarkOptions',
|
|
131
132
|
:'width' => :'Integer',
|
|
132
133
|
:'height' => :'Integer',
|
|
133
134
|
:'horizontal_resolution' => :'Integer',
|
|
@@ -135,7 +136,6 @@ module GroupDocsConversionCloud
|
|
|
135
136
|
:'grayscale' => :'BOOLEAN',
|
|
136
137
|
:'rotate_angle' => :'Integer',
|
|
137
138
|
:'use_pdf' => :'BOOLEAN',
|
|
138
|
-
:'watermark_options' => :'WatermarkOptions',
|
|
139
139
|
:'brightness' => :'Integer',
|
|
140
140
|
:'contrast' => :'Integer',
|
|
141
141
|
:'gamma' => :'Float',
|
|
@@ -166,6 +166,10 @@ module GroupDocsConversionCloud
|
|
|
166
166
|
end
|
|
167
167
|
end
|
|
168
168
|
|
|
169
|
+
if attributes.key?(:'WatermarkOptions')
|
|
170
|
+
self.watermark_options = attributes[:'WatermarkOptions']
|
|
171
|
+
end
|
|
172
|
+
|
|
169
173
|
if attributes.key?(:'Width')
|
|
170
174
|
self.width = attributes[:'Width']
|
|
171
175
|
end
|
|
@@ -194,10 +198,6 @@ module GroupDocsConversionCloud
|
|
|
194
198
|
self.use_pdf = attributes[:'UsePdf']
|
|
195
199
|
end
|
|
196
200
|
|
|
197
|
-
if attributes.key?(:'WatermarkOptions')
|
|
198
|
-
self.watermark_options = attributes[:'WatermarkOptions']
|
|
199
|
-
end
|
|
200
|
-
|
|
201
201
|
if attributes.key?(:'Brightness')
|
|
202
202
|
self.brightness = attributes[:'Brightness']
|
|
203
203
|
end
|
|
@@ -327,6 +327,7 @@ module GroupDocsConversionCloud
|
|
|
327
327
|
from_page == other.from_page &&
|
|
328
328
|
pages_count == other.pages_count &&
|
|
329
329
|
pages == other.pages &&
|
|
330
|
+
watermark_options == other.watermark_options &&
|
|
330
331
|
width == other.width &&
|
|
331
332
|
height == other.height &&
|
|
332
333
|
horizontal_resolution == other.horizontal_resolution &&
|
|
@@ -334,7 +335,6 @@ module GroupDocsConversionCloud
|
|
|
334
335
|
grayscale == other.grayscale &&
|
|
335
336
|
rotate_angle == other.rotate_angle &&
|
|
336
337
|
use_pdf == other.use_pdf &&
|
|
337
|
-
watermark_options == other.watermark_options &&
|
|
338
338
|
brightness == other.brightness &&
|
|
339
339
|
contrast == other.contrast &&
|
|
340
340
|
gamma == other.gamma &&
|
|
@@ -351,7 +351,7 @@ module GroupDocsConversionCloud
|
|
|
351
351
|
# Calculates hash code according to all attributes.
|
|
352
352
|
# @return [Fixnum] Hash code
|
|
353
353
|
def hash
|
|
354
|
-
[from_page, pages_count, pages, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf,
|
|
354
|
+
[from_page, pages_count, pages, watermark_options, width, height, horizontal_resolution, vertical_resolution, grayscale, rotate_angle, use_pdf, brightness, contrast, gamma, flip_mode, quality].hash
|
|
355
355
|
end
|
|
356
356
|
|
|
357
357
|
# Downcases first letter.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="jpm_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
|