groupdocs_conversion_cloud 25.10 → 25.12

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.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/lib/groupdocs_conversion_cloud/models/{tsv_convert_options.rb → cad_convert_options.rb} +74 -32
  3. data/lib/groupdocs_conversion_cloud/models/{pps_convert_options.rb → compression_convert_options.rb} +7 -22
  4. data/lib/groupdocs_conversion_cloud/models/{odp_convert_options.rb → diagram_convert_options.rb} +14 -24
  5. data/lib/groupdocs_conversion_cloud/models/{otp_convert_options.rb → email_convert_options.rb} +7 -32
  6. data/lib/groupdocs_conversion_cloud/models/{ppt_convert_options.rb → finance_convert_options.rb} +7 -32
  7. data/lib/groupdocs_conversion_cloud/models/{potm_convert_options.rb → font_convert_options.rb} +7 -32
  8. data/lib/groupdocs_conversion_cloud/models/{txt_convert_options.rb → gis_convert_options.rb} +3 -3
  9. data/lib/groupdocs_conversion_cloud/models/image_convert_options.rb +44 -4
  10. data/lib/groupdocs_conversion_cloud/models/jpg_convert_options.rb +1 -265
  11. data/lib/groupdocs_conversion_cloud/models/pdl_convert_options.rb +35 -5
  12. data/lib/groupdocs_conversion_cloud/models/project_management_convert_options.rb +256 -0
  13. data/lib/groupdocs_conversion_cloud/models/psd_convert_options.rb +1 -244
  14. data/lib/groupdocs_conversion_cloud/models/rtf_convert_options.rb +1 -237
  15. data/lib/groupdocs_conversion_cloud/models/spreadsheet_convert_options.rb +4 -19
  16. data/lib/groupdocs_conversion_cloud/models/three_d_convert_options.rb +256 -0
  17. data/lib/groupdocs_conversion_cloud/models/tiff_convert_options.rb +1 -244
  18. data/lib/groupdocs_conversion_cloud/models/webp_convert_options.rb +1 -265
  19. data/lib/groupdocs_conversion_cloud/models/word_processing_convert_options.rb +14 -4
  20. data/lib/groupdocs_conversion_cloud/version.rb +1 -1
  21. data/lib/groupdocs_conversion_cloud.rb +14 -52
  22. metadata +11 -49
  23. data/lib/groupdocs_conversion_cloud/models/bmp_convert_options.rb +0 -468
  24. data/lib/groupdocs_conversion_cloud/models/dcm_convert_options.rb +0 -468
  25. data/lib/groupdocs_conversion_cloud/models/djvu_convert_options.rb +0 -468
  26. data/lib/groupdocs_conversion_cloud/models/dng_convert_options.rb +0 -468
  27. data/lib/groupdocs_conversion_cloud/models/doc_convert_options.rb +0 -440
  28. data/lib/groupdocs_conversion_cloud/models/docm_convert_options.rb +0 -440
  29. data/lib/groupdocs_conversion_cloud/models/docx_convert_options.rb +0 -440
  30. data/lib/groupdocs_conversion_cloud/models/dot_convert_options.rb +0 -440
  31. data/lib/groupdocs_conversion_cloud/models/dotm_convert_options.rb +0 -440
  32. data/lib/groupdocs_conversion_cloud/models/dotx_convert_options.rb +0 -440
  33. data/lib/groupdocs_conversion_cloud/models/emf_convert_options.rb +0 -468
  34. data/lib/groupdocs_conversion_cloud/models/gif_convert_options.rb +0 -468
  35. data/lib/groupdocs_conversion_cloud/models/ico_convert_options.rb +0 -468
  36. data/lib/groupdocs_conversion_cloud/models/j2c_convert_options.rb +0 -483
  37. data/lib/groupdocs_conversion_cloud/models/j2k_convert_options.rb +0 -483
  38. data/lib/groupdocs_conversion_cloud/models/jp2_convert_options.rb +0 -483
  39. data/lib/groupdocs_conversion_cloud/models/jpeg_convert_options.rb +0 -483
  40. data/lib/groupdocs_conversion_cloud/models/jpf_convert_options.rb +0 -483
  41. data/lib/groupdocs_conversion_cloud/models/jpm_convert_options.rb +0 -483
  42. data/lib/groupdocs_conversion_cloud/models/jpx_convert_options.rb +0 -483
  43. data/lib/groupdocs_conversion_cloud/models/odg_convert_options.rb +0 -468
  44. data/lib/groupdocs_conversion_cloud/models/ods_convert_options.rb +0 -296
  45. data/lib/groupdocs_conversion_cloud/models/odt_convert_options.rb +0 -440
  46. data/lib/groupdocs_conversion_cloud/models/ots_convert_options.rb +0 -296
  47. data/lib/groupdocs_conversion_cloud/models/ott_convert_options.rb +0 -440
  48. data/lib/groupdocs_conversion_cloud/models/png_convert_options.rb +0 -468
  49. data/lib/groupdocs_conversion_cloud/models/potx_convert_options.rb +0 -281
  50. data/lib/groupdocs_conversion_cloud/models/ppsm_convert_options.rb +0 -281
  51. data/lib/groupdocs_conversion_cloud/models/ppsx_convert_options.rb +0 -281
  52. data/lib/groupdocs_conversion_cloud/models/pptm_convert_options.rb +0 -281
  53. data/lib/groupdocs_conversion_cloud/models/pptx_convert_options.rb +0 -281
  54. data/lib/groupdocs_conversion_cloud/models/tif_convert_options.rb +0 -494
  55. data/lib/groupdocs_conversion_cloud/models/wmf_convert_options.rb +0 -468
  56. data/lib/groupdocs_conversion_cloud/models/xls2003_convert_options.rb +0 -296
  57. data/lib/groupdocs_conversion_cloud/models/xls_convert_options.rb +0 -296
  58. data/lib/groupdocs_conversion_cloud/models/xlsb_convert_options.rb +0 -296
  59. data/lib/groupdocs_conversion_cloud/models/xlsm_convert_options.rb +0 -296
  60. data/lib/groupdocs_conversion_cloud/models/xlsx_convert_options.rb +0 -296
  61. data/lib/groupdocs_conversion_cloud/models/xltm_convert_options.rb +0 -296
  62. data/lib/groupdocs_conversion_cloud/models/xltx_convert_options.rb +0 -296
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dca78fab814347fd9ce87445fe6b5ecd8c0220369c7b644c1c74b32b7f44b6f3
4
- data.tar.gz: 8c16c60d1be54aee9c12724211b7b22c53f4e4d4d70407cc69ecff0f2560ea79
3
+ metadata.gz: 9b1ed8cd55ca604107efc20ba226287a4c5fe66b839dfefd32d56ab6f714c6cf
4
+ data.tar.gz: 19e573ad7da6438550d30e0f045f66cdf229c099b9d3b9300c591157227cab4d
5
5
  SHA512:
6
- metadata.gz: 84ca6325318d6adbfa1a9476aa911beb4b22586a32b8dc3aa6784cd1ef76651fca4248c5ecbba0c72b3882543ba2cf92cade7a98f55585a3a7e30c8ab91d2862
7
- data.tar.gz: 3fae745f9f38d4911c5b8a43113d88d68a2e8c06d980737c903b2c6acf45fa47eb736a8562e2c383bdcfe799d30b902aba2d59b8549aa600d90100fb3eff9091
6
+ metadata.gz: ef40dd950a0173af03fe06c468b0d088ee70b507dbad85e6eb615ac860e12cce20605e83bc5da541dd25b5a67baa145bd59a79086b4bd460f1ce988dd3980142
7
+ data.tar.gz: a8e52cb7f91b612f8b2f1ed05c9c9acc4b8765fb4f66df89c53ee27b5d162fe14e6e5023ded842160450f0db8f589383088a83b86300e961c5f0436e701557d7
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
- # <copyright company="Aspose Pty Ltd" file="tsv_convert_options.rb">
3
+ # <copyright company="Aspose Pty Ltd" file="cad_convert_options.rb">
4
4
  # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
@@ -28,8 +28,8 @@
28
28
  require 'date'
29
29
 
30
30
  module GroupDocsConversionCloud
31
- # Tsv convert options
32
- class TsvConvertOptions
31
+ # Options for to Cad conversion
32
+ class CadConvertOptions
33
33
 
34
34
  # Start conversion from FromPage page
35
35
  attr_accessor :from_page
@@ -43,14 +43,35 @@ module GroupDocsConversionCloud
43
43
  # Watermark specific options
44
44
  attr_accessor :watermark_options
45
45
 
46
- # Set this property if you want to protect the converted document with a password
47
- attr_accessor :password
48
-
49
- # Specifies the zoom level in percentage. Default is 100.
50
- attr_accessor :zoom
46
+ # Desired page width after conversion
47
+ attr_accessor :width
48
+
49
+ # Desired page height after conversion
50
+ attr_accessor :height
51
+
52
+ # Page size
53
+ attr_accessor :page_size
54
+ class EnumAttributeValidator
55
+ attr_reader :datatype
56
+ attr_reader :allowable_values
57
+
58
+ def initialize(datatype, allowable_values)
59
+ @allowable_values = allowable_values.map do |value|
60
+ case datatype.to_s
61
+ when /Integer/i
62
+ value.to_i
63
+ when /Float/i
64
+ value.to_f
65
+ else
66
+ value
67
+ end
68
+ end
69
+ end
51
70
 
52
- # If true, the input firstly is converted to PDF and after that to desired format
53
- attr_accessor :use_pdf
71
+ def valid?(value)
72
+ !value || allowable_values.include?(value)
73
+ end
74
+ end
54
75
 
55
76
  # Attribute mapping from ruby-style variable name to JSON key.
56
77
  def self.attribute_map
@@ -59,9 +80,9 @@ module GroupDocsConversionCloud
59
80
  :'pages_count' => :'PagesCount',
60
81
  :'pages' => :'Pages',
61
82
  :'watermark_options' => :'WatermarkOptions',
62
- :'password' => :'Password',
63
- :'zoom' => :'Zoom',
64
- :'use_pdf' => :'UsePdf'
83
+ :'width' => :'Width',
84
+ :'height' => :'Height',
85
+ :'page_size' => :'PageSize'
65
86
  }
66
87
  end
67
88
 
@@ -72,9 +93,9 @@ module GroupDocsConversionCloud
72
93
  :'pages_count' => :'Integer',
73
94
  :'pages' => :'Array<Integer>',
74
95
  :'watermark_options' => :'WatermarkOptions',
75
- :'password' => :'String',
76
- :'zoom' => :'Integer',
77
- :'use_pdf' => :'BOOLEAN'
96
+ :'width' => :'Integer',
97
+ :'height' => :'Integer',
98
+ :'page_size' => :'String'
78
99
  }
79
100
  end
80
101
 
@@ -104,16 +125,16 @@ module GroupDocsConversionCloud
104
125
  self.watermark_options = attributes[:'WatermarkOptions']
105
126
  end
106
127
 
107
- if attributes.key?(:'Password')
108
- self.password = attributes[:'Password']
128
+ if attributes.key?(:'Width')
129
+ self.width = attributes[:'Width']
109
130
  end
110
131
 
111
- if attributes.key?(:'Zoom')
112
- self.zoom = attributes[:'Zoom']
132
+ if attributes.key?(:'Height')
133
+ self.height = attributes[:'Height']
113
134
  end
114
135
 
115
- if attributes.key?(:'UsePdf')
116
- self.use_pdf = attributes[:'UsePdf']
136
+ if attributes.key?(:'PageSize')
137
+ self.page_size = attributes[:'PageSize']
117
138
  end
118
139
 
119
140
  end
@@ -130,12 +151,16 @@ module GroupDocsConversionCloud
130
151
  invalid_properties.push("invalid value for 'pages_count', pages_count cannot be nil.")
131
152
  end
132
153
 
133
- if @zoom.nil?
134
- invalid_properties.push("invalid value for 'zoom', zoom cannot be nil.")
154
+ if @width.nil?
155
+ invalid_properties.push("invalid value for 'width', width cannot be nil.")
135
156
  end
136
157
 
137
- if @use_pdf.nil?
138
- invalid_properties.push("invalid value for 'use_pdf', use_pdf cannot be nil.")
158
+ if @height.nil?
159
+ invalid_properties.push("invalid value for 'height', height cannot be nil.")
160
+ end
161
+
162
+ if @page_size.nil?
163
+ invalid_properties.push("invalid value for 'page_size', page_size cannot be nil.")
139
164
  end
140
165
 
141
166
  return invalid_properties
@@ -146,11 +171,28 @@ module GroupDocsConversionCloud
146
171
  def valid?
147
172
  return false if @from_page.nil?
148
173
  return false if @pages_count.nil?
149
- return false if @zoom.nil?
150
- return false if @use_pdf.nil?
174
+ return false if @width.nil?
175
+ return false if @height.nil?
176
+ return false if @page_size.nil?
177
+ page_size_validator = EnumAttributeValidator.new('String', ["Default", "A3", "Statement", "Quarto", "Paper11x17", "Paper10x14", "Letter", "Legal", "Ledger", "Folio", "Executive", "EnvelopeDL", "Custom", "B5", "B4", "A5", "A4", "Tabloid"])
178
+ return false unless page_size_validator.valid?(@page_size)
151
179
  return true
152
180
  end
153
181
 
182
+ # Custom attribute writer method checking allowed values (enum).
183
+ # @param [Object] page_size Object to be assigned
184
+ def page_size=(page_size)
185
+ validator = EnumAttributeValidator.new('String', ["Default", "A3", "Statement", "Quarto", "Paper11x17", "Paper10x14", "Letter", "Legal", "Ledger", "Folio", "Executive", "EnvelopeDL", "Custom", "B5", "B4", "A5", "A4", "Tabloid"])
186
+ if page_size.to_i == 0
187
+ unless validator.valid?(page_size)
188
+ raise ArgumentError, "invalid value for 'page_size', must be one of #{validator.allowable_values}."
189
+ end
190
+ @page_size = page_size
191
+ else
192
+ @page_size = validator.allowable_values[page_size.to_i]
193
+ end
194
+ end
195
+
154
196
  # Checks equality by comparing each attribute.
155
197
  # @param [Object] Object to be compared
156
198
  def ==(other)
@@ -160,9 +202,9 @@ module GroupDocsConversionCloud
160
202
  pages_count == other.pages_count &&
161
203
  pages == other.pages &&
162
204
  watermark_options == other.watermark_options &&
163
- password == other.password &&
164
- zoom == other.zoom &&
165
- use_pdf == other.use_pdf
205
+ width == other.width &&
206
+ height == other.height &&
207
+ page_size == other.page_size
166
208
  end
167
209
 
168
210
  # @see the `==` method
@@ -174,7 +216,7 @@ module GroupDocsConversionCloud
174
216
  # Calculates hash code according to all attributes.
175
217
  # @return [Fixnum] Hash code
176
218
  def hash
177
- [from_page, pages_count, pages, watermark_options, password, zoom, use_pdf].hash
219
+ [from_page, pages_count, pages, watermark_options, width, height, page_size].hash
178
220
  end
179
221
 
180
222
  # Downcases first letter.
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
- # <copyright company="Aspose Pty Ltd" file="pps_convert_options.rb">
3
+ # <copyright company="Aspose Pty Ltd" file="compression_convert_options.rb">
4
4
  # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
@@ -28,8 +28,8 @@
28
28
  require 'date'
29
29
 
30
30
  module GroupDocsConversionCloud
31
- # Pps convert options
32
- class PpsConvertOptions
31
+ # Options for to zip conversion
32
+ class CompressionConvertOptions
33
33
 
34
34
  # Start conversion from FromPage page
35
35
  attr_accessor :from_page
@@ -46,9 +46,6 @@ module GroupDocsConversionCloud
46
46
  # Set this property if you want to protect the converted document with a password
47
47
  attr_accessor :password
48
48
 
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.
50
- attr_accessor :zoom
51
-
52
49
  # Attribute mapping from ruby-style variable name to JSON key.
53
50
  def self.attribute_map
54
51
  {
@@ -56,8 +53,7 @@ module GroupDocsConversionCloud
56
53
  :'pages_count' => :'PagesCount',
57
54
  :'pages' => :'Pages',
58
55
  :'watermark_options' => :'WatermarkOptions',
59
- :'password' => :'Password',
60
- :'zoom' => :'Zoom'
56
+ :'password' => :'Password'
61
57
  }
62
58
  end
63
59
 
@@ -68,8 +64,7 @@ module GroupDocsConversionCloud
68
64
  :'pages_count' => :'Integer',
69
65
  :'pages' => :'Array<Integer>',
70
66
  :'watermark_options' => :'WatermarkOptions',
71
- :'password' => :'String',
72
- :'zoom' => :'Integer'
67
+ :'password' => :'String'
73
68
  }
74
69
  end
75
70
 
@@ -103,10 +98,6 @@ module GroupDocsConversionCloud
103
98
  self.password = attributes[:'Password']
104
99
  end
105
100
 
106
- if attributes.key?(:'Zoom')
107
- self.zoom = attributes[:'Zoom']
108
- end
109
-
110
101
  end
111
102
 
112
103
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -121,10 +112,6 @@ module GroupDocsConversionCloud
121
112
  invalid_properties.push("invalid value for 'pages_count', pages_count cannot be nil.")
122
113
  end
123
114
 
124
- if @zoom.nil?
125
- invalid_properties.push("invalid value for 'zoom', zoom cannot be nil.")
126
- end
127
-
128
115
  return invalid_properties
129
116
  end
130
117
 
@@ -133,7 +120,6 @@ module GroupDocsConversionCloud
133
120
  def valid?
134
121
  return false if @from_page.nil?
135
122
  return false if @pages_count.nil?
136
- return false if @zoom.nil?
137
123
  return true
138
124
  end
139
125
 
@@ -146,8 +132,7 @@ module GroupDocsConversionCloud
146
132
  pages_count == other.pages_count &&
147
133
  pages == other.pages &&
148
134
  watermark_options == other.watermark_options &&
149
- password == other.password &&
150
- zoom == other.zoom
135
+ password == other.password
151
136
  end
152
137
 
153
138
  # @see the `==` method
@@ -159,7 +144,7 @@ module GroupDocsConversionCloud
159
144
  # Calculates hash code according to all attributes.
160
145
  # @return [Fixnum] Hash code
161
146
  def hash
162
- [from_page, pages_count, pages, watermark_options, password, zoom].hash
147
+ [from_page, pages_count, pages, watermark_options, password].hash
163
148
  end
164
149
 
165
150
  # Downcases first letter.
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
- # <copyright company="Aspose Pty Ltd" file="odp_convert_options.rb">
3
+ # <copyright company="Aspose Pty Ltd" file="diagram_convert_options.rb">
4
4
  # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
@@ -28,8 +28,8 @@
28
28
  require 'date'
29
29
 
30
30
  module GroupDocsConversionCloud
31
- # Odp convert options
32
- class OdpConvertOptions
31
+ # Options for to Diagram conversion
32
+ class DiagramConvertOptions
33
33
 
34
34
  # Start conversion from FromPage page
35
35
  attr_accessor :from_page
@@ -43,11 +43,8 @@ module GroupDocsConversionCloud
43
43
  # Watermark specific options
44
44
  attr_accessor :watermark_options
45
45
 
46
- # Set this property if you want to protect the converted document with a password
47
- attr_accessor :password
48
-
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.
50
- attr_accessor :zoom
46
+ # Gets or sets a value indicating whether to enlarge the page to fit the drawing content.
47
+ attr_accessor :auto_fit_page_to_drawing_content
51
48
 
52
49
  # Attribute mapping from ruby-style variable name to JSON key.
53
50
  def self.attribute_map
@@ -56,8 +53,7 @@ module GroupDocsConversionCloud
56
53
  :'pages_count' => :'PagesCount',
57
54
  :'pages' => :'Pages',
58
55
  :'watermark_options' => :'WatermarkOptions',
59
- :'password' => :'Password',
60
- :'zoom' => :'Zoom'
56
+ :'auto_fit_page_to_drawing_content' => :'AutoFitPageToDrawingContent'
61
57
  }
62
58
  end
63
59
 
@@ -68,8 +64,7 @@ module GroupDocsConversionCloud
68
64
  :'pages_count' => :'Integer',
69
65
  :'pages' => :'Array<Integer>',
70
66
  :'watermark_options' => :'WatermarkOptions',
71
- :'password' => :'String',
72
- :'zoom' => :'Integer'
67
+ :'auto_fit_page_to_drawing_content' => :'BOOLEAN'
73
68
  }
74
69
  end
75
70
 
@@ -99,12 +94,8 @@ module GroupDocsConversionCloud
99
94
  self.watermark_options = attributes[:'WatermarkOptions']
100
95
  end
101
96
 
102
- if attributes.key?(:'Password')
103
- self.password = attributes[:'Password']
104
- end
105
-
106
- if attributes.key?(:'Zoom')
107
- self.zoom = attributes[:'Zoom']
97
+ if attributes.key?(:'AutoFitPageToDrawingContent')
98
+ self.auto_fit_page_to_drawing_content = attributes[:'AutoFitPageToDrawingContent']
108
99
  end
109
100
 
110
101
  end
@@ -121,8 +112,8 @@ module GroupDocsConversionCloud
121
112
  invalid_properties.push("invalid value for 'pages_count', pages_count cannot be nil.")
122
113
  end
123
114
 
124
- if @zoom.nil?
125
- invalid_properties.push("invalid value for 'zoom', zoom cannot be nil.")
115
+ if @auto_fit_page_to_drawing_content.nil?
116
+ invalid_properties.push("invalid value for 'auto_fit_page_to_drawing_content', auto_fit_page_to_drawing_content cannot be nil.")
126
117
  end
127
118
 
128
119
  return invalid_properties
@@ -133,7 +124,7 @@ module GroupDocsConversionCloud
133
124
  def valid?
134
125
  return false if @from_page.nil?
135
126
  return false if @pages_count.nil?
136
- return false if @zoom.nil?
127
+ return false if @auto_fit_page_to_drawing_content.nil?
137
128
  return true
138
129
  end
139
130
 
@@ -146,8 +137,7 @@ module GroupDocsConversionCloud
146
137
  pages_count == other.pages_count &&
147
138
  pages == other.pages &&
148
139
  watermark_options == other.watermark_options &&
149
- password == other.password &&
150
- zoom == other.zoom
140
+ auto_fit_page_to_drawing_content == other.auto_fit_page_to_drawing_content
151
141
  end
152
142
 
153
143
  # @see the `==` method
@@ -159,7 +149,7 @@ module GroupDocsConversionCloud
159
149
  # Calculates hash code according to all attributes.
160
150
  # @return [Fixnum] Hash code
161
151
  def hash
162
- [from_page, pages_count, pages, watermark_options, password, zoom].hash
152
+ [from_page, pages_count, pages, watermark_options, auto_fit_page_to_drawing_content].hash
163
153
  end
164
154
 
165
155
  # Downcases first letter.
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
- # <copyright company="Aspose Pty Ltd" file="otp_convert_options.rb">
3
+ # <copyright company="Aspose Pty Ltd" file="email_convert_options.rb">
4
4
  # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
@@ -28,8 +28,8 @@
28
28
  require 'date'
29
29
 
30
30
  module GroupDocsConversionCloud
31
- # Otp convert options
32
- class OtpConvertOptions
31
+ # Options for to Email conversion
32
+ class EmailConvertOptions
33
33
 
34
34
  # Start conversion from FromPage page
35
35
  attr_accessor :from_page
@@ -43,21 +43,13 @@ module GroupDocsConversionCloud
43
43
  # Watermark specific options
44
44
  attr_accessor :watermark_options
45
45
 
46
- # Set this property if you want to protect the converted document with a password
47
- attr_accessor :password
48
-
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.
50
- attr_accessor :zoom
51
-
52
46
  # Attribute mapping from ruby-style variable name to JSON key.
53
47
  def self.attribute_map
54
48
  {
55
49
  :'from_page' => :'FromPage',
56
50
  :'pages_count' => :'PagesCount',
57
51
  :'pages' => :'Pages',
58
- :'watermark_options' => :'WatermarkOptions',
59
- :'password' => :'Password',
60
- :'zoom' => :'Zoom'
52
+ :'watermark_options' => :'WatermarkOptions'
61
53
  }
62
54
  end
63
55
 
@@ -67,9 +59,7 @@ module GroupDocsConversionCloud
67
59
  :'from_page' => :'Integer',
68
60
  :'pages_count' => :'Integer',
69
61
  :'pages' => :'Array<Integer>',
70
- :'watermark_options' => :'WatermarkOptions',
71
- :'password' => :'String',
72
- :'zoom' => :'Integer'
62
+ :'watermark_options' => :'WatermarkOptions'
73
63
  }
74
64
  end
75
65
 
@@ -99,14 +89,6 @@ module GroupDocsConversionCloud
99
89
  self.watermark_options = attributes[:'WatermarkOptions']
100
90
  end
101
91
 
102
- if attributes.key?(:'Password')
103
- self.password = attributes[:'Password']
104
- end
105
-
106
- if attributes.key?(:'Zoom')
107
- self.zoom = attributes[:'Zoom']
108
- end
109
-
110
92
  end
111
93
 
112
94
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -121,10 +103,6 @@ module GroupDocsConversionCloud
121
103
  invalid_properties.push("invalid value for 'pages_count', pages_count cannot be nil.")
122
104
  end
123
105
 
124
- if @zoom.nil?
125
- invalid_properties.push("invalid value for 'zoom', zoom cannot be nil.")
126
- end
127
-
128
106
  return invalid_properties
129
107
  end
130
108
 
@@ -133,7 +111,6 @@ module GroupDocsConversionCloud
133
111
  def valid?
134
112
  return false if @from_page.nil?
135
113
  return false if @pages_count.nil?
136
- return false if @zoom.nil?
137
114
  return true
138
115
  end
139
116
 
@@ -145,9 +122,7 @@ module GroupDocsConversionCloud
145
122
  from_page == other.from_page &&
146
123
  pages_count == other.pages_count &&
147
124
  pages == other.pages &&
148
- watermark_options == other.watermark_options &&
149
- password == other.password &&
150
- zoom == other.zoom
125
+ watermark_options == other.watermark_options
151
126
  end
152
127
 
153
128
  # @see the `==` method
@@ -159,7 +134,7 @@ module GroupDocsConversionCloud
159
134
  # Calculates hash code according to all attributes.
160
135
  # @return [Fixnum] Hash code
161
136
  def hash
162
- [from_page, pages_count, pages, watermark_options, password, zoom].hash
137
+ [from_page, pages_count, pages, watermark_options].hash
163
138
  end
164
139
 
165
140
  # Downcases first letter.
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
- # <copyright company="Aspose Pty Ltd" file="ppt_convert_options.rb">
3
+ # <copyright company="Aspose Pty Ltd" file="finance_convert_options.rb">
4
4
  # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
@@ -28,8 +28,8 @@
28
28
  require 'date'
29
29
 
30
30
  module GroupDocsConversionCloud
31
- # Ppt convert options
32
- class PptConvertOptions
31
+ # Options for to Finance conversion
32
+ class FinanceConvertOptions
33
33
 
34
34
  # Start conversion from FromPage page
35
35
  attr_accessor :from_page
@@ -43,21 +43,13 @@ module GroupDocsConversionCloud
43
43
  # Watermark specific options
44
44
  attr_accessor :watermark_options
45
45
 
46
- # Set this property if you want to protect the converted document with a password
47
- attr_accessor :password
48
-
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.
50
- attr_accessor :zoom
51
-
52
46
  # Attribute mapping from ruby-style variable name to JSON key.
53
47
  def self.attribute_map
54
48
  {
55
49
  :'from_page' => :'FromPage',
56
50
  :'pages_count' => :'PagesCount',
57
51
  :'pages' => :'Pages',
58
- :'watermark_options' => :'WatermarkOptions',
59
- :'password' => :'Password',
60
- :'zoom' => :'Zoom'
52
+ :'watermark_options' => :'WatermarkOptions'
61
53
  }
62
54
  end
63
55
 
@@ -67,9 +59,7 @@ module GroupDocsConversionCloud
67
59
  :'from_page' => :'Integer',
68
60
  :'pages_count' => :'Integer',
69
61
  :'pages' => :'Array<Integer>',
70
- :'watermark_options' => :'WatermarkOptions',
71
- :'password' => :'String',
72
- :'zoom' => :'Integer'
62
+ :'watermark_options' => :'WatermarkOptions'
73
63
  }
74
64
  end
75
65
 
@@ -99,14 +89,6 @@ module GroupDocsConversionCloud
99
89
  self.watermark_options = attributes[:'WatermarkOptions']
100
90
  end
101
91
 
102
- if attributes.key?(:'Password')
103
- self.password = attributes[:'Password']
104
- end
105
-
106
- if attributes.key?(:'Zoom')
107
- self.zoom = attributes[:'Zoom']
108
- end
109
-
110
92
  end
111
93
 
112
94
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -121,10 +103,6 @@ module GroupDocsConversionCloud
121
103
  invalid_properties.push("invalid value for 'pages_count', pages_count cannot be nil.")
122
104
  end
123
105
 
124
- if @zoom.nil?
125
- invalid_properties.push("invalid value for 'zoom', zoom cannot be nil.")
126
- end
127
-
128
106
  return invalid_properties
129
107
  end
130
108
 
@@ -133,7 +111,6 @@ module GroupDocsConversionCloud
133
111
  def valid?
134
112
  return false if @from_page.nil?
135
113
  return false if @pages_count.nil?
136
- return false if @zoom.nil?
137
114
  return true
138
115
  end
139
116
 
@@ -145,9 +122,7 @@ module GroupDocsConversionCloud
145
122
  from_page == other.from_page &&
146
123
  pages_count == other.pages_count &&
147
124
  pages == other.pages &&
148
- watermark_options == other.watermark_options &&
149
- password == other.password &&
150
- zoom == other.zoom
125
+ watermark_options == other.watermark_options
151
126
  end
152
127
 
153
128
  # @see the `==` method
@@ -159,7 +134,7 @@ module GroupDocsConversionCloud
159
134
  # Calculates hash code according to all attributes.
160
135
  # @return [Fixnum] Hash code
161
136
  def hash
162
- [from_page, pages_count, pages, watermark_options, password, zoom].hash
137
+ [from_page, pages_count, pages, watermark_options].hash
163
138
  end
164
139
 
165
140
  # Downcases first letter.