groupdocs_conversion_cloud 19.5 → 21.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. checksums.yaml +4 -4
  2. data/lib/groupdocs_conversion_cloud.rb +3 -1
  3. data/lib/groupdocs_conversion_cloud/api/convert_api.rb +126 -2
  4. data/lib/groupdocs_conversion_cloud/api/file_api.rb +6 -6
  5. data/lib/groupdocs_conversion_cloud/api/folder_api.rb +6 -6
  6. data/lib/groupdocs_conversion_cloud/api/info_api.rb +3 -3
  7. data/lib/groupdocs_conversion_cloud/api/storage_api.rb +5 -5
  8. data/lib/groupdocs_conversion_cloud/api_client.rb +1 -1
  9. data/lib/groupdocs_conversion_cloud/api_error.rb +18 -5
  10. data/lib/groupdocs_conversion_cloud/configuration.rb +1 -1
  11. data/lib/groupdocs_conversion_cloud/models/bmp_convert_options.rb +1 -1
  12. data/lib/groupdocs_conversion_cloud/models/bmp_load_options.rb +1 -1
  13. data/lib/groupdocs_conversion_cloud/models/cad_load_options.rb +1 -1
  14. data/lib/groupdocs_conversion_cloud/models/cgm_convert_options.rb +1 -1
  15. data/lib/groupdocs_conversion_cloud/models/convert_options.rb +1 -1
  16. data/lib/groupdocs_conversion_cloud/models/convert_settings.rb +15 -5
  17. data/lib/groupdocs_conversion_cloud/models/csv_load_options.rb +15 -5
  18. data/lib/groupdocs_conversion_cloud/models/dcm_convert_options.rb +1 -1
  19. data/lib/groupdocs_conversion_cloud/models/dcm_load_options.rb +1 -1
  20. data/lib/groupdocs_conversion_cloud/models/dgn_load_options.rb +1 -1
  21. data/lib/groupdocs_conversion_cloud/models/diagram_load_options.rb +1 -1
  22. data/lib/groupdocs_conversion_cloud/models/disc_usage.rb +1 -1
  23. data/lib/groupdocs_conversion_cloud/models/djvu_convert_options.rb +1 -1
  24. data/lib/groupdocs_conversion_cloud/models/dng_convert_options.rb +1 -1
  25. data/lib/groupdocs_conversion_cloud/models/dng_load_options.rb +1 -1
  26. data/lib/groupdocs_conversion_cloud/models/doc_convert_options.rb +1 -1
  27. data/lib/groupdocs_conversion_cloud/models/doc_load_options.rb +50 -5
  28. data/lib/groupdocs_conversion_cloud/models/docm_convert_options.rb +1 -1
  29. data/lib/groupdocs_conversion_cloud/models/docm_load_options.rb +50 -5
  30. data/lib/groupdocs_conversion_cloud/models/document_metadata.rb +1 -1
  31. data/lib/groupdocs_conversion_cloud/models/docx_convert_options.rb +1 -1
  32. data/lib/groupdocs_conversion_cloud/models/docx_load_options.rb +50 -5
  33. data/lib/groupdocs_conversion_cloud/models/dot_convert_options.rb +1 -1
  34. data/lib/groupdocs_conversion_cloud/models/dot_load_options.rb +50 -5
  35. data/lib/groupdocs_conversion_cloud/models/dotm_convert_options.rb +1 -1
  36. data/lib/groupdocs_conversion_cloud/models/dotm_load_options.rb +50 -5
  37. data/lib/groupdocs_conversion_cloud/models/dotx_convert_options.rb +1 -1
  38. data/lib/groupdocs_conversion_cloud/models/dotx_load_options.rb +50 -5
  39. data/lib/groupdocs_conversion_cloud/models/dwf_load_options.rb +1 -1
  40. data/lib/groupdocs_conversion_cloud/models/dwg_load_options.rb +1 -1
  41. data/lib/groupdocs_conversion_cloud/models/dxf_load_options.rb +1 -1
  42. data/lib/groupdocs_conversion_cloud/models/email_load_options.rb +57 -5
  43. data/lib/groupdocs_conversion_cloud/models/emf_convert_options.rb +1 -1
  44. data/lib/groupdocs_conversion_cloud/models/emf_load_options.rb +1 -1
  45. data/lib/groupdocs_conversion_cloud/models/eml_load_options.rb +57 -5
  46. data/lib/groupdocs_conversion_cloud/models/emlx_load_options.rb +57 -5
  47. data/lib/groupdocs_conversion_cloud/models/epub_convert_options.rb +1 -1
  48. data/lib/groupdocs_conversion_cloud/models/error.rb +1 -1
  49. data/lib/groupdocs_conversion_cloud/models/error_details.rb +1 -1
  50. data/lib/groupdocs_conversion_cloud/models/field_label.rb +266 -0
  51. data/lib/groupdocs_conversion_cloud/models/file_version.rb +1 -1
  52. data/lib/groupdocs_conversion_cloud/models/file_versions.rb +1 -1
  53. data/lib/groupdocs_conversion_cloud/models/files_list.rb +1 -1
  54. data/lib/groupdocs_conversion_cloud/models/files_upload_result.rb +1 -1
  55. data/lib/groupdocs_conversion_cloud/models/gif_convert_options.rb +1 -1
  56. data/lib/groupdocs_conversion_cloud/models/gif_load_options.rb +1 -1
  57. data/lib/groupdocs_conversion_cloud/models/html_convert_options.rb +17 -2
  58. data/lib/groupdocs_conversion_cloud/models/html_load_options.rb +219 -0
  59. data/lib/groupdocs_conversion_cloud/models/ico_convert_options.rb +1 -1
  60. data/lib/groupdocs_conversion_cloud/models/ico_load_options.rb +1 -1
  61. data/lib/groupdocs_conversion_cloud/models/ifc_load_options.rb +1 -1
  62. data/lib/groupdocs_conversion_cloud/models/igs_load_options.rb +1 -1
  63. data/lib/groupdocs_conversion_cloud/models/image_convert_options.rb +1 -1
  64. data/lib/groupdocs_conversion_cloud/models/image_load_options.rb +1 -1
  65. data/lib/groupdocs_conversion_cloud/models/j2c_convert_options.rb +1 -1
  66. data/lib/groupdocs_conversion_cloud/models/j2c_load_options.rb +1 -1
  67. data/lib/groupdocs_conversion_cloud/models/j2k_convert_options.rb +1 -1
  68. data/lib/groupdocs_conversion_cloud/models/j2k_load_options.rb +1 -1
  69. data/lib/groupdocs_conversion_cloud/models/jp2_convert_options.rb +1 -1
  70. data/lib/groupdocs_conversion_cloud/models/jp2_load_options.rb +1 -1
  71. data/lib/groupdocs_conversion_cloud/models/jpeg_convert_options.rb +1 -1
  72. data/lib/groupdocs_conversion_cloud/models/jpeg_load_options.rb +1 -1
  73. data/lib/groupdocs_conversion_cloud/models/jpf_convert_options.rb +1 -1
  74. data/lib/groupdocs_conversion_cloud/models/jpf_load_options.rb +1 -1
  75. data/lib/groupdocs_conversion_cloud/models/jpg_convert_options.rb +1 -1
  76. data/lib/groupdocs_conversion_cloud/models/jpg_load_options.rb +1 -1
  77. data/lib/groupdocs_conversion_cloud/models/jpm_convert_options.rb +1 -1
  78. data/lib/groupdocs_conversion_cloud/models/jpm_load_options.rb +1 -1
  79. data/lib/groupdocs_conversion_cloud/models/jpx_convert_options.rb +1 -1
  80. data/lib/groupdocs_conversion_cloud/models/jpx_load_options.rb +1 -1
  81. data/lib/groupdocs_conversion_cloud/models/load_options.rb +1 -1
  82. data/lib/groupdocs_conversion_cloud/models/mht_load_options.rb +57 -5
  83. data/lib/groupdocs_conversion_cloud/models/mobi_load_options.rb +50 -5
  84. data/lib/groupdocs_conversion_cloud/models/msg_load_options.rb +57 -5
  85. data/lib/groupdocs_conversion_cloud/models/object_exist.rb +1 -1
  86. data/lib/groupdocs_conversion_cloud/models/odg_convert_options.rb +1 -1
  87. data/lib/groupdocs_conversion_cloud/models/odg_load_options.rb +1 -1
  88. data/lib/groupdocs_conversion_cloud/models/odp_convert_options.rb +1 -1
  89. data/lib/groupdocs_conversion_cloud/models/odp_load_options.rb +1 -1
  90. data/lib/groupdocs_conversion_cloud/models/ods_convert_options.rb +1 -1
  91. data/lib/groupdocs_conversion_cloud/models/ods_load_options.rb +1 -1
  92. data/lib/groupdocs_conversion_cloud/models/odt_convert_options.rb +1 -1
  93. data/lib/groupdocs_conversion_cloud/models/odt_load_options.rb +50 -5
  94. data/lib/groupdocs_conversion_cloud/models/one_load_options.rb +1 -1
  95. data/lib/groupdocs_conversion_cloud/models/ost_load_options.rb +57 -5
  96. data/lib/groupdocs_conversion_cloud/models/otp_convert_options.rb +1 -1
  97. data/lib/groupdocs_conversion_cloud/models/otp_load_options.rb +1 -1
  98. data/lib/groupdocs_conversion_cloud/models/ots_convert_options.rb +1 -1
  99. data/lib/groupdocs_conversion_cloud/models/ots_load_options.rb +1 -1
  100. data/lib/groupdocs_conversion_cloud/models/ott_convert_options.rb +1 -1
  101. data/lib/groupdocs_conversion_cloud/models/ott_load_options.rb +50 -5
  102. data/lib/groupdocs_conversion_cloud/models/pdf_convert_options.rb +11 -56
  103. data/lib/groupdocs_conversion_cloud/models/pdf_load_options.rb +1 -1
  104. data/lib/groupdocs_conversion_cloud/models/plt_load_options.rb +1 -1
  105. data/lib/groupdocs_conversion_cloud/models/png_convert_options.rb +1 -1
  106. data/lib/groupdocs_conversion_cloud/models/png_load_options.rb +1 -1
  107. data/lib/groupdocs_conversion_cloud/models/potm_convert_options.rb +1 -1
  108. data/lib/groupdocs_conversion_cloud/models/potm_load_options.rb +1 -1
  109. data/lib/groupdocs_conversion_cloud/models/potx_convert_options.rb +1 -1
  110. data/lib/groupdocs_conversion_cloud/models/potx_load_options.rb +1 -1
  111. data/lib/groupdocs_conversion_cloud/models/pps_convert_options.rb +1 -1
  112. data/lib/groupdocs_conversion_cloud/models/pps_load_options.rb +1 -1
  113. data/lib/groupdocs_conversion_cloud/models/ppsm_convert_options.rb +1 -1
  114. data/lib/groupdocs_conversion_cloud/models/ppsm_load_options.rb +1 -1
  115. data/lib/groupdocs_conversion_cloud/models/ppsx_convert_options.rb +1 -1
  116. data/lib/groupdocs_conversion_cloud/models/ppsx_load_options.rb +1 -1
  117. data/lib/groupdocs_conversion_cloud/models/ppt_convert_options.rb +1 -1
  118. data/lib/groupdocs_conversion_cloud/models/ppt_load_options.rb +1 -1
  119. data/lib/groupdocs_conversion_cloud/models/pptm_convert_options.rb +1 -1
  120. data/lib/groupdocs_conversion_cloud/models/pptm_load_options.rb +1 -1
  121. data/lib/groupdocs_conversion_cloud/models/pptx_convert_options.rb +1 -1
  122. data/lib/groupdocs_conversion_cloud/models/pptx_load_options.rb +1 -1
  123. data/lib/groupdocs_conversion_cloud/models/presentation_convert_options.rb +1 -1
  124. data/lib/groupdocs_conversion_cloud/models/presentation_load_options.rb +1 -1
  125. data/lib/groupdocs_conversion_cloud/models/psd_convert_options.rb +1 -1
  126. data/lib/groupdocs_conversion_cloud/models/psd_load_options.rb +1 -1
  127. data/lib/groupdocs_conversion_cloud/models/pst_load_options.rb +57 -5
  128. data/lib/groupdocs_conversion_cloud/models/rtf_convert_options.rb +1 -1
  129. data/lib/groupdocs_conversion_cloud/models/spreadsheet_convert_options.rb +1 -1
  130. data/lib/groupdocs_conversion_cloud/models/spreadsheet_load_options.rb +1 -1
  131. data/lib/groupdocs_conversion_cloud/models/stl_load_options.rb +1 -1
  132. data/lib/groupdocs_conversion_cloud/models/storage_exist.rb +1 -1
  133. data/lib/groupdocs_conversion_cloud/models/storage_file.rb +1 -1
  134. data/lib/groupdocs_conversion_cloud/models/stored_converted_result.rb +1 -1
  135. data/lib/groupdocs_conversion_cloud/models/supported_format.rb +1 -1
  136. data/lib/groupdocs_conversion_cloud/models/svg_convert_options.rb +1 -1
  137. data/lib/groupdocs_conversion_cloud/models/tif_convert_options.rb +1 -1
  138. data/lib/groupdocs_conversion_cloud/models/tif_load_options.rb +1 -1
  139. data/lib/groupdocs_conversion_cloud/models/tiff_convert_options.rb +1 -1
  140. data/lib/groupdocs_conversion_cloud/models/tiff_load_options.rb +1 -1
  141. data/lib/groupdocs_conversion_cloud/models/tsv_convert_options.rb +1 -1
  142. data/lib/groupdocs_conversion_cloud/models/tsv_load_options.rb +1 -1
  143. data/lib/groupdocs_conversion_cloud/models/txt_convert_options.rb +1 -1
  144. data/lib/groupdocs_conversion_cloud/models/txt_load_options.rb +15 -5
  145. data/lib/groupdocs_conversion_cloud/models/vdw_load_options.rb +1 -1
  146. data/lib/groupdocs_conversion_cloud/models/vdx_load_options.rb +1 -1
  147. data/lib/groupdocs_conversion_cloud/models/vsd_load_options.rb +1 -1
  148. data/lib/groupdocs_conversion_cloud/models/vsdm_load_options.rb +1 -1
  149. data/lib/groupdocs_conversion_cloud/models/vsdx_load_options.rb +1 -1
  150. data/lib/groupdocs_conversion_cloud/models/vss_load_options.rb +1 -1
  151. data/lib/groupdocs_conversion_cloud/models/vssm_load_options.rb +1 -1
  152. data/lib/groupdocs_conversion_cloud/models/vssx_load_options.rb +1 -1
  153. data/lib/groupdocs_conversion_cloud/models/vst_load_options.rb +1 -1
  154. data/lib/groupdocs_conversion_cloud/models/vstm_load_options.rb +1 -1
  155. data/lib/groupdocs_conversion_cloud/models/vstx_load_options.rb +1 -1
  156. data/lib/groupdocs_conversion_cloud/models/vsx_load_options.rb +1 -1
  157. data/lib/groupdocs_conversion_cloud/models/vtx_load_options.rb +1 -1
  158. data/lib/groupdocs_conversion_cloud/models/watermark_options.rb +32 -2
  159. data/lib/groupdocs_conversion_cloud/models/webp_convert_options.rb +1 -1
  160. data/lib/groupdocs_conversion_cloud/models/webp_load_options.rb +1 -1
  161. data/lib/groupdocs_conversion_cloud/models/wmf_convert_options.rb +1 -1
  162. data/lib/groupdocs_conversion_cloud/models/wmf_load_options.rb +1 -1
  163. data/lib/groupdocs_conversion_cloud/models/word_processing_convert_options.rb +1 -1
  164. data/lib/groupdocs_conversion_cloud/models/word_processing_load_options.rb +50 -5
  165. data/lib/groupdocs_conversion_cloud/models/xls2003_convert_options.rb +1 -1
  166. data/lib/groupdocs_conversion_cloud/models/xls2003_load_options.rb +1 -1
  167. data/lib/groupdocs_conversion_cloud/models/xls_convert_options.rb +1 -1
  168. data/lib/groupdocs_conversion_cloud/models/xls_load_options.rb +1 -1
  169. data/lib/groupdocs_conversion_cloud/models/xlsb_convert_options.rb +1 -1
  170. data/lib/groupdocs_conversion_cloud/models/xlsb_load_options.rb +1 -1
  171. data/lib/groupdocs_conversion_cloud/models/xlsm_convert_options.rb +1 -1
  172. data/lib/groupdocs_conversion_cloud/models/xlsm_load_options.rb +1 -1
  173. data/lib/groupdocs_conversion_cloud/models/xlsx_convert_options.rb +1 -1
  174. data/lib/groupdocs_conversion_cloud/models/xlsx_load_options.rb +1 -1
  175. data/lib/groupdocs_conversion_cloud/models/xltm_convert_options.rb +1 -1
  176. data/lib/groupdocs_conversion_cloud/models/xltm_load_options.rb +1 -1
  177. data/lib/groupdocs_conversion_cloud/models/xltx_convert_options.rb +1 -1
  178. data/lib/groupdocs_conversion_cloud/models/xltx_load_options.rb +1 -1
  179. data/lib/groupdocs_conversion_cloud/models/xml_load_options.rb +1 -1
  180. data/lib/groupdocs_conversion_cloud/models/xps_convert_options.rb +1 -1
  181. data/lib/groupdocs_conversion_cloud/version.rb +2 -2
  182. metadata +4 -16
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="pdf_convert_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -110,7 +110,7 @@ module GroupDocsConversionCloud
110
110
  attr_accessor :fit_window
111
111
 
112
112
  # Specify whether menu bar should be hidden when document is active. Default: false.
113
- attr_accessor :hide_menubar
113
+ attr_accessor :hide_menu_bar
114
114
 
115
115
  # Specifying whether toolbar should be hidden when document is active. Default: false.
116
116
  attr_accessor :hide_tool_bar
@@ -127,15 +127,6 @@ module GroupDocsConversionCloud
127
127
  # Sets page mode, specifying how document should be displayed when opened.
128
128
  attr_accessor :page_mode
129
129
 
130
- # Specifies the default level in the document outline at which to display Word bookmarks. Default is 0. Valid range is 0 to 9.
131
- attr_accessor :bookmarks_outline_level
132
-
133
- # Specifies how many levels of headings (paragraphs formatted with the Heading styles) to include in the document outline. Default is 0. Valid range is 0 to 9.
134
- attr_accessor :headings_outline_levels
135
-
136
- # Specifies how many levels in the document outline to show expanded when the file is viewed. Default is 0. Valid range is 0 to 9. Note that this options will not work when saving to XPS.
137
- attr_accessor :expanded_outline_levels
138
-
139
130
  # Rotate page
140
131
  attr_accessor :rotate
141
132
 
@@ -192,15 +183,12 @@ module GroupDocsConversionCloud
192
183
  :'direction' => :'Direction',
193
184
  :'display_doc_title' => :'DisplayDocTitle',
194
185
  :'fit_window' => :'FitWindow',
195
- :'hide_menubar' => :'HideMenubar',
186
+ :'hide_menu_bar' => :'HideMenuBar',
196
187
  :'hide_tool_bar' => :'HideToolBar',
197
188
  :'hide_window_ui' => :'HideWindowUI',
198
189
  :'non_full_screen_page_mode' => :'NonFullScreenPageMode',
199
190
  :'page_layout' => :'PageLayout',
200
191
  :'page_mode' => :'PageMode',
201
- :'bookmarks_outline_level' => :'BookmarksOutlineLevel',
202
- :'headings_outline_levels' => :'HeadingsOutlineLevels',
203
- :'expanded_outline_levels' => :'ExpandedOutlineLevels',
204
192
  :'rotate' => :'Rotate',
205
193
  :'watermark_options' => :'WatermarkOptions'
206
194
  }
@@ -235,15 +223,12 @@ module GroupDocsConversionCloud
235
223
  :'direction' => :'String',
236
224
  :'display_doc_title' => :'BOOLEAN',
237
225
  :'fit_window' => :'BOOLEAN',
238
- :'hide_menubar' => :'BOOLEAN',
226
+ :'hide_menu_bar' => :'BOOLEAN',
239
227
  :'hide_tool_bar' => :'BOOLEAN',
240
228
  :'hide_window_ui' => :'BOOLEAN',
241
229
  :'non_full_screen_page_mode' => :'String',
242
230
  :'page_layout' => :'String',
243
231
  :'page_mode' => :'String',
244
- :'bookmarks_outline_level' => :'Integer',
245
- :'headings_outline_levels' => :'Integer',
246
- :'expanded_outline_levels' => :'Integer',
247
232
  :'rotate' => :'String',
248
233
  :'watermark_options' => :'WatermarkOptions'
249
234
  }
@@ -363,8 +348,8 @@ module GroupDocsConversionCloud
363
348
  self.fit_window = attributes[:'FitWindow']
364
349
  end
365
350
 
366
- if attributes.key?(:'HideMenubar')
367
- self.hide_menubar = attributes[:'HideMenubar']
351
+ if attributes.key?(:'HideMenuBar')
352
+ self.hide_menu_bar = attributes[:'HideMenuBar']
368
353
  end
369
354
 
370
355
  if attributes.key?(:'HideToolBar')
@@ -387,18 +372,6 @@ module GroupDocsConversionCloud
387
372
  self.page_mode = attributes[:'PageMode']
388
373
  end
389
374
 
390
- if attributes.key?(:'BookmarksOutlineLevel')
391
- self.bookmarks_outline_level = attributes[:'BookmarksOutlineLevel']
392
- end
393
-
394
- if attributes.key?(:'HeadingsOutlineLevels')
395
- self.headings_outline_levels = attributes[:'HeadingsOutlineLevels']
396
- end
397
-
398
- if attributes.key?(:'ExpandedOutlineLevels')
399
- self.expanded_outline_levels = attributes[:'ExpandedOutlineLevels']
400
- end
401
-
402
375
  if attributes.key?(:'Rotate')
403
376
  self.rotate = attributes[:'Rotate']
404
377
  end
@@ -509,8 +482,8 @@ module GroupDocsConversionCloud
509
482
  invalid_properties.push("invalid value for 'fit_window', fit_window cannot be nil.")
510
483
  end
511
484
 
512
- if @hide_menubar.nil?
513
- invalid_properties.push("invalid value for 'hide_menubar', hide_menubar cannot be nil.")
485
+ if @hide_menu_bar.nil?
486
+ invalid_properties.push("invalid value for 'hide_menu_bar', hide_menu_bar cannot be nil.")
514
487
  end
515
488
 
516
489
  if @hide_tool_bar.nil?
@@ -533,18 +506,6 @@ module GroupDocsConversionCloud
533
506
  invalid_properties.push("invalid value for 'page_mode', page_mode cannot be nil.")
534
507
  end
535
508
 
536
- if @bookmarks_outline_level.nil?
537
- invalid_properties.push("invalid value for 'bookmarks_outline_level', bookmarks_outline_level cannot be nil.")
538
- end
539
-
540
- if @headings_outline_levels.nil?
541
- invalid_properties.push("invalid value for 'headings_outline_levels', headings_outline_levels cannot be nil.")
542
- end
543
-
544
- if @expanded_outline_levels.nil?
545
- invalid_properties.push("invalid value for 'expanded_outline_levels', expanded_outline_levels cannot be nil.")
546
- end
547
-
548
509
  if @rotate.nil?
549
510
  invalid_properties.push("invalid value for 'rotate', rotate cannot be nil.")
550
511
  end
@@ -583,7 +544,7 @@ module GroupDocsConversionCloud
583
544
  return false unless direction_validator.valid?(@direction)
584
545
  return false if @display_doc_title.nil?
585
546
  return false if @fit_window.nil?
586
- return false if @hide_menubar.nil?
547
+ return false if @hide_menu_bar.nil?
587
548
  return false if @hide_tool_bar.nil?
588
549
  return false if @hide_window_ui.nil?
589
550
  return false if @non_full_screen_page_mode.nil?
@@ -595,9 +556,6 @@ module GroupDocsConversionCloud
595
556
  return false if @page_mode.nil?
596
557
  page_mode_validator = EnumAttributeValidator.new('String', ["UseNone", "UseOutlines", "UseThumbs", "FullScreen", "UseOC", "UseAttachments"])
597
558
  return false unless page_mode_validator.valid?(@page_mode)
598
- return false if @bookmarks_outline_level.nil?
599
- return false if @headings_outline_levels.nil?
600
- return false if @expanded_outline_levels.nil?
601
559
  return false if @rotate.nil?
602
560
  rotate_validator = EnumAttributeValidator.new('String', ["None", "On90", "On180", "On270"])
603
561
  return false unless rotate_validator.valid?(@rotate)
@@ -719,15 +677,12 @@ module GroupDocsConversionCloud
719
677
  direction == other.direction &&
720
678
  display_doc_title == other.display_doc_title &&
721
679
  fit_window == other.fit_window &&
722
- hide_menubar == other.hide_menubar &&
680
+ hide_menu_bar == other.hide_menu_bar &&
723
681
  hide_tool_bar == other.hide_tool_bar &&
724
682
  hide_window_ui == other.hide_window_ui &&
725
683
  non_full_screen_page_mode == other.non_full_screen_page_mode &&
726
684
  page_layout == other.page_layout &&
727
685
  page_mode == other.page_mode &&
728
- bookmarks_outline_level == other.bookmarks_outline_level &&
729
- headings_outline_levels == other.headings_outline_levels &&
730
- expanded_outline_levels == other.expanded_outline_levels &&
731
686
  rotate == other.rotate &&
732
687
  watermark_options == other.watermark_options
733
688
  end
@@ -741,7 +696,7 @@ module GroupDocsConversionCloud
741
696
  # Calculates hash code according to all attributes.
742
697
  # @return [Fixnum] Hash code
743
698
  def hash
744
- [from_page, pages_count, pages, width, height, dpi, password, margin_top, margin_bottom, margin_left, margin_right, pdf_format, remove_pdfa_compliance, zoom, linearize, link_duplicate_streams, remove_unused_objects, remove_unused_streams, compress_images, image_quality, unembed_fonts, grayscale, center_window, direction, display_doc_title, fit_window, hide_menubar, hide_tool_bar, hide_window_ui, non_full_screen_page_mode, page_layout, page_mode, bookmarks_outline_level, headings_outline_levels, expanded_outline_levels, rotate, watermark_options].hash
699
+ [from_page, pages_count, pages, width, height, dpi, password, margin_top, margin_bottom, margin_left, margin_right, pdf_format, remove_pdfa_compliance, zoom, linearize, link_duplicate_streams, remove_unused_objects, remove_unused_streams, compress_images, image_quality, unembed_fonts, grayscale, center_window, direction, display_doc_title, fit_window, hide_menu_bar, hide_tool_bar, hide_window_ui, non_full_screen_page_mode, page_layout, page_mode, rotate, watermark_options].hash
745
700
  end
746
701
 
747
702
  # Downcases first letter.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="pdf_load_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="plt_load_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="png_convert_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="png_load_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="potm_convert_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="potm_load_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="potx_convert_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="potx_load_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="pps_convert_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="pps_load_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="ppsm_convert_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="ppsm_load_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="ppsx_convert_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="ppsx_load_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="ppt_convert_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="ppt_load_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="pptm_convert_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="pptm_load_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="pptx_convert_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="pptx_load_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="presentation_convert_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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="presentation_load_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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_load_options.rb">
4
- # Copyright (c) 2003-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 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-2019 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2021 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -49,6 +49,18 @@ module GroupDocsConversionCloud
49
49
  # Option to display or hide \"Bcc\" email address. Default: false
50
50
  attr_accessor :display_bcc_email_address
51
51
 
52
+ # Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC.
53
+ attr_accessor :time_zone_offset
54
+
55
+ # Option to convert attachments in source email or not. Default: false.
56
+ attr_accessor :convert_attachments
57
+
58
+ # The mapping between email message field and field text representation
59
+ attr_accessor :field_labels
60
+
61
+ # Defines whether need to keep original date header string in mail message when saving or not (Default value is true)
62
+ attr_accessor :preserve_original_date
63
+
52
64
  # Attribute mapping from ruby-style variable name to JSON key.
53
65
  def self.attribute_map
54
66
  {
@@ -57,7 +69,11 @@ module GroupDocsConversionCloud
57
69
  :'display_email_address' => :'DisplayEmailAddress',
58
70
  :'display_to_email_address' => :'DisplayToEmailAddress',
59
71
  :'display_cc_email_address' => :'DisplayCcEmailAddress',
60
- :'display_bcc_email_address' => :'DisplayBccEmailAddress'
72
+ :'display_bcc_email_address' => :'DisplayBccEmailAddress',
73
+ :'time_zone_offset' => :'TimeZoneOffset',
74
+ :'convert_attachments' => :'ConvertAttachments',
75
+ :'field_labels' => :'FieldLabels',
76
+ :'preserve_original_date' => :'PreserveOriginalDate'
61
77
  }
62
78
  end
63
79
 
@@ -69,7 +85,11 @@ module GroupDocsConversionCloud
69
85
  :'display_email_address' => :'BOOLEAN',
70
86
  :'display_to_email_address' => :'BOOLEAN',
71
87
  :'display_cc_email_address' => :'BOOLEAN',
72
- :'display_bcc_email_address' => :'BOOLEAN'
88
+ :'display_bcc_email_address' => :'BOOLEAN',
89
+ :'time_zone_offset' => :'String',
90
+ :'convert_attachments' => :'BOOLEAN',
91
+ :'field_labels' => :'Array<FieldLabel>',
92
+ :'preserve_original_date' => :'BOOLEAN'
73
93
  }
74
94
  end
75
95
 
@@ -105,6 +125,24 @@ module GroupDocsConversionCloud
105
125
  self.display_bcc_email_address = attributes[:'DisplayBccEmailAddress']
106
126
  end
107
127
 
128
+ if attributes.key?(:'TimeZoneOffset')
129
+ self.time_zone_offset = attributes[:'TimeZoneOffset']
130
+ end
131
+
132
+ if attributes.key?(:'ConvertAttachments')
133
+ self.convert_attachments = attributes[:'ConvertAttachments']
134
+ end
135
+
136
+ if attributes.key?(:'FieldLabels')
137
+ if (value = attributes[:'FieldLabels']).is_a?(Array)
138
+ self.field_labels = value
139
+ end
140
+ end
141
+
142
+ if attributes.key?(:'PreserveOriginalDate')
143
+ self.preserve_original_date = attributes[:'PreserveOriginalDate']
144
+ end
145
+
108
146
  end
109
147
 
110
148
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -135,6 +173,14 @@ module GroupDocsConversionCloud
135
173
  invalid_properties.push("invalid value for 'display_bcc_email_address', display_bcc_email_address cannot be nil.")
136
174
  end
137
175
 
176
+ if @convert_attachments.nil?
177
+ invalid_properties.push("invalid value for 'convert_attachments', convert_attachments cannot be nil.")
178
+ end
179
+
180
+ if @preserve_original_date.nil?
181
+ invalid_properties.push("invalid value for 'preserve_original_date', preserve_original_date cannot be nil.")
182
+ end
183
+
138
184
  return invalid_properties
139
185
  end
140
186
 
@@ -147,6 +193,8 @@ module GroupDocsConversionCloud
147
193
  return false if @display_to_email_address.nil?
148
194
  return false if @display_cc_email_address.nil?
149
195
  return false if @display_bcc_email_address.nil?
196
+ return false if @convert_attachments.nil?
197
+ return false if @preserve_original_date.nil?
150
198
  return true
151
199
  end
152
200
 
@@ -160,7 +208,11 @@ module GroupDocsConversionCloud
160
208
  display_email_address == other.display_email_address &&
161
209
  display_to_email_address == other.display_to_email_address &&
162
210
  display_cc_email_address == other.display_cc_email_address &&
163
- display_bcc_email_address == other.display_bcc_email_address
211
+ display_bcc_email_address == other.display_bcc_email_address &&
212
+ time_zone_offset == other.time_zone_offset &&
213
+ convert_attachments == other.convert_attachments &&
214
+ field_labels == other.field_labels &&
215
+ preserve_original_date == other.preserve_original_date
164
216
  end
165
217
 
166
218
  # @see the `==` method
@@ -172,7 +224,7 @@ module GroupDocsConversionCloud
172
224
  # Calculates hash code according to all attributes.
173
225
  # @return [Fixnum] Hash code
174
226
  def hash
175
- [display_header, display_from_email_address, display_email_address, display_to_email_address, display_cc_email_address, display_bcc_email_address].hash
227
+ [display_header, display_from_email_address, display_email_address, display_to_email_address, display_cc_email_address, display_bcc_email_address, time_zone_offset, convert_attachments, field_labels, preserve_original_date].hash
176
228
  end
177
229
 
178
230
  # Downcases first letter.