groupdocs_conversion_cloud 21.4 → 21.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -58,6 +58,30 @@ module GroupDocsConversionCloud
58
58
  # Watermark specific options
59
59
  attr_accessor :watermark_options
60
60
 
61
+ # Recognition mode when converting from pdf
62
+ attr_accessor :pdf_recognition_mode
63
+ class EnumAttributeValidator
64
+ attr_reader :datatype
65
+ attr_reader :allowable_values
66
+
67
+ def initialize(datatype, allowable_values)
68
+ @allowable_values = allowable_values.map do |value|
69
+ case datatype.to_s
70
+ when /Integer/i
71
+ value.to_i
72
+ when /Float/i
73
+ value.to_f
74
+ else
75
+ value
76
+ end
77
+ end
78
+ end
79
+
80
+ def valid?(value)
81
+ !value || allowable_values.include?(value)
82
+ end
83
+ end
84
+
61
85
  # Attribute mapping from ruby-style variable name to JSON key.
62
86
  def self.attribute_map
63
87
  {
@@ -69,7 +93,8 @@ module GroupDocsConversionCloud
69
93
  :'dpi' => :'Dpi',
70
94
  :'password' => :'Password',
71
95
  :'zoom' => :'Zoom',
72
- :'watermark_options' => :'WatermarkOptions'
96
+ :'watermark_options' => :'WatermarkOptions',
97
+ :'pdf_recognition_mode' => :'PdfRecognitionMode'
73
98
  }
74
99
  end
75
100
 
@@ -84,7 +109,8 @@ module GroupDocsConversionCloud
84
109
  :'dpi' => :'Float',
85
110
  :'password' => :'String',
86
111
  :'zoom' => :'Integer',
87
- :'watermark_options' => :'WatermarkOptions'
112
+ :'watermark_options' => :'WatermarkOptions',
113
+ :'pdf_recognition_mode' => :'String'
88
114
  }
89
115
  end
90
116
 
@@ -134,6 +160,10 @@ module GroupDocsConversionCloud
134
160
  self.watermark_options = attributes[:'WatermarkOptions']
135
161
  end
136
162
 
163
+ if attributes.key?(:'PdfRecognitionMode')
164
+ self.pdf_recognition_mode = attributes[:'PdfRecognitionMode']
165
+ end
166
+
137
167
  end
138
168
 
139
169
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -164,6 +194,10 @@ module GroupDocsConversionCloud
164
194
  invalid_properties.push("invalid value for 'zoom', zoom cannot be nil.")
165
195
  end
166
196
 
197
+ if @pdf_recognition_mode.nil?
198
+ invalid_properties.push("invalid value for 'pdf_recognition_mode', pdf_recognition_mode cannot be nil.")
199
+ end
200
+
167
201
  return invalid_properties
168
202
  end
169
203
 
@@ -176,9 +210,26 @@ module GroupDocsConversionCloud
176
210
  return false if @height.nil?
177
211
  return false if @dpi.nil?
178
212
  return false if @zoom.nil?
213
+ return false if @pdf_recognition_mode.nil?
214
+ pdf_recognition_mode_validator = EnumAttributeValidator.new('String', ["Textbox", "Flow"])
215
+ return false unless pdf_recognition_mode_validator.valid?(@pdf_recognition_mode)
179
216
  return true
180
217
  end
181
218
 
219
+ # Custom attribute writer method checking allowed values (enum).
220
+ # @param [Object] pdf_recognition_mode Object to be assigned
221
+ def pdf_recognition_mode=(pdf_recognition_mode)
222
+ validator = EnumAttributeValidator.new('String', ["Textbox", "Flow"])
223
+ if pdf_recognition_mode.to_i == 0
224
+ unless validator.valid?(pdf_recognition_mode)
225
+ raise ArgumentError, "invalid value for 'pdf_recognition_mode', must be one of #{validator.allowable_values}."
226
+ end
227
+ @pdf_recognition_mode = pdf_recognition_mode
228
+ else
229
+ @pdf_recognition_mode = validator.allowable_values[pdf_recognition_mode.to_i]
230
+ end
231
+ end
232
+
182
233
  # Checks equality by comparing each attribute.
183
234
  # @param [Object] Object to be compared
184
235
  def ==(other)
@@ -192,7 +243,8 @@ module GroupDocsConversionCloud
192
243
  dpi == other.dpi &&
193
244
  password == other.password &&
194
245
  zoom == other.zoom &&
195
- watermark_options == other.watermark_options
246
+ watermark_options == other.watermark_options &&
247
+ pdf_recognition_mode == other.pdf_recognition_mode
196
248
  end
197
249
 
198
250
  # @see the `==` method
@@ -204,7 +256,7 @@ module GroupDocsConversionCloud
204
256
  # Calculates hash code according to all attributes.
205
257
  # @return [Fixnum] Hash code
206
258
  def hash
207
- [from_page, pages_count, pages, width, height, dpi, password, zoom, watermark_options].hash
259
+ [from_page, pages_count, pages, width, height, dpi, password, zoom, watermark_options, pdf_recognition_mode].hash
208
260
  end
209
261
 
210
262
  # Downcases first letter.
@@ -58,6 +58,30 @@ module GroupDocsConversionCloud
58
58
  # Watermark specific options
59
59
  attr_accessor :watermark_options
60
60
 
61
+ # Recognition mode when converting from pdf
62
+ attr_accessor :pdf_recognition_mode
63
+ class EnumAttributeValidator
64
+ attr_reader :datatype
65
+ attr_reader :allowable_values
66
+
67
+ def initialize(datatype, allowable_values)
68
+ @allowable_values = allowable_values.map do |value|
69
+ case datatype.to_s
70
+ when /Integer/i
71
+ value.to_i
72
+ when /Float/i
73
+ value.to_f
74
+ else
75
+ value
76
+ end
77
+ end
78
+ end
79
+
80
+ def valid?(value)
81
+ !value || allowable_values.include?(value)
82
+ end
83
+ end
84
+
61
85
  # Attribute mapping from ruby-style variable name to JSON key.
62
86
  def self.attribute_map
63
87
  {
@@ -69,7 +93,8 @@ module GroupDocsConversionCloud
69
93
  :'dpi' => :'Dpi',
70
94
  :'password' => :'Password',
71
95
  :'zoom' => :'Zoom',
72
- :'watermark_options' => :'WatermarkOptions'
96
+ :'watermark_options' => :'WatermarkOptions',
97
+ :'pdf_recognition_mode' => :'PdfRecognitionMode'
73
98
  }
74
99
  end
75
100
 
@@ -84,7 +109,8 @@ module GroupDocsConversionCloud
84
109
  :'dpi' => :'Float',
85
110
  :'password' => :'String',
86
111
  :'zoom' => :'Integer',
87
- :'watermark_options' => :'WatermarkOptions'
112
+ :'watermark_options' => :'WatermarkOptions',
113
+ :'pdf_recognition_mode' => :'String'
88
114
  }
89
115
  end
90
116
 
@@ -134,6 +160,10 @@ module GroupDocsConversionCloud
134
160
  self.watermark_options = attributes[:'WatermarkOptions']
135
161
  end
136
162
 
163
+ if attributes.key?(:'PdfRecognitionMode')
164
+ self.pdf_recognition_mode = attributes[:'PdfRecognitionMode']
165
+ end
166
+
137
167
  end
138
168
 
139
169
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -164,6 +194,10 @@ module GroupDocsConversionCloud
164
194
  invalid_properties.push("invalid value for 'zoom', zoom cannot be nil.")
165
195
  end
166
196
 
197
+ if @pdf_recognition_mode.nil?
198
+ invalid_properties.push("invalid value for 'pdf_recognition_mode', pdf_recognition_mode cannot be nil.")
199
+ end
200
+
167
201
  return invalid_properties
168
202
  end
169
203
 
@@ -176,9 +210,26 @@ module GroupDocsConversionCloud
176
210
  return false if @height.nil?
177
211
  return false if @dpi.nil?
178
212
  return false if @zoom.nil?
213
+ return false if @pdf_recognition_mode.nil?
214
+ pdf_recognition_mode_validator = EnumAttributeValidator.new('String', ["Textbox", "Flow"])
215
+ return false unless pdf_recognition_mode_validator.valid?(@pdf_recognition_mode)
179
216
  return true
180
217
  end
181
218
 
219
+ # Custom attribute writer method checking allowed values (enum).
220
+ # @param [Object] pdf_recognition_mode Object to be assigned
221
+ def pdf_recognition_mode=(pdf_recognition_mode)
222
+ validator = EnumAttributeValidator.new('String', ["Textbox", "Flow"])
223
+ if pdf_recognition_mode.to_i == 0
224
+ unless validator.valid?(pdf_recognition_mode)
225
+ raise ArgumentError, "invalid value for 'pdf_recognition_mode', must be one of #{validator.allowable_values}."
226
+ end
227
+ @pdf_recognition_mode = pdf_recognition_mode
228
+ else
229
+ @pdf_recognition_mode = validator.allowable_values[pdf_recognition_mode.to_i]
230
+ end
231
+ end
232
+
182
233
  # Checks equality by comparing each attribute.
183
234
  # @param [Object] Object to be compared
184
235
  def ==(other)
@@ -192,7 +243,8 @@ module GroupDocsConversionCloud
192
243
  dpi == other.dpi &&
193
244
  password == other.password &&
194
245
  zoom == other.zoom &&
195
- watermark_options == other.watermark_options
246
+ watermark_options == other.watermark_options &&
247
+ pdf_recognition_mode == other.pdf_recognition_mode
196
248
  end
197
249
 
198
250
  # @see the `==` method
@@ -204,7 +256,7 @@ module GroupDocsConversionCloud
204
256
  # Calculates hash code according to all attributes.
205
257
  # @return [Fixnum] Hash code
206
258
  def hash
207
- [from_page, pages_count, pages, width, height, dpi, password, zoom, watermark_options].hash
259
+ [from_page, pages_count, pages, width, height, dpi, password, zoom, watermark_options, pdf_recognition_mode].hash
208
260
  end
209
261
 
210
262
  # Downcases first letter.
@@ -58,6 +58,30 @@ module GroupDocsConversionCloud
58
58
  # Watermark specific options
59
59
  attr_accessor :watermark_options
60
60
 
61
+ # Recognition mode when converting from pdf
62
+ attr_accessor :pdf_recognition_mode
63
+ class EnumAttributeValidator
64
+ attr_reader :datatype
65
+ attr_reader :allowable_values
66
+
67
+ def initialize(datatype, allowable_values)
68
+ @allowable_values = allowable_values.map do |value|
69
+ case datatype.to_s
70
+ when /Integer/i
71
+ value.to_i
72
+ when /Float/i
73
+ value.to_f
74
+ else
75
+ value
76
+ end
77
+ end
78
+ end
79
+
80
+ def valid?(value)
81
+ !value || allowable_values.include?(value)
82
+ end
83
+ end
84
+
61
85
  # Attribute mapping from ruby-style variable name to JSON key.
62
86
  def self.attribute_map
63
87
  {
@@ -69,7 +93,8 @@ module GroupDocsConversionCloud
69
93
  :'dpi' => :'Dpi',
70
94
  :'password' => :'Password',
71
95
  :'zoom' => :'Zoom',
72
- :'watermark_options' => :'WatermarkOptions'
96
+ :'watermark_options' => :'WatermarkOptions',
97
+ :'pdf_recognition_mode' => :'PdfRecognitionMode'
73
98
  }
74
99
  end
75
100
 
@@ -84,7 +109,8 @@ module GroupDocsConversionCloud
84
109
  :'dpi' => :'Float',
85
110
  :'password' => :'String',
86
111
  :'zoom' => :'Integer',
87
- :'watermark_options' => :'WatermarkOptions'
112
+ :'watermark_options' => :'WatermarkOptions',
113
+ :'pdf_recognition_mode' => :'String'
88
114
  }
89
115
  end
90
116
 
@@ -134,6 +160,10 @@ module GroupDocsConversionCloud
134
160
  self.watermark_options = attributes[:'WatermarkOptions']
135
161
  end
136
162
 
163
+ if attributes.key?(:'PdfRecognitionMode')
164
+ self.pdf_recognition_mode = attributes[:'PdfRecognitionMode']
165
+ end
166
+
137
167
  end
138
168
 
139
169
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -164,6 +194,10 @@ module GroupDocsConversionCloud
164
194
  invalid_properties.push("invalid value for 'zoom', zoom cannot be nil.")
165
195
  end
166
196
 
197
+ if @pdf_recognition_mode.nil?
198
+ invalid_properties.push("invalid value for 'pdf_recognition_mode', pdf_recognition_mode cannot be nil.")
199
+ end
200
+
167
201
  return invalid_properties
168
202
  end
169
203
 
@@ -176,9 +210,26 @@ module GroupDocsConversionCloud
176
210
  return false if @height.nil?
177
211
  return false if @dpi.nil?
178
212
  return false if @zoom.nil?
213
+ return false if @pdf_recognition_mode.nil?
214
+ pdf_recognition_mode_validator = EnumAttributeValidator.new('String', ["Textbox", "Flow"])
215
+ return false unless pdf_recognition_mode_validator.valid?(@pdf_recognition_mode)
179
216
  return true
180
217
  end
181
218
 
219
+ # Custom attribute writer method checking allowed values (enum).
220
+ # @param [Object] pdf_recognition_mode Object to be assigned
221
+ def pdf_recognition_mode=(pdf_recognition_mode)
222
+ validator = EnumAttributeValidator.new('String', ["Textbox", "Flow"])
223
+ if pdf_recognition_mode.to_i == 0
224
+ unless validator.valid?(pdf_recognition_mode)
225
+ raise ArgumentError, "invalid value for 'pdf_recognition_mode', must be one of #{validator.allowable_values}."
226
+ end
227
+ @pdf_recognition_mode = pdf_recognition_mode
228
+ else
229
+ @pdf_recognition_mode = validator.allowable_values[pdf_recognition_mode.to_i]
230
+ end
231
+ end
232
+
182
233
  # Checks equality by comparing each attribute.
183
234
  # @param [Object] Object to be compared
184
235
  def ==(other)
@@ -192,7 +243,8 @@ module GroupDocsConversionCloud
192
243
  dpi == other.dpi &&
193
244
  password == other.password &&
194
245
  zoom == other.zoom &&
195
- watermark_options == other.watermark_options
246
+ watermark_options == other.watermark_options &&
247
+ pdf_recognition_mode == other.pdf_recognition_mode
196
248
  end
197
249
 
198
250
  # @see the `==` method
@@ -204,7 +256,7 @@ module GroupDocsConversionCloud
204
256
  # Calculates hash code according to all attributes.
205
257
  # @return [Fixnum] Hash code
206
258
  def hash
207
- [from_page, pages_count, pages, width, height, dpi, password, zoom, watermark_options].hash
259
+ [from_page, pages_count, pages, width, height, dpi, password, zoom, watermark_options, pdf_recognition_mode].hash
208
260
  end
209
261
 
210
262
  # Downcases first letter.
@@ -58,6 +58,30 @@ module GroupDocsConversionCloud
58
58
  # Watermark specific options
59
59
  attr_accessor :watermark_options
60
60
 
61
+ # Recognition mode when converting from pdf
62
+ attr_accessor :pdf_recognition_mode
63
+ class EnumAttributeValidator
64
+ attr_reader :datatype
65
+ attr_reader :allowable_values
66
+
67
+ def initialize(datatype, allowable_values)
68
+ @allowable_values = allowable_values.map do |value|
69
+ case datatype.to_s
70
+ when /Integer/i
71
+ value.to_i
72
+ when /Float/i
73
+ value.to_f
74
+ else
75
+ value
76
+ end
77
+ end
78
+ end
79
+
80
+ def valid?(value)
81
+ !value || allowable_values.include?(value)
82
+ end
83
+ end
84
+
61
85
  # Attribute mapping from ruby-style variable name to JSON key.
62
86
  def self.attribute_map
63
87
  {
@@ -69,7 +93,8 @@ module GroupDocsConversionCloud
69
93
  :'dpi' => :'Dpi',
70
94
  :'password' => :'Password',
71
95
  :'zoom' => :'Zoom',
72
- :'watermark_options' => :'WatermarkOptions'
96
+ :'watermark_options' => :'WatermarkOptions',
97
+ :'pdf_recognition_mode' => :'PdfRecognitionMode'
73
98
  }
74
99
  end
75
100
 
@@ -84,7 +109,8 @@ module GroupDocsConversionCloud
84
109
  :'dpi' => :'Float',
85
110
  :'password' => :'String',
86
111
  :'zoom' => :'Integer',
87
- :'watermark_options' => :'WatermarkOptions'
112
+ :'watermark_options' => :'WatermarkOptions',
113
+ :'pdf_recognition_mode' => :'String'
88
114
  }
89
115
  end
90
116
 
@@ -134,6 +160,10 @@ module GroupDocsConversionCloud
134
160
  self.watermark_options = attributes[:'WatermarkOptions']
135
161
  end
136
162
 
163
+ if attributes.key?(:'PdfRecognitionMode')
164
+ self.pdf_recognition_mode = attributes[:'PdfRecognitionMode']
165
+ end
166
+
137
167
  end
138
168
 
139
169
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -164,6 +194,10 @@ module GroupDocsConversionCloud
164
194
  invalid_properties.push("invalid value for 'zoom', zoom cannot be nil.")
165
195
  end
166
196
 
197
+ if @pdf_recognition_mode.nil?
198
+ invalid_properties.push("invalid value for 'pdf_recognition_mode', pdf_recognition_mode cannot be nil.")
199
+ end
200
+
167
201
  return invalid_properties
168
202
  end
169
203
 
@@ -176,9 +210,26 @@ module GroupDocsConversionCloud
176
210
  return false if @height.nil?
177
211
  return false if @dpi.nil?
178
212
  return false if @zoom.nil?
213
+ return false if @pdf_recognition_mode.nil?
214
+ pdf_recognition_mode_validator = EnumAttributeValidator.new('String', ["Textbox", "Flow"])
215
+ return false unless pdf_recognition_mode_validator.valid?(@pdf_recognition_mode)
179
216
  return true
180
217
  end
181
218
 
219
+ # Custom attribute writer method checking allowed values (enum).
220
+ # @param [Object] pdf_recognition_mode Object to be assigned
221
+ def pdf_recognition_mode=(pdf_recognition_mode)
222
+ validator = EnumAttributeValidator.new('String', ["Textbox", "Flow"])
223
+ if pdf_recognition_mode.to_i == 0
224
+ unless validator.valid?(pdf_recognition_mode)
225
+ raise ArgumentError, "invalid value for 'pdf_recognition_mode', must be one of #{validator.allowable_values}."
226
+ end
227
+ @pdf_recognition_mode = pdf_recognition_mode
228
+ else
229
+ @pdf_recognition_mode = validator.allowable_values[pdf_recognition_mode.to_i]
230
+ end
231
+ end
232
+
182
233
  # Checks equality by comparing each attribute.
183
234
  # @param [Object] Object to be compared
184
235
  def ==(other)
@@ -192,7 +243,8 @@ module GroupDocsConversionCloud
192
243
  dpi == other.dpi &&
193
244
  password == other.password &&
194
245
  zoom == other.zoom &&
195
- watermark_options == other.watermark_options
246
+ watermark_options == other.watermark_options &&
247
+ pdf_recognition_mode == other.pdf_recognition_mode
196
248
  end
197
249
 
198
250
  # @see the `==` method
@@ -204,7 +256,7 @@ module GroupDocsConversionCloud
204
256
  # Calculates hash code according to all attributes.
205
257
  # @return [Fixnum] Hash code
206
258
  def hash
207
- [from_page, pages_count, pages, width, height, dpi, password, zoom, watermark_options].hash
259
+ [from_page, pages_count, pages, width, height, dpi, password, zoom, watermark_options, pdf_recognition_mode].hash
208
260
  end
209
261
 
210
262
  # Downcases first letter.
@@ -58,6 +58,30 @@ module GroupDocsConversionCloud
58
58
  # Watermark specific options
59
59
  attr_accessor :watermark_options
60
60
 
61
+ # Recognition mode when converting from pdf
62
+ attr_accessor :pdf_recognition_mode
63
+ class EnumAttributeValidator
64
+ attr_reader :datatype
65
+ attr_reader :allowable_values
66
+
67
+ def initialize(datatype, allowable_values)
68
+ @allowable_values = allowable_values.map do |value|
69
+ case datatype.to_s
70
+ when /Integer/i
71
+ value.to_i
72
+ when /Float/i
73
+ value.to_f
74
+ else
75
+ value
76
+ end
77
+ end
78
+ end
79
+
80
+ def valid?(value)
81
+ !value || allowable_values.include?(value)
82
+ end
83
+ end
84
+
61
85
  # Attribute mapping from ruby-style variable name to JSON key.
62
86
  def self.attribute_map
63
87
  {
@@ -69,7 +93,8 @@ module GroupDocsConversionCloud
69
93
  :'dpi' => :'Dpi',
70
94
  :'password' => :'Password',
71
95
  :'zoom' => :'Zoom',
72
- :'watermark_options' => :'WatermarkOptions'
96
+ :'watermark_options' => :'WatermarkOptions',
97
+ :'pdf_recognition_mode' => :'PdfRecognitionMode'
73
98
  }
74
99
  end
75
100
 
@@ -84,7 +109,8 @@ module GroupDocsConversionCloud
84
109
  :'dpi' => :'Float',
85
110
  :'password' => :'String',
86
111
  :'zoom' => :'Integer',
87
- :'watermark_options' => :'WatermarkOptions'
112
+ :'watermark_options' => :'WatermarkOptions',
113
+ :'pdf_recognition_mode' => :'String'
88
114
  }
89
115
  end
90
116
 
@@ -134,6 +160,10 @@ module GroupDocsConversionCloud
134
160
  self.watermark_options = attributes[:'WatermarkOptions']
135
161
  end
136
162
 
163
+ if attributes.key?(:'PdfRecognitionMode')
164
+ self.pdf_recognition_mode = attributes[:'PdfRecognitionMode']
165
+ end
166
+
137
167
  end
138
168
 
139
169
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -164,6 +194,10 @@ module GroupDocsConversionCloud
164
194
  invalid_properties.push("invalid value for 'zoom', zoom cannot be nil.")
165
195
  end
166
196
 
197
+ if @pdf_recognition_mode.nil?
198
+ invalid_properties.push("invalid value for 'pdf_recognition_mode', pdf_recognition_mode cannot be nil.")
199
+ end
200
+
167
201
  return invalid_properties
168
202
  end
169
203
 
@@ -176,9 +210,26 @@ module GroupDocsConversionCloud
176
210
  return false if @height.nil?
177
211
  return false if @dpi.nil?
178
212
  return false if @zoom.nil?
213
+ return false if @pdf_recognition_mode.nil?
214
+ pdf_recognition_mode_validator = EnumAttributeValidator.new('String', ["Textbox", "Flow"])
215
+ return false unless pdf_recognition_mode_validator.valid?(@pdf_recognition_mode)
179
216
  return true
180
217
  end
181
218
 
219
+ # Custom attribute writer method checking allowed values (enum).
220
+ # @param [Object] pdf_recognition_mode Object to be assigned
221
+ def pdf_recognition_mode=(pdf_recognition_mode)
222
+ validator = EnumAttributeValidator.new('String', ["Textbox", "Flow"])
223
+ if pdf_recognition_mode.to_i == 0
224
+ unless validator.valid?(pdf_recognition_mode)
225
+ raise ArgumentError, "invalid value for 'pdf_recognition_mode', must be one of #{validator.allowable_values}."
226
+ end
227
+ @pdf_recognition_mode = pdf_recognition_mode
228
+ else
229
+ @pdf_recognition_mode = validator.allowable_values[pdf_recognition_mode.to_i]
230
+ end
231
+ end
232
+
182
233
  # Checks equality by comparing each attribute.
183
234
  # @param [Object] Object to be compared
184
235
  def ==(other)
@@ -192,7 +243,8 @@ module GroupDocsConversionCloud
192
243
  dpi == other.dpi &&
193
244
  password == other.password &&
194
245
  zoom == other.zoom &&
195
- watermark_options == other.watermark_options
246
+ watermark_options == other.watermark_options &&
247
+ pdf_recognition_mode == other.pdf_recognition_mode
196
248
  end
197
249
 
198
250
  # @see the `==` method
@@ -204,7 +256,7 @@ module GroupDocsConversionCloud
204
256
  # Calculates hash code according to all attributes.
205
257
  # @return [Fixnum] Hash code
206
258
  def hash
207
- [from_page, pages_count, pages, width, height, dpi, password, zoom, watermark_options].hash
259
+ [from_page, pages_count, pages, width, height, dpi, password, zoom, watermark_options, pdf_recognition_mode].hash
208
260
  end
209
261
 
210
262
  # Downcases first letter.