groupdocs_conversion_cloud 21.12 → 22.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (184) hide show
  1. checksums.yaml +4 -4
  2. data/lib/groupdocs_conversion_cloud/api/convert_api.rb +14 -4
  3. data/lib/groupdocs_conversion_cloud/api/file_api.rb +6 -6
  4. data/lib/groupdocs_conversion_cloud/api/folder_api.rb +6 -6
  5. data/lib/groupdocs_conversion_cloud/api/info_api.rb +3 -3
  6. data/lib/groupdocs_conversion_cloud/api/license_api.rb +1 -1
  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 +1 -1
  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 +12 -2
  13. data/lib/groupdocs_conversion_cloud/models/cad_load_options.rb +12 -2
  14. data/lib/groupdocs_conversion_cloud/models/cgm_convert_options.rb +1 -1
  15. data/lib/groupdocs_conversion_cloud/models/consumption_result.rb +1 -1
  16. data/lib/groupdocs_conversion_cloud/models/convert_options.rb +1 -1
  17. data/lib/groupdocs_conversion_cloud/models/convert_settings.rb +1 -1
  18. data/lib/groupdocs_conversion_cloud/models/csv_load_options.rb +12 -2
  19. data/lib/groupdocs_conversion_cloud/models/dcm_convert_options.rb +1 -1
  20. data/lib/groupdocs_conversion_cloud/models/dcm_load_options.rb +12 -2
  21. data/lib/groupdocs_conversion_cloud/models/dgn_load_options.rb +12 -2
  22. data/lib/groupdocs_conversion_cloud/models/diagram_load_options.rb +12 -2
  23. data/lib/groupdocs_conversion_cloud/models/disc_usage.rb +1 -1
  24. data/lib/groupdocs_conversion_cloud/models/djvu_convert_options.rb +1 -1
  25. data/lib/groupdocs_conversion_cloud/models/dng_convert_options.rb +1 -1
  26. data/lib/groupdocs_conversion_cloud/models/dng_load_options.rb +12 -2
  27. data/lib/groupdocs_conversion_cloud/models/doc_convert_options.rb +1 -1
  28. data/lib/groupdocs_conversion_cloud/models/doc_load_options.rb +12 -2
  29. data/lib/groupdocs_conversion_cloud/models/docm_convert_options.rb +1 -1
  30. data/lib/groupdocs_conversion_cloud/models/docm_load_options.rb +12 -2
  31. data/lib/groupdocs_conversion_cloud/models/document_metadata.rb +1 -1
  32. data/lib/groupdocs_conversion_cloud/models/docx_convert_options.rb +1 -1
  33. data/lib/groupdocs_conversion_cloud/models/docx_load_options.rb +12 -2
  34. data/lib/groupdocs_conversion_cloud/models/dot_convert_options.rb +1 -1
  35. data/lib/groupdocs_conversion_cloud/models/dot_load_options.rb +12 -2
  36. data/lib/groupdocs_conversion_cloud/models/dotm_convert_options.rb +1 -1
  37. data/lib/groupdocs_conversion_cloud/models/dotm_load_options.rb +12 -2
  38. data/lib/groupdocs_conversion_cloud/models/dotx_convert_options.rb +1 -1
  39. data/lib/groupdocs_conversion_cloud/models/dotx_load_options.rb +12 -2
  40. data/lib/groupdocs_conversion_cloud/models/dwf_load_options.rb +12 -2
  41. data/lib/groupdocs_conversion_cloud/models/dwg_load_options.rb +12 -2
  42. data/lib/groupdocs_conversion_cloud/models/dxf_load_options.rb +12 -2
  43. data/lib/groupdocs_conversion_cloud/models/email_load_options.rb +12 -2
  44. data/lib/groupdocs_conversion_cloud/models/emf_convert_options.rb +1 -1
  45. data/lib/groupdocs_conversion_cloud/models/emf_load_options.rb +12 -2
  46. data/lib/groupdocs_conversion_cloud/models/eml_load_options.rb +12 -2
  47. data/lib/groupdocs_conversion_cloud/models/emlx_load_options.rb +12 -2
  48. data/lib/groupdocs_conversion_cloud/models/epub_convert_options.rb +1 -1
  49. data/lib/groupdocs_conversion_cloud/models/error.rb +1 -1
  50. data/lib/groupdocs_conversion_cloud/models/error_details.rb +1 -1
  51. data/lib/groupdocs_conversion_cloud/models/field_label.rb +1 -1
  52. data/lib/groupdocs_conversion_cloud/models/file_version.rb +1 -1
  53. data/lib/groupdocs_conversion_cloud/models/file_versions.rb +1 -1
  54. data/lib/groupdocs_conversion_cloud/models/files_list.rb +1 -1
  55. data/lib/groupdocs_conversion_cloud/models/files_upload_result.rb +1 -1
  56. data/lib/groupdocs_conversion_cloud/models/gif_convert_options.rb +1 -1
  57. data/lib/groupdocs_conversion_cloud/models/gif_load_options.rb +12 -2
  58. data/lib/groupdocs_conversion_cloud/models/html_convert_options.rb +1 -1
  59. data/lib/groupdocs_conversion_cloud/models/html_load_options.rb +12 -2
  60. data/lib/groupdocs_conversion_cloud/models/ico_convert_options.rb +1 -1
  61. data/lib/groupdocs_conversion_cloud/models/ico_load_options.rb +12 -2
  62. data/lib/groupdocs_conversion_cloud/models/ifc_load_options.rb +12 -2
  63. data/lib/groupdocs_conversion_cloud/models/igs_load_options.rb +12 -2
  64. data/lib/groupdocs_conversion_cloud/models/image_convert_options.rb +1 -1
  65. data/lib/groupdocs_conversion_cloud/models/image_load_options.rb +12 -2
  66. data/lib/groupdocs_conversion_cloud/models/j2c_convert_options.rb +1 -1
  67. data/lib/groupdocs_conversion_cloud/models/j2c_load_options.rb +12 -2
  68. data/lib/groupdocs_conversion_cloud/models/j2k_convert_options.rb +1 -1
  69. data/lib/groupdocs_conversion_cloud/models/j2k_load_options.rb +12 -2
  70. data/lib/groupdocs_conversion_cloud/models/jp2_convert_options.rb +1 -1
  71. data/lib/groupdocs_conversion_cloud/models/jp2_load_options.rb +12 -2
  72. data/lib/groupdocs_conversion_cloud/models/jpeg_convert_options.rb +1 -1
  73. data/lib/groupdocs_conversion_cloud/models/jpeg_load_options.rb +12 -2
  74. data/lib/groupdocs_conversion_cloud/models/jpf_convert_options.rb +1 -1
  75. data/lib/groupdocs_conversion_cloud/models/jpf_load_options.rb +12 -2
  76. data/lib/groupdocs_conversion_cloud/models/jpg_convert_options.rb +1 -1
  77. data/lib/groupdocs_conversion_cloud/models/jpg_load_options.rb +12 -2
  78. data/lib/groupdocs_conversion_cloud/models/jpm_convert_options.rb +1 -1
  79. data/lib/groupdocs_conversion_cloud/models/jpm_load_options.rb +12 -2
  80. data/lib/groupdocs_conversion_cloud/models/jpx_convert_options.rb +1 -1
  81. data/lib/groupdocs_conversion_cloud/models/jpx_load_options.rb +12 -2
  82. data/lib/groupdocs_conversion_cloud/models/load_options.rb +13 -3
  83. data/lib/groupdocs_conversion_cloud/models/mht_load_options.rb +12 -2
  84. data/lib/groupdocs_conversion_cloud/models/mobi_load_options.rb +12 -2
  85. data/lib/groupdocs_conversion_cloud/models/msg_load_options.rb +12 -2
  86. data/lib/groupdocs_conversion_cloud/models/object_exist.rb +1 -1
  87. data/lib/groupdocs_conversion_cloud/models/odg_convert_options.rb +1 -1
  88. data/lib/groupdocs_conversion_cloud/models/odg_load_options.rb +12 -2
  89. data/lib/groupdocs_conversion_cloud/models/odp_convert_options.rb +1 -1
  90. data/lib/groupdocs_conversion_cloud/models/odp_load_options.rb +12 -2
  91. data/lib/groupdocs_conversion_cloud/models/ods_convert_options.rb +1 -1
  92. data/lib/groupdocs_conversion_cloud/models/ods_load_options.rb +12 -2
  93. data/lib/groupdocs_conversion_cloud/models/odt_convert_options.rb +1 -1
  94. data/lib/groupdocs_conversion_cloud/models/odt_load_options.rb +12 -2
  95. data/lib/groupdocs_conversion_cloud/models/one_load_options.rb +12 -2
  96. data/lib/groupdocs_conversion_cloud/models/ost_load_options.rb +12 -2
  97. data/lib/groupdocs_conversion_cloud/models/otp_convert_options.rb +1 -1
  98. data/lib/groupdocs_conversion_cloud/models/otp_load_options.rb +12 -2
  99. data/lib/groupdocs_conversion_cloud/models/ots_convert_options.rb +1 -1
  100. data/lib/groupdocs_conversion_cloud/models/ots_load_options.rb +12 -2
  101. data/lib/groupdocs_conversion_cloud/models/ott_convert_options.rb +1 -1
  102. data/lib/groupdocs_conversion_cloud/models/ott_load_options.rb +12 -2
  103. data/lib/groupdocs_conversion_cloud/models/pdf_convert_options.rb +1 -1
  104. data/lib/groupdocs_conversion_cloud/models/pdf_load_options.rb +12 -2
  105. data/lib/groupdocs_conversion_cloud/models/plt_load_options.rb +12 -2
  106. data/lib/groupdocs_conversion_cloud/models/png_convert_options.rb +1 -1
  107. data/lib/groupdocs_conversion_cloud/models/png_load_options.rb +12 -2
  108. data/lib/groupdocs_conversion_cloud/models/potm_convert_options.rb +1 -1
  109. data/lib/groupdocs_conversion_cloud/models/potm_load_options.rb +12 -2
  110. data/lib/groupdocs_conversion_cloud/models/potx_convert_options.rb +1 -1
  111. data/lib/groupdocs_conversion_cloud/models/potx_load_options.rb +12 -2
  112. data/lib/groupdocs_conversion_cloud/models/pps_convert_options.rb +1 -1
  113. data/lib/groupdocs_conversion_cloud/models/pps_load_options.rb +12 -2
  114. data/lib/groupdocs_conversion_cloud/models/ppsm_convert_options.rb +1 -1
  115. data/lib/groupdocs_conversion_cloud/models/ppsm_load_options.rb +12 -2
  116. data/lib/groupdocs_conversion_cloud/models/ppsx_convert_options.rb +1 -1
  117. data/lib/groupdocs_conversion_cloud/models/ppsx_load_options.rb +12 -2
  118. data/lib/groupdocs_conversion_cloud/models/ppt_convert_options.rb +1 -1
  119. data/lib/groupdocs_conversion_cloud/models/ppt_load_options.rb +12 -2
  120. data/lib/groupdocs_conversion_cloud/models/pptm_convert_options.rb +1 -1
  121. data/lib/groupdocs_conversion_cloud/models/pptm_load_options.rb +12 -2
  122. data/lib/groupdocs_conversion_cloud/models/pptx_convert_options.rb +1 -1
  123. data/lib/groupdocs_conversion_cloud/models/pptx_load_options.rb +12 -2
  124. data/lib/groupdocs_conversion_cloud/models/presentation_convert_options.rb +1 -1
  125. data/lib/groupdocs_conversion_cloud/models/presentation_load_options.rb +12 -2
  126. data/lib/groupdocs_conversion_cloud/models/psd_convert_options.rb +1 -1
  127. data/lib/groupdocs_conversion_cloud/models/psd_load_options.rb +12 -2
  128. data/lib/groupdocs_conversion_cloud/models/pst_load_options.rb +12 -2
  129. data/lib/groupdocs_conversion_cloud/models/rtf_convert_options.rb +1 -1
  130. data/lib/groupdocs_conversion_cloud/models/spreadsheet_convert_options.rb +1 -1
  131. data/lib/groupdocs_conversion_cloud/models/spreadsheet_load_options.rb +12 -2
  132. data/lib/groupdocs_conversion_cloud/models/stl_load_options.rb +12 -2
  133. data/lib/groupdocs_conversion_cloud/models/storage_exist.rb +1 -1
  134. data/lib/groupdocs_conversion_cloud/models/storage_file.rb +1 -1
  135. data/lib/groupdocs_conversion_cloud/models/stored_converted_result.rb +1 -1
  136. data/lib/groupdocs_conversion_cloud/models/supported_format.rb +1 -1
  137. data/lib/groupdocs_conversion_cloud/models/svg_convert_options.rb +1 -1
  138. data/lib/groupdocs_conversion_cloud/models/tif_convert_options.rb +1 -1
  139. data/lib/groupdocs_conversion_cloud/models/tif_load_options.rb +12 -2
  140. data/lib/groupdocs_conversion_cloud/models/tiff_convert_options.rb +1 -1
  141. data/lib/groupdocs_conversion_cloud/models/tiff_load_options.rb +12 -2
  142. data/lib/groupdocs_conversion_cloud/models/tsv_convert_options.rb +1 -1
  143. data/lib/groupdocs_conversion_cloud/models/tsv_load_options.rb +12 -2
  144. data/lib/groupdocs_conversion_cloud/models/txt_convert_options.rb +1 -1
  145. data/lib/groupdocs_conversion_cloud/models/txt_load_options.rb +12 -2
  146. data/lib/groupdocs_conversion_cloud/models/vdw_load_options.rb +12 -2
  147. data/lib/groupdocs_conversion_cloud/models/vdx_load_options.rb +12 -2
  148. data/lib/groupdocs_conversion_cloud/models/vsd_load_options.rb +12 -2
  149. data/lib/groupdocs_conversion_cloud/models/vsdm_load_options.rb +12 -2
  150. data/lib/groupdocs_conversion_cloud/models/vsdx_load_options.rb +12 -2
  151. data/lib/groupdocs_conversion_cloud/models/vss_load_options.rb +12 -2
  152. data/lib/groupdocs_conversion_cloud/models/vssm_load_options.rb +12 -2
  153. data/lib/groupdocs_conversion_cloud/models/vssx_load_options.rb +12 -2
  154. data/lib/groupdocs_conversion_cloud/models/vst_load_options.rb +12 -2
  155. data/lib/groupdocs_conversion_cloud/models/vstm_load_options.rb +12 -2
  156. data/lib/groupdocs_conversion_cloud/models/vstx_load_options.rb +12 -2
  157. data/lib/groupdocs_conversion_cloud/models/vsx_load_options.rb +12 -2
  158. data/lib/groupdocs_conversion_cloud/models/vtx_load_options.rb +12 -2
  159. data/lib/groupdocs_conversion_cloud/models/watermark_options.rb +1 -1
  160. data/lib/groupdocs_conversion_cloud/models/webp_convert_options.rb +1 -1
  161. data/lib/groupdocs_conversion_cloud/models/webp_load_options.rb +12 -2
  162. data/lib/groupdocs_conversion_cloud/models/wmf_convert_options.rb +1 -1
  163. data/lib/groupdocs_conversion_cloud/models/wmf_load_options.rb +12 -2
  164. data/lib/groupdocs_conversion_cloud/models/word_processing_convert_options.rb +1 -1
  165. data/lib/groupdocs_conversion_cloud/models/word_processing_load_options.rb +12 -2
  166. data/lib/groupdocs_conversion_cloud/models/xls2003_convert_options.rb +1 -1
  167. data/lib/groupdocs_conversion_cloud/models/xls2003_load_options.rb +12 -2
  168. data/lib/groupdocs_conversion_cloud/models/xls_convert_options.rb +1 -1
  169. data/lib/groupdocs_conversion_cloud/models/xls_load_options.rb +12 -2
  170. data/lib/groupdocs_conversion_cloud/models/xlsb_convert_options.rb +1 -1
  171. data/lib/groupdocs_conversion_cloud/models/xlsb_load_options.rb +12 -2
  172. data/lib/groupdocs_conversion_cloud/models/xlsm_convert_options.rb +1 -1
  173. data/lib/groupdocs_conversion_cloud/models/xlsm_load_options.rb +12 -2
  174. data/lib/groupdocs_conversion_cloud/models/xlsx_convert_options.rb +1 -1
  175. data/lib/groupdocs_conversion_cloud/models/xlsx_load_options.rb +12 -2
  176. data/lib/groupdocs_conversion_cloud/models/xltm_convert_options.rb +1 -1
  177. data/lib/groupdocs_conversion_cloud/models/xltm_load_options.rb +12 -2
  178. data/lib/groupdocs_conversion_cloud/models/xltx_convert_options.rb +1 -1
  179. data/lib/groupdocs_conversion_cloud/models/xltx_load_options.rb +12 -2
  180. data/lib/groupdocs_conversion_cloud/models/xml_load_options.rb +12 -2
  181. data/lib/groupdocs_conversion_cloud/models/xps_convert_options.rb +1 -1
  182. data/lib/groupdocs_conversion_cloud/version.rb +2 -2
  183. data/lib/groupdocs_conversion_cloud.rb +1 -1
  184. metadata +2 -2
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="potm_load_options.rb">
4
- # Copyright (c) 2003-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -31,6 +31,9 @@ module GroupDocsConversionCloud
31
31
  # Potm load options
32
32
  class PotmLoadOptions
33
33
 
34
+ # The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
35
+ attr_accessor :format
36
+
34
37
  # Default font for rendering the presentation. The following font will be used if a presentation font is missing.
35
38
  attr_accessor :default_font
36
39
 
@@ -49,6 +52,7 @@ module GroupDocsConversionCloud
49
52
  # Attribute mapping from ruby-style variable name to JSON key.
50
53
  def self.attribute_map
51
54
  {
55
+ :'format' => :'Format',
52
56
  :'default_font' => :'DefaultFont',
53
57
  :'font_substitutes' => :'FontSubstitutes',
54
58
  :'password' => :'Password',
@@ -60,6 +64,7 @@ module GroupDocsConversionCloud
60
64
  # Attribute type mapping.
61
65
  def self.swagger_types
62
66
  {
67
+ :'format' => :'String',
63
68
  :'default_font' => :'String',
64
69
  :'font_substitutes' => :'Hash<String, String>',
65
70
  :'password' => :'String',
@@ -76,6 +81,10 @@ module GroupDocsConversionCloud
76
81
  # convert string to symbol for hash key
77
82
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
78
83
 
84
+ if attributes.key?(:'Format')
85
+ self.format = attributes[:'Format']
86
+ end
87
+
79
88
  if attributes.key?(:'DefaultFont')
80
89
  self.default_font = attributes[:'DefaultFont']
81
90
  end
@@ -128,6 +137,7 @@ module GroupDocsConversionCloud
128
137
  def ==(other)
129
138
  return true if self.equal?(other)
130
139
  self.class == other.class &&
140
+ format == other.format &&
131
141
  default_font == other.default_font &&
132
142
  font_substitutes == other.font_substitutes &&
133
143
  password == other.password &&
@@ -144,7 +154,7 @@ module GroupDocsConversionCloud
144
154
  # Calculates hash code according to all attributes.
145
155
  # @return [Fixnum] Hash code
146
156
  def hash
147
- [default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
157
+ [format, default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
148
158
  end
149
159
 
150
160
  # Downcases first letter.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="potx_convert_options.rb">
4
- # Copyright (c) 2003-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 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-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -31,6 +31,9 @@ module GroupDocsConversionCloud
31
31
  # Potx load options
32
32
  class PotxLoadOptions
33
33
 
34
+ # The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
35
+ attr_accessor :format
36
+
34
37
  # Default font for rendering the presentation. The following font will be used if a presentation font is missing.
35
38
  attr_accessor :default_font
36
39
 
@@ -49,6 +52,7 @@ module GroupDocsConversionCloud
49
52
  # Attribute mapping from ruby-style variable name to JSON key.
50
53
  def self.attribute_map
51
54
  {
55
+ :'format' => :'Format',
52
56
  :'default_font' => :'DefaultFont',
53
57
  :'font_substitutes' => :'FontSubstitutes',
54
58
  :'password' => :'Password',
@@ -60,6 +64,7 @@ module GroupDocsConversionCloud
60
64
  # Attribute type mapping.
61
65
  def self.swagger_types
62
66
  {
67
+ :'format' => :'String',
63
68
  :'default_font' => :'String',
64
69
  :'font_substitutes' => :'Hash<String, String>',
65
70
  :'password' => :'String',
@@ -76,6 +81,10 @@ module GroupDocsConversionCloud
76
81
  # convert string to symbol for hash key
77
82
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
78
83
 
84
+ if attributes.key?(:'Format')
85
+ self.format = attributes[:'Format']
86
+ end
87
+
79
88
  if attributes.key?(:'DefaultFont')
80
89
  self.default_font = attributes[:'DefaultFont']
81
90
  end
@@ -128,6 +137,7 @@ module GroupDocsConversionCloud
128
137
  def ==(other)
129
138
  return true if self.equal?(other)
130
139
  self.class == other.class &&
140
+ format == other.format &&
131
141
  default_font == other.default_font &&
132
142
  font_substitutes == other.font_substitutes &&
133
143
  password == other.password &&
@@ -144,7 +154,7 @@ module GroupDocsConversionCloud
144
154
  # Calculates hash code according to all attributes.
145
155
  # @return [Fixnum] Hash code
146
156
  def hash
147
- [default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
157
+ [format, default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
148
158
  end
149
159
 
150
160
  # Downcases first letter.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="pps_convert_options.rb">
4
- # Copyright (c) 2003-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 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-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -31,6 +31,9 @@ module GroupDocsConversionCloud
31
31
  # Pps load options
32
32
  class PpsLoadOptions
33
33
 
34
+ # The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
35
+ attr_accessor :format
36
+
34
37
  # Default font for rendering the presentation. The following font will be used if a presentation font is missing.
35
38
  attr_accessor :default_font
36
39
 
@@ -49,6 +52,7 @@ module GroupDocsConversionCloud
49
52
  # Attribute mapping from ruby-style variable name to JSON key.
50
53
  def self.attribute_map
51
54
  {
55
+ :'format' => :'Format',
52
56
  :'default_font' => :'DefaultFont',
53
57
  :'font_substitutes' => :'FontSubstitutes',
54
58
  :'password' => :'Password',
@@ -60,6 +64,7 @@ module GroupDocsConversionCloud
60
64
  # Attribute type mapping.
61
65
  def self.swagger_types
62
66
  {
67
+ :'format' => :'String',
63
68
  :'default_font' => :'String',
64
69
  :'font_substitutes' => :'Hash<String, String>',
65
70
  :'password' => :'String',
@@ -76,6 +81,10 @@ module GroupDocsConversionCloud
76
81
  # convert string to symbol for hash key
77
82
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
78
83
 
84
+ if attributes.key?(:'Format')
85
+ self.format = attributes[:'Format']
86
+ end
87
+
79
88
  if attributes.key?(:'DefaultFont')
80
89
  self.default_font = attributes[:'DefaultFont']
81
90
  end
@@ -128,6 +137,7 @@ module GroupDocsConversionCloud
128
137
  def ==(other)
129
138
  return true if self.equal?(other)
130
139
  self.class == other.class &&
140
+ format == other.format &&
131
141
  default_font == other.default_font &&
132
142
  font_substitutes == other.font_substitutes &&
133
143
  password == other.password &&
@@ -144,7 +154,7 @@ module GroupDocsConversionCloud
144
154
  # Calculates hash code according to all attributes.
145
155
  # @return [Fixnum] Hash code
146
156
  def hash
147
- [default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
157
+ [format, default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
148
158
  end
149
159
 
150
160
  # Downcases first letter.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="ppsm_convert_options.rb">
4
- # Copyright (c) 2003-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 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-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -31,6 +31,9 @@ module GroupDocsConversionCloud
31
31
  # Ppsm load options
32
32
  class PpsmLoadOptions
33
33
 
34
+ # The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
35
+ attr_accessor :format
36
+
34
37
  # Default font for rendering the presentation. The following font will be used if a presentation font is missing.
35
38
  attr_accessor :default_font
36
39
 
@@ -49,6 +52,7 @@ module GroupDocsConversionCloud
49
52
  # Attribute mapping from ruby-style variable name to JSON key.
50
53
  def self.attribute_map
51
54
  {
55
+ :'format' => :'Format',
52
56
  :'default_font' => :'DefaultFont',
53
57
  :'font_substitutes' => :'FontSubstitutes',
54
58
  :'password' => :'Password',
@@ -60,6 +64,7 @@ module GroupDocsConversionCloud
60
64
  # Attribute type mapping.
61
65
  def self.swagger_types
62
66
  {
67
+ :'format' => :'String',
63
68
  :'default_font' => :'String',
64
69
  :'font_substitutes' => :'Hash<String, String>',
65
70
  :'password' => :'String',
@@ -76,6 +81,10 @@ module GroupDocsConversionCloud
76
81
  # convert string to symbol for hash key
77
82
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
78
83
 
84
+ if attributes.key?(:'Format')
85
+ self.format = attributes[:'Format']
86
+ end
87
+
79
88
  if attributes.key?(:'DefaultFont')
80
89
  self.default_font = attributes[:'DefaultFont']
81
90
  end
@@ -128,6 +137,7 @@ module GroupDocsConversionCloud
128
137
  def ==(other)
129
138
  return true if self.equal?(other)
130
139
  self.class == other.class &&
140
+ format == other.format &&
131
141
  default_font == other.default_font &&
132
142
  font_substitutes == other.font_substitutes &&
133
143
  password == other.password &&
@@ -144,7 +154,7 @@ module GroupDocsConversionCloud
144
154
  # Calculates hash code according to all attributes.
145
155
  # @return [Fixnum] Hash code
146
156
  def hash
147
- [default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
157
+ [format, default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
148
158
  end
149
159
 
150
160
  # Downcases first letter.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="ppsx_convert_options.rb">
4
- # Copyright (c) 2003-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 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-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -31,6 +31,9 @@ module GroupDocsConversionCloud
31
31
  # Ppsx load options
32
32
  class PpsxLoadOptions
33
33
 
34
+ # The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
35
+ attr_accessor :format
36
+
34
37
  # Default font for rendering the presentation. The following font will be used if a presentation font is missing.
35
38
  attr_accessor :default_font
36
39
 
@@ -49,6 +52,7 @@ module GroupDocsConversionCloud
49
52
  # Attribute mapping from ruby-style variable name to JSON key.
50
53
  def self.attribute_map
51
54
  {
55
+ :'format' => :'Format',
52
56
  :'default_font' => :'DefaultFont',
53
57
  :'font_substitutes' => :'FontSubstitutes',
54
58
  :'password' => :'Password',
@@ -60,6 +64,7 @@ module GroupDocsConversionCloud
60
64
  # Attribute type mapping.
61
65
  def self.swagger_types
62
66
  {
67
+ :'format' => :'String',
63
68
  :'default_font' => :'String',
64
69
  :'font_substitutes' => :'Hash<String, String>',
65
70
  :'password' => :'String',
@@ -76,6 +81,10 @@ module GroupDocsConversionCloud
76
81
  # convert string to symbol for hash key
77
82
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
78
83
 
84
+ if attributes.key?(:'Format')
85
+ self.format = attributes[:'Format']
86
+ end
87
+
79
88
  if attributes.key?(:'DefaultFont')
80
89
  self.default_font = attributes[:'DefaultFont']
81
90
  end
@@ -128,6 +137,7 @@ module GroupDocsConversionCloud
128
137
  def ==(other)
129
138
  return true if self.equal?(other)
130
139
  self.class == other.class &&
140
+ format == other.format &&
131
141
  default_font == other.default_font &&
132
142
  font_substitutes == other.font_substitutes &&
133
143
  password == other.password &&
@@ -144,7 +154,7 @@ module GroupDocsConversionCloud
144
154
  # Calculates hash code according to all attributes.
145
155
  # @return [Fixnum] Hash code
146
156
  def hash
147
- [default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
157
+ [format, default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
148
158
  end
149
159
 
150
160
  # Downcases first letter.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="ppt_convert_options.rb">
4
- # Copyright (c) 2003-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 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-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -31,6 +31,9 @@ module GroupDocsConversionCloud
31
31
  # Ppt load options
32
32
  class PptLoadOptions
33
33
 
34
+ # The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
35
+ attr_accessor :format
36
+
34
37
  # Default font for rendering the presentation. The following font will be used if a presentation font is missing.
35
38
  attr_accessor :default_font
36
39
 
@@ -49,6 +52,7 @@ module GroupDocsConversionCloud
49
52
  # Attribute mapping from ruby-style variable name to JSON key.
50
53
  def self.attribute_map
51
54
  {
55
+ :'format' => :'Format',
52
56
  :'default_font' => :'DefaultFont',
53
57
  :'font_substitutes' => :'FontSubstitutes',
54
58
  :'password' => :'Password',
@@ -60,6 +64,7 @@ module GroupDocsConversionCloud
60
64
  # Attribute type mapping.
61
65
  def self.swagger_types
62
66
  {
67
+ :'format' => :'String',
63
68
  :'default_font' => :'String',
64
69
  :'font_substitutes' => :'Hash<String, String>',
65
70
  :'password' => :'String',
@@ -76,6 +81,10 @@ module GroupDocsConversionCloud
76
81
  # convert string to symbol for hash key
77
82
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
78
83
 
84
+ if attributes.key?(:'Format')
85
+ self.format = attributes[:'Format']
86
+ end
87
+
79
88
  if attributes.key?(:'DefaultFont')
80
89
  self.default_font = attributes[:'DefaultFont']
81
90
  end
@@ -128,6 +137,7 @@ module GroupDocsConversionCloud
128
137
  def ==(other)
129
138
  return true if self.equal?(other)
130
139
  self.class == other.class &&
140
+ format == other.format &&
131
141
  default_font == other.default_font &&
132
142
  font_substitutes == other.font_substitutes &&
133
143
  password == other.password &&
@@ -144,7 +154,7 @@ module GroupDocsConversionCloud
144
154
  # Calculates hash code according to all attributes.
145
155
  # @return [Fixnum] Hash code
146
156
  def hash
147
- [default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
157
+ [format, default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
148
158
  end
149
159
 
150
160
  # Downcases first letter.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="pptm_convert_options.rb">
4
- # Copyright (c) 2003-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 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-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -31,6 +31,9 @@ module GroupDocsConversionCloud
31
31
  # Pptm load options
32
32
  class PptmLoadOptions
33
33
 
34
+ # The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
35
+ attr_accessor :format
36
+
34
37
  # Default font for rendering the presentation. The following font will be used if a presentation font is missing.
35
38
  attr_accessor :default_font
36
39
 
@@ -49,6 +52,7 @@ module GroupDocsConversionCloud
49
52
  # Attribute mapping from ruby-style variable name to JSON key.
50
53
  def self.attribute_map
51
54
  {
55
+ :'format' => :'Format',
52
56
  :'default_font' => :'DefaultFont',
53
57
  :'font_substitutes' => :'FontSubstitutes',
54
58
  :'password' => :'Password',
@@ -60,6 +64,7 @@ module GroupDocsConversionCloud
60
64
  # Attribute type mapping.
61
65
  def self.swagger_types
62
66
  {
67
+ :'format' => :'String',
63
68
  :'default_font' => :'String',
64
69
  :'font_substitutes' => :'Hash<String, String>',
65
70
  :'password' => :'String',
@@ -76,6 +81,10 @@ module GroupDocsConversionCloud
76
81
  # convert string to symbol for hash key
77
82
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
78
83
 
84
+ if attributes.key?(:'Format')
85
+ self.format = attributes[:'Format']
86
+ end
87
+
79
88
  if attributes.key?(:'DefaultFont')
80
89
  self.default_font = attributes[:'DefaultFont']
81
90
  end
@@ -128,6 +137,7 @@ module GroupDocsConversionCloud
128
137
  def ==(other)
129
138
  return true if self.equal?(other)
130
139
  self.class == other.class &&
140
+ format == other.format &&
131
141
  default_font == other.default_font &&
132
142
  font_substitutes == other.font_substitutes &&
133
143
  password == other.password &&
@@ -144,7 +154,7 @@ module GroupDocsConversionCloud
144
154
  # Calculates hash code according to all attributes.
145
155
  # @return [Fixnum] Hash code
146
156
  def hash
147
- [default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
157
+ [format, default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
148
158
  end
149
159
 
150
160
  # Downcases first letter.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="pptx_convert_options.rb">
4
- # Copyright (c) 2003-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 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-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -31,6 +31,9 @@ module GroupDocsConversionCloud
31
31
  # Pptx load options
32
32
  class PptxLoadOptions
33
33
 
34
+ # The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
35
+ attr_accessor :format
36
+
34
37
  # Default font for rendering the presentation. The following font will be used if a presentation font is missing.
35
38
  attr_accessor :default_font
36
39
 
@@ -49,6 +52,7 @@ module GroupDocsConversionCloud
49
52
  # Attribute mapping from ruby-style variable name to JSON key.
50
53
  def self.attribute_map
51
54
  {
55
+ :'format' => :'Format',
52
56
  :'default_font' => :'DefaultFont',
53
57
  :'font_substitutes' => :'FontSubstitutes',
54
58
  :'password' => :'Password',
@@ -60,6 +64,7 @@ module GroupDocsConversionCloud
60
64
  # Attribute type mapping.
61
65
  def self.swagger_types
62
66
  {
67
+ :'format' => :'String',
63
68
  :'default_font' => :'String',
64
69
  :'font_substitutes' => :'Hash<String, String>',
65
70
  :'password' => :'String',
@@ -76,6 +81,10 @@ module GroupDocsConversionCloud
76
81
  # convert string to symbol for hash key
77
82
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
78
83
 
84
+ if attributes.key?(:'Format')
85
+ self.format = attributes[:'Format']
86
+ end
87
+
79
88
  if attributes.key?(:'DefaultFont')
80
89
  self.default_font = attributes[:'DefaultFont']
81
90
  end
@@ -128,6 +137,7 @@ module GroupDocsConversionCloud
128
137
  def ==(other)
129
138
  return true if self.equal?(other)
130
139
  self.class == other.class &&
140
+ format == other.format &&
131
141
  default_font == other.default_font &&
132
142
  font_substitutes == other.font_substitutes &&
133
143
  password == other.password &&
@@ -144,7 +154,7 @@ module GroupDocsConversionCloud
144
154
  # Calculates hash code according to all attributes.
145
155
  # @return [Fixnum] Hash code
146
156
  def hash
147
- [default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
157
+ [format, default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
148
158
  end
149
159
 
150
160
  # Downcases first letter.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="presentation_convert_options.rb">
4
- # Copyright (c) 2003-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 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-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -31,6 +31,9 @@ module GroupDocsConversionCloud
31
31
  # Presentation document load options
32
32
  class PresentationLoadOptions
33
33
 
34
+ # The format of input file, (\"docx\", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions. In regular conversion, the input file format taken from the input file name and this field ignored.
35
+ attr_accessor :format
36
+
34
37
  # Default font for rendering the presentation. The following font will be used if a presentation font is missing.
35
38
  attr_accessor :default_font
36
39
 
@@ -49,6 +52,7 @@ module GroupDocsConversionCloud
49
52
  # Attribute mapping from ruby-style variable name to JSON key.
50
53
  def self.attribute_map
51
54
  {
55
+ :'format' => :'Format',
52
56
  :'default_font' => :'DefaultFont',
53
57
  :'font_substitutes' => :'FontSubstitutes',
54
58
  :'password' => :'Password',
@@ -60,6 +64,7 @@ module GroupDocsConversionCloud
60
64
  # Attribute type mapping.
61
65
  def self.swagger_types
62
66
  {
67
+ :'format' => :'String',
63
68
  :'default_font' => :'String',
64
69
  :'font_substitutes' => :'Hash<String, String>',
65
70
  :'password' => :'String',
@@ -76,6 +81,10 @@ module GroupDocsConversionCloud
76
81
  # convert string to symbol for hash key
77
82
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
78
83
 
84
+ if attributes.key?(:'Format')
85
+ self.format = attributes[:'Format']
86
+ end
87
+
79
88
  if attributes.key?(:'DefaultFont')
80
89
  self.default_font = attributes[:'DefaultFont']
81
90
  end
@@ -128,6 +137,7 @@ module GroupDocsConversionCloud
128
137
  def ==(other)
129
138
  return true if self.equal?(other)
130
139
  self.class == other.class &&
140
+ format == other.format &&
131
141
  default_font == other.default_font &&
132
142
  font_substitutes == other.font_substitutes &&
133
143
  password == other.password &&
@@ -144,7 +154,7 @@ module GroupDocsConversionCloud
144
154
  # Calculates hash code according to all attributes.
145
155
  # @return [Fixnum] Hash code
146
156
  def hash
147
- [default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
157
+ [format, default_font, font_substitutes, password, hide_comments, show_hidden_slides].hash
148
158
  end
149
159
 
150
160
  # Downcases first letter.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="psd_convert_options.rb">
4
- # Copyright (c) 2003-2021 Aspose Pty Ltd
4
+ # Copyright (c) 2003-2022 Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy