cloudmersive-convert-api-client 1.3.2 → 1.3.3

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/README.md +6 -4
  3. data/cloudmersive-convert-api-client.gemspec +1 -1
  4. data/docs/ConvertDataApi.md +110 -0
  5. data/docs/ConvertImageApi.md +4 -4
  6. data/lib/cloudmersive-convert-api-client.rb +1 -1
  7. data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +1 -1
  8. data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +113 -1
  9. data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +1 -1
  10. data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +5 -5
  11. data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +1 -1
  12. data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +1 -1
  13. data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +1 -1
  14. data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +1 -1
  15. data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +1 -1
  16. data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +1 -1
  17. data/lib/cloudmersive-convert-api-client/api_client.rb +1 -1
  18. data/lib/cloudmersive-convert-api-client/api_error.rb +1 -1
  19. data/lib/cloudmersive-convert-api-client/configuration.rb +1 -1
  20. data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +1 -1
  21. data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +1 -1
  22. data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +1 -1
  23. data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +1 -1
  24. data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +1 -1
  25. data/lib/cloudmersive-convert-api-client/models/docx_body.rb +1 -1
  26. data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +1 -1
  27. data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +1 -1
  28. data/lib/cloudmersive-convert-api-client/models/docx_header.rb +1 -1
  29. data/lib/cloudmersive-convert-api-client/models/docx_image.rb +1 -1
  30. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +1 -1
  31. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +1 -1
  32. data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +1 -1
  33. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +1 -1
  34. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +1 -1
  35. data/lib/cloudmersive-convert-api-client/models/docx_run.rb +1 -1
  36. data/lib/cloudmersive-convert-api-client/models/docx_section.rb +1 -1
  37. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +1 -1
  38. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +1 -1
  39. data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +1 -1
  40. data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +1 -1
  41. data/lib/cloudmersive-convert-api-client/models/docx_style.rb +1 -1
  42. data/lib/cloudmersive-convert-api-client/models/docx_table.rb +1 -1
  43. data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +1 -1
  44. data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +1 -1
  45. data/lib/cloudmersive-convert-api-client/models/docx_text.rb +1 -1
  46. data/lib/cloudmersive-convert-api-client/models/exif_value.rb +1 -1
  47. data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +1 -1
  48. data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +1 -1
  49. data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +1 -1
  50. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +1 -1
  51. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +1 -1
  52. data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +1 -1
  53. data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +1 -1
  54. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +1 -1
  55. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +1 -1
  56. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +1 -1
  57. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +1 -1
  58. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +1 -1
  59. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +1 -1
  60. data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +1 -1
  61. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +1 -1
  62. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +1 -1
  63. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +1 -1
  64. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +1 -1
  65. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +1 -1
  66. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +1 -1
  67. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +1 -1
  68. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +1 -1
  69. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +1 -1
  70. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +1 -1
  71. data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +1 -1
  72. data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +1 -1
  73. data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +1 -1
  74. data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +1 -1
  75. data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +1 -1
  76. data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +1 -1
  77. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +1 -1
  78. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +1 -1
  79. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +1 -1
  80. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +1 -1
  81. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +1 -1
  82. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +1 -1
  83. data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +1 -1
  84. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +1 -1
  85. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +1 -1
  86. data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +1 -1
  87. data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +1 -1
  88. data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +1 -1
  89. data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +1 -1
  90. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +1 -1
  91. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +1 -1
  92. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +1 -1
  93. data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +1 -1
  94. data/lib/cloudmersive-convert-api-client/version.rb +2 -2
  95. data/spec/api/compare_document_api_spec.rb +48 -48
  96. data/spec/api/convert_data_api_spec.rb +59 -59
  97. data/spec/api/convert_document_api_spec.rb +203 -203
  98. data/spec/api/convert_image_api_spec.rb +74 -74
  99. data/spec/api/convert_template_api_spec.rb +47 -47
  100. data/spec/api/convert_web_api_spec.rb +95 -95
  101. data/spec/api/edit_document_api_spec.rb +311 -311
  102. data/spec/api/merge_document_api_spec.rb +74 -74
  103. data/spec/api/validate_document_api_spec.rb +71 -71
  104. data/spec/api/viewer_tools_api_spec.rb +47 -47
  105. data/spec/api_client_spec.rb +226 -226
  106. data/spec/configuration_spec.rb +42 -42
  107. data/spec/models/alternate_file_format_candidate_spec.rb +54 -54
  108. data/spec/models/autodetect_get_info_result_spec.rb +60 -60
  109. data/spec/models/converted_png_page_spec.rb +48 -48
  110. data/spec/models/document_validation_error_spec.rb +60 -60
  111. data/spec/models/document_validation_result_spec.rb +60 -60
  112. data/spec/models/docx_body_spec.rb +54 -54
  113. data/spec/models/docx_cell_style_spec.rb +60 -60
  114. data/spec/models/docx_footer_spec.rb +54 -54
  115. data/spec/models/docx_header_spec.rb +54 -54
  116. data/spec/models/docx_image_spec.rb +114 -114
  117. data/spec/models/docx_insert_image_request_spec.rb +78 -78
  118. data/spec/models/docx_insert_image_response_spec.rb +48 -48
  119. data/spec/models/docx_paragraph_spec.rb +60 -60
  120. data/spec/models/docx_remove_object_request_spec.rb +54 -54
  121. data/spec/models/docx_remove_object_response_spec.rb +48 -48
  122. data/spec/models/docx_run_spec.rb +84 -84
  123. data/spec/models/docx_section_spec.rb +48 -48
  124. data/spec/models/docx_set_footer_request_spec.rb +54 -54
  125. data/spec/models/docx_set_footer_response_spec.rb +48 -48
  126. data/spec/models/docx_set_header_request_spec.rb +54 -54
  127. data/spec/models/docx_set_header_response_spec.rb +48 -48
  128. data/spec/models/docx_style_spec.rb +78 -78
  129. data/spec/models/docx_table_cell_spec.rb +84 -84
  130. data/spec/models/docx_table_row_spec.rb +54 -54
  131. data/spec/models/docx_table_spec.rb +270 -270
  132. data/spec/models/docx_text_spec.rb +54 -54
  133. data/spec/models/exif_value_spec.rb +54 -54
  134. data/spec/models/finish_editing_request_spec.rb +42 -42
  135. data/spec/models/get_docx_body_request_spec.rb +48 -48
  136. data/spec/models/get_docx_body_response_spec.rb +48 -48
  137. data/spec/models/get_docx_headers_and_footers_request_spec.rb +48 -48
  138. data/spec/models/get_docx_headers_and_footers_response_spec.rb +54 -54
  139. data/spec/models/get_docx_images_request_spec.rb +48 -48
  140. data/spec/models/get_docx_images_response_spec.rb +48 -48
  141. data/spec/models/get_docx_sections_request_spec.rb +48 -48
  142. data/spec/models/get_docx_sections_response_spec.rb +48 -48
  143. data/spec/models/get_docx_styles_request_spec.rb +48 -48
  144. data/spec/models/get_docx_styles_response_spec.rb +48 -48
  145. data/spec/models/get_docx_tables_request_spec.rb +48 -48
  146. data/spec/models/get_docx_tables_response_spec.rb +48 -48
  147. data/spec/models/get_image_info_result_spec.rb +138 -138
  148. data/spec/models/get_xlsx_columns_request_spec.rb +54 -54
  149. data/spec/models/get_xlsx_columns_response_spec.rb +48 -48
  150. data/spec/models/get_xlsx_images_request_spec.rb +54 -54
  151. data/spec/models/get_xlsx_images_response_spec.rb +48 -48
  152. data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +54 -54
  153. data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +48 -48
  154. data/spec/models/get_xlsx_styles_request_spec.rb +48 -48
  155. data/spec/models/get_xlsx_styles_response_spec.rb +48 -48
  156. data/spec/models/get_xlsx_worksheets_request_spec.rb +48 -48
  157. data/spec/models/get_xlsx_worksheets_response_spec.rb +48 -48
  158. data/spec/models/html_md_result_spec.rb +48 -48
  159. data/spec/models/html_template_application_request_spec.rb +54 -54
  160. data/spec/models/html_template_application_response_spec.rb +48 -48
  161. data/spec/models/html_template_operation_spec.rb +58 -58
  162. data/spec/models/html_to_office_request_spec.rb +42 -42
  163. data/spec/models/html_to_pdf_request_spec.rb +48 -48
  164. data/spec/models/insert_docx_insert_paragraph_request_spec.rb +66 -66
  165. data/spec/models/insert_docx_insert_paragraph_response_spec.rb +48 -48
  166. data/spec/models/insert_docx_tables_request_spec.rb +66 -66
  167. data/spec/models/insert_docx_tables_response_spec.rb +48 -48
  168. data/spec/models/insert_xlsx_worksheet_request_spec.rb +54 -54
  169. data/spec/models/insert_xlsx_worksheet_response_spec.rb +48 -48
  170. data/spec/models/pdf_to_png_result_spec.rb +48 -48
  171. data/spec/models/remove_docx_headers_and_footers_request_spec.rb +60 -60
  172. data/spec/models/remove_docx_headers_and_footers_response_spec.rb +48 -48
  173. data/spec/models/replace_string_request_spec.rb +66 -66
  174. data/spec/models/screenshot_request_spec.rb +60 -60
  175. data/spec/models/viewer_response_spec.rb +48 -48
  176. data/spec/models/xlsx_image_spec.rb +66 -66
  177. data/spec/models/xlsx_spreadsheet_cell_spec.rb +66 -66
  178. data/spec/models/xlsx_spreadsheet_column_spec.rb +48 -48
  179. data/spec/models/xlsx_spreadsheet_row_spec.rb +48 -48
  180. data/spec/models/xlsx_worksheet_spec.rb +48 -48
  181. data/spec/spec_helper.rb +111 -111
  182. metadata +15 -16
@@ -1,74 +1,74 @@
1
- =begin
2
- #convertapi
3
-
4
- #Convert API lets you effortlessly convert file formats and types.
5
-
6
- OpenAPI spec version: v1
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for CloudmersiveConvertApiClient::ConvertImageApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'ConvertImageApi' do
20
- before do
21
- # run before each test
22
- @instance = CloudmersiveConvertApiClient::ConvertImageApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of ConvertImageApi' do
30
- it 'should create an instance of ConvertImageApi' do
31
- expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::ConvertImageApi)
32
- end
33
- end
34
-
35
- # unit tests for convert_image_get_image_info
36
- # Get information about an image
37
- # Get details from an image such as size, format and MIME type, compression, EXIF data such as location, DPI, unique colors, transparency information, and more
38
- # @param input_file Input file to perform the operation on.
39
- # @param [Hash] opts the optional parameters
40
- # @return [GetImageInfoResult]
41
- describe 'convert_image_get_image_info test' do
42
- it "should work" do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
- end
45
- end
46
-
47
- # unit tests for convert_image_image_format_convert
48
- # Image format conversion
49
- # Convert between over 100 file formats, including key formats such as Photoshop (PSD), PNG, JPG, GIF, NEF, and BMP.
50
- # @param format1 Input file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
51
- # @param format2 Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
52
- # @param input_file Input file to perform the operation on.
53
- # @param [Hash] opts the optional parameters
54
- # @return [String]
55
- describe 'convert_image_image_format_convert test' do
56
- it "should work" do
57
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
58
- end
59
- end
60
-
61
- # unit tests for convert_image_image_set_dpi
62
- # Change image DPI
63
- # Resize an image to have a different DPI
64
- # @param dpi New DPI in pixels-per-inch, for example 300 DPI or 600 DPI
65
- # @param input_file Input file to perform the operation on.
66
- # @param [Hash] opts the optional parameters
67
- # @return [String]
68
- describe 'convert_image_image_set_dpi test' do
69
- it "should work" do
70
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
- end
72
- end
73
-
74
- end
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudmersiveConvertApiClient::ConvertImageApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'ConvertImageApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = CloudmersiveConvertApiClient::ConvertImageApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ConvertImageApi' do
30
+ it 'should create an instance of ConvertImageApi' do
31
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::ConvertImageApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for convert_image_get_image_info
36
+ # Get information about an image
37
+ # Get details from an image such as size, format and MIME type, compression, EXIF data such as location, DPI, unique colors, transparency information, and more
38
+ # @param input_file Input file to perform the operation on.
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [GetImageInfoResult]
41
+ describe 'convert_image_get_image_info test' do
42
+ it "should work" do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for convert_image_image_format_convert
48
+ # Image format conversion
49
+ # Convert between over 100 file formats, including key formats such as Photoshop (PSD), PNG, JPG, GIF, NEF, and BMP.
50
+ # @param format1 Input file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
51
+ # @param format2 Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
52
+ # @param input_file Input file to perform the operation on.
53
+ # @param [Hash] opts the optional parameters
54
+ # @return [String]
55
+ describe 'convert_image_image_format_convert test' do
56
+ it "should work" do
57
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
58
+ end
59
+ end
60
+
61
+ # unit tests for convert_image_image_set_dpi
62
+ # Change image DPI
63
+ # Resize an image to have a different DPI
64
+ # @param dpi New DPI in pixels-per-inch, for example 300 DPI or 600 DPI
65
+ # @param input_file Input file to perform the operation on.
66
+ # @param [Hash] opts the optional parameters
67
+ # @return [String]
68
+ describe 'convert_image_image_set_dpi test' do
69
+ it "should work" do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ end
@@ -1,47 +1,47 @@
1
- =begin
2
- #convertapi
3
-
4
- #Convert API lets you effortlessly convert file formats and types.
5
-
6
- OpenAPI spec version: v1
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for CloudmersiveConvertApiClient::ConvertTemplateApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'ConvertTemplateApi' do
20
- before do
21
- # run before each test
22
- @instance = CloudmersiveConvertApiClient::ConvertTemplateApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of ConvertTemplateApi' do
30
- it 'should create an instance of ConvertTemplateApi' do
31
- expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::ConvertTemplateApi)
32
- end
33
- end
34
-
35
- # unit tests for convert_template_apply_html_template
36
- # Apply HTML template
37
- # Apply operations to fill in an HTML template, generating a final HTML result
38
- # @param value Operations to apply to template
39
- # @param [Hash] opts the optional parameters
40
- # @return [HtmlTemplateApplicationResponse]
41
- describe 'convert_template_apply_html_template test' do
42
- it "should work" do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
- end
45
- end
46
-
47
- end
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudmersiveConvertApiClient::ConvertTemplateApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'ConvertTemplateApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = CloudmersiveConvertApiClient::ConvertTemplateApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ConvertTemplateApi' do
30
+ it 'should create an instance of ConvertTemplateApi' do
31
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::ConvertTemplateApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for convert_template_apply_html_template
36
+ # Apply HTML template
37
+ # Apply operations to fill in an HTML template, generating a final HTML result
38
+ # @param value Operations to apply to template
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [HtmlTemplateApplicationResponse]
41
+ describe 'convert_template_apply_html_template test' do
42
+ it "should work" do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -1,95 +1,95 @@
1
- =begin
2
- #convertapi
3
-
4
- #Convert API lets you effortlessly convert file formats and types.
5
-
6
- OpenAPI spec version: v1
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for CloudmersiveConvertApiClient::ConvertWebApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'ConvertWebApi' do
20
- before do
21
- # run before each test
22
- @instance = CloudmersiveConvertApiClient::ConvertWebApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of ConvertWebApi' do
30
- it 'should create an instance of ConvertWebApi' do
31
- expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::ConvertWebApi)
32
- end
33
- end
34
-
35
- # unit tests for convert_web_html_to_docx
36
- # HTML to DOCX
37
- # Convert HTML to Office Word Document (DOCX) format
38
- # @param input_request
39
- # @param [Hash] opts the optional parameters
40
- # @return [String]
41
- describe 'convert_web_html_to_docx test' do
42
- it "should work" do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
- end
45
- end
46
-
47
- # unit tests for convert_web_html_to_pdf
48
- # Convert HTML string to PDF
49
- # Fully renders a website and returns a PDF of the HTML. Javascript, HTML5, CSS and other advanced features are all supported.
50
- # @param input HTML to PDF request parameters
51
- # @param [Hash] opts the optional parameters
52
- # @return [Object]
53
- describe 'convert_web_html_to_pdf test' do
54
- it "should work" do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
- end
57
- end
58
-
59
- # unit tests for convert_web_md_to_html
60
- # Convert Markdown to HTML
61
- # Convert a markdown file (.md) to HTML
62
- # @param input_file Input file to perform the operation on.
63
- # @param [Hash] opts the optional parameters
64
- # @return [HtmlMdResult]
65
- describe 'convert_web_md_to_html test' do
66
- it "should work" do
67
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
- end
69
- end
70
-
71
- # unit tests for convert_web_url_to_pdf
72
- # Convert a URL to PDF
73
- # Fully renders a website and returns a PDF of the full page. Javascript, HTML5, CSS and other advanced features are all supported.
74
- # @param input URL to PDF request parameters
75
- # @param [Hash] opts the optional parameters
76
- # @return [String]
77
- describe 'convert_web_url_to_pdf test' do
78
- it "should work" do
79
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
- end
81
- end
82
-
83
- # unit tests for convert_web_url_to_screenshot
84
- # Take screenshot of URL
85
- # Fully renders a website and returns a PNG screenshot of the full page image. Javascript, HTML5, CSS and other advanced features are all supported.
86
- # @param input Screenshot request parameters
87
- # @param [Hash] opts the optional parameters
88
- # @return [String]
89
- describe 'convert_web_url_to_screenshot test' do
90
- it "should work" do
91
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
- end
93
- end
94
-
95
- end
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudmersiveConvertApiClient::ConvertWebApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'ConvertWebApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = CloudmersiveConvertApiClient::ConvertWebApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ConvertWebApi' do
30
+ it 'should create an instance of ConvertWebApi' do
31
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::ConvertWebApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for convert_web_html_to_docx
36
+ # HTML to DOCX
37
+ # Convert HTML to Office Word Document (DOCX) format
38
+ # @param input_request
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [String]
41
+ describe 'convert_web_html_to_docx test' do
42
+ it "should work" do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for convert_web_html_to_pdf
48
+ # Convert HTML string to PDF
49
+ # Fully renders a website and returns a PDF of the HTML. Javascript, HTML5, CSS and other advanced features are all supported.
50
+ # @param input HTML to PDF request parameters
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [Object]
53
+ describe 'convert_web_html_to_pdf test' do
54
+ it "should work" do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for convert_web_md_to_html
60
+ # Convert Markdown to HTML
61
+ # Convert a markdown file (.md) to HTML
62
+ # @param input_file Input file to perform the operation on.
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [HtmlMdResult]
65
+ describe 'convert_web_md_to_html test' do
66
+ it "should work" do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ # unit tests for convert_web_url_to_pdf
72
+ # Convert a URL to PDF
73
+ # Fully renders a website and returns a PDF of the full page. Javascript, HTML5, CSS and other advanced features are all supported.
74
+ # @param input URL to PDF request parameters
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [String]
77
+ describe 'convert_web_url_to_pdf test' do
78
+ it "should work" do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ # unit tests for convert_web_url_to_screenshot
84
+ # Take screenshot of URL
85
+ # Fully renders a website and returns a PNG screenshot of the full page image. Javascript, HTML5, CSS and other advanced features are all supported.
86
+ # @param input Screenshot request parameters
87
+ # @param [Hash] opts the optional parameters
88
+ # @return [String]
89
+ describe 'convert_web_url_to_screenshot test' do
90
+ it "should work" do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ end
@@ -1,311 +1,311 @@
1
- =begin
2
- #convertapi
3
-
4
- #Convert API lets you effortlessly convert file formats and types.
5
-
6
- OpenAPI spec version: v1
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for CloudmersiveConvertApiClient::EditDocumentApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'EditDocumentApi' do
20
- before do
21
- # run before each test
22
- @instance = CloudmersiveConvertApiClient::EditDocumentApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of EditDocumentApi' do
30
- it 'should create an instance of EditDocumentApi' do
31
- expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::EditDocumentApi)
32
- end
33
- end
34
-
35
- # unit tests for edit_document_begin_editing
36
- # Begin editing a document
37
- # Uploads a document to Cloudmersive to begin a series of one or more editing operations
38
- # @param input_file Input file to perform the operation on.
39
- # @param [Hash] opts the optional parameters
40
- # @return [String]
41
- describe 'edit_document_begin_editing test' do
42
- it "should work" do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
- end
45
- end
46
-
47
- # unit tests for edit_document_docx_body
48
- # Get body from a DOCX
49
- # Returns the body defined in the Word Document (DOCX) format file; this is the main content part of a DOCX document
50
- # @param req_config
51
- # @param [Hash] opts the optional parameters
52
- # @return [GetDocxBodyResponse]
53
- describe 'edit_document_docx_body test' do
54
- it "should work" do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
- end
57
- end
58
-
59
- # unit tests for edit_document_docx_get_headers_and_footers
60
- # Get content of a footer from a DOCX
61
- # Returns the footer content from a Word Document (DOCX) format file
62
- # @param req_config
63
- # @param [Hash] opts the optional parameters
64
- # @return [GetDocxHeadersAndFootersResponse]
65
- describe 'edit_document_docx_get_headers_and_footers test' do
66
- it "should work" do
67
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
- end
69
- end
70
-
71
- # unit tests for edit_document_docx_get_images
72
- # Get images from a DOCX
73
- # Returns the images defined in the Word Document (DOCX) format file
74
- # @param req_config
75
- # @param [Hash] opts the optional parameters
76
- # @return [GetDocxImagesResponse]
77
- describe 'edit_document_docx_get_images test' do
78
- it "should work" do
79
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
- end
81
- end
82
-
83
- # unit tests for edit_document_docx_get_sections
84
- # Get sections from a DOCX
85
- # Returns the sections defined in the Word Document (DOCX) format file
86
- # @param req_config
87
- # @param [Hash] opts the optional parameters
88
- # @return [GetDocxSectionsResponse]
89
- describe 'edit_document_docx_get_sections test' do
90
- it "should work" do
91
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
- end
93
- end
94
-
95
- # unit tests for edit_document_docx_get_styles
96
- # Get styles from a DOCX
97
- # Returns the styles defined in the Word Document (DOCX) format file
98
- # @param req_config
99
- # @param [Hash] opts the optional parameters
100
- # @return [GetDocxStylesResponse]
101
- describe 'edit_document_docx_get_styles test' do
102
- it "should work" do
103
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
- end
105
- end
106
-
107
- # unit tests for edit_document_docx_get_tables
108
- # Get tables in DOCX
109
- # Returns all the table objects in an Office Word Document (docx)
110
- # @param req_config
111
- # @param [Hash] opts the optional parameters
112
- # @return [GetDocxTablesResponse]
113
- describe 'edit_document_docx_get_tables test' do
114
- it "should work" do
115
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
- end
117
- end
118
-
119
- # unit tests for edit_document_docx_insert_image
120
- # Insert image into a DOCX
121
- # Set the footer in a Word Document (DOCX)
122
- # @param req_config
123
- # @param [Hash] opts the optional parameters
124
- # @return [DocxInsertImageResponse]
125
- describe 'edit_document_docx_insert_image test' do
126
- it "should work" do
127
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
- end
129
- end
130
-
131
- # unit tests for edit_document_docx_insert_paragraph
132
- # Insert a new paragraph into a DOCX
133
- # Adds a new paragraph into a DOCX and returns the result. You can insert at the beginning/end of a document, or before/after an existing object using its Path (location within the document).
134
- # @param req_config
135
- # @param [Hash] opts the optional parameters
136
- # @return [InsertDocxInsertParagraphResponse]
137
- describe 'edit_document_docx_insert_paragraph test' do
138
- it "should work" do
139
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
- end
141
- end
142
-
143
- # unit tests for edit_document_docx_insert_table
144
- # Insert a new table into a DOCX
145
- # Adds a new table into a DOCX and returns the result
146
- # @param req_config
147
- # @param [Hash] opts the optional parameters
148
- # @return [InsertDocxTablesResponse]
149
- describe 'edit_document_docx_insert_table test' do
150
- it "should work" do
151
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
- end
153
- end
154
-
155
- # unit tests for edit_document_docx_remove_headers_and_footers
156
- # Remove headers and footers from DOCX
157
- # Remove all headers, or footers, or both from a Word Document (DOCX)
158
- # @param req_config
159
- # @param [Hash] opts the optional parameters
160
- # @return [RemoveDocxHeadersAndFootersResponse]
161
- describe 'edit_document_docx_remove_headers_and_footers test' do
162
- it "should work" do
163
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
- end
165
- end
166
-
167
- # unit tests for edit_document_docx_remove_object
168
- # Delete any object in a DOCX
169
- # Delete any object, such as a paragraph, table, image, etc. from a Word Document (DOCX). Pass in the Path of the object you would like to delete. You can call other functions such as Get-Tables, Get-Images, Get-Body, etc. to get the paths of the objects in the document.
170
- # @param req_config
171
- # @param [Hash] opts the optional parameters
172
- # @return [DocxRemoveObjectResponse]
173
- describe 'edit_document_docx_remove_object test' do
174
- it "should work" do
175
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
176
- end
177
- end
178
-
179
- # unit tests for edit_document_docx_replace
180
- # Replace string in DOCX
181
- # Replace all instances of a string in an Office Word Document (docx)
182
- # @param req_config
183
- # @param [Hash] opts the optional parameters
184
- # @return [String]
185
- describe 'edit_document_docx_replace test' do
186
- it "should work" do
187
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
188
- end
189
- end
190
-
191
- # unit tests for edit_document_docx_set_footer
192
- # Set the footer in a DOCX
193
- # Set the footer in a Word Document (DOCX)
194
- # @param req_config
195
- # @param [Hash] opts the optional parameters
196
- # @return [DocxSetFooterResponse]
197
- describe 'edit_document_docx_set_footer test' do
198
- it "should work" do
199
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
200
- end
201
- end
202
-
203
- # unit tests for edit_document_docx_set_header
204
- # Set the header in a DOCX
205
- # Set the header in a Word Document (DOCX)
206
- # @param req_config
207
- # @param [Hash] opts the optional parameters
208
- # @return [DocxSetHeaderResponse]
209
- describe 'edit_document_docx_set_header test' do
210
- it "should work" do
211
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
212
- end
213
- end
214
-
215
- # unit tests for edit_document_finish_editing
216
- # Download result from document editing
217
- # Once done editing a document, download the result. Begin editing a document by calling begin-editing, then perform operations, then call finish-editing to get the result.
218
- # @param req_config
219
- # @param [Hash] opts the optional parameters
220
- # @return [String]
221
- describe 'edit_document_finish_editing test' do
222
- it "should work" do
223
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
224
- end
225
- end
226
-
227
- # unit tests for edit_document_pptx_replace
228
- # Replace string in PPTX
229
- # Replace all instances of a string in an Office PowerPoint Document (pptx)
230
- # @param req_config
231
- # @param [Hash] opts the optional parameters
232
- # @return [String]
233
- describe 'edit_document_pptx_replace test' do
234
- it "should work" do
235
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
236
- end
237
- end
238
-
239
- # unit tests for edit_document_xlsx_get_columns
240
- # Get rows and cells from a XLSX worksheet
241
- # Returns the rows and cells defined in the Excel Spreadsheet worksheet
242
- # @param input
243
- # @param [Hash] opts the optional parameters
244
- # @return [GetXlsxColumnsResponse]
245
- describe 'edit_document_xlsx_get_columns test' do
246
- it "should work" do
247
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
248
- end
249
- end
250
-
251
- # unit tests for edit_document_xlsx_get_images
252
- # Get images from a XLSX worksheet
253
- # Returns the images defined in the Excel Spreadsheet worksheet
254
- # @param input
255
- # @param [Hash] opts the optional parameters
256
- # @return [GetXlsxImagesResponse]
257
- describe 'edit_document_xlsx_get_images test' do
258
- it "should work" do
259
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
260
- end
261
- end
262
-
263
- # unit tests for edit_document_xlsx_get_rows_and_cells
264
- # Get rows and cells from a XLSX worksheet
265
- # Returns the rows and cells defined in the Excel Spreadsheet worksheet
266
- # @param input
267
- # @param [Hash] opts the optional parameters
268
- # @return [GetXlsxRowsAndCellsResponse]
269
- describe 'edit_document_xlsx_get_rows_and_cells test' do
270
- it "should work" do
271
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
272
- end
273
- end
274
-
275
- # unit tests for edit_document_xlsx_get_styles
276
- # Get styles from a XLSX worksheet
277
- # Returns the style defined in the Excel Spreadsheet
278
- # @param input
279
- # @param [Hash] opts the optional parameters
280
- # @return [GetXlsxStylesResponse]
281
- describe 'edit_document_xlsx_get_styles test' do
282
- it "should work" do
283
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
284
- end
285
- end
286
-
287
- # unit tests for edit_document_xlsx_get_worksheets
288
- # Get worksheets from a XLSX
289
- # Returns the worksheets (tabs) defined in the Excel Spreadsheet (XLSX) format file
290
- # @param input
291
- # @param [Hash] opts the optional parameters
292
- # @return [GetXlsxWorksheetsResponse]
293
- describe 'edit_document_xlsx_get_worksheets test' do
294
- it "should work" do
295
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
296
- end
297
- end
298
-
299
- # unit tests for edit_document_xlsx_insert_worksheet
300
- # Insert a new worksheet into an XLSX spreadsheet
301
- # Inserts a new worksheet into an Excel Spreadsheet
302
- # @param input
303
- # @param [Hash] opts the optional parameters
304
- # @return [InsertXlsxWorksheetResponse]
305
- describe 'edit_document_xlsx_insert_worksheet test' do
306
- it "should work" do
307
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
308
- end
309
- end
310
-
311
- end
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: unset
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudmersiveConvertApiClient::EditDocumentApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'EditDocumentApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = CloudmersiveConvertApiClient::EditDocumentApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of EditDocumentApi' do
30
+ it 'should create an instance of EditDocumentApi' do
31
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::EditDocumentApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for edit_document_begin_editing
36
+ # Begin editing a document
37
+ # Uploads a document to Cloudmersive to begin a series of one or more editing operations
38
+ # @param input_file Input file to perform the operation on.
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [String]
41
+ describe 'edit_document_begin_editing test' do
42
+ it "should work" do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for edit_document_docx_body
48
+ # Get body from a DOCX
49
+ # Returns the body defined in the Word Document (DOCX) format file; this is the main content part of a DOCX document
50
+ # @param req_config
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [GetDocxBodyResponse]
53
+ describe 'edit_document_docx_body test' do
54
+ it "should work" do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for edit_document_docx_get_headers_and_footers
60
+ # Get content of a footer from a DOCX
61
+ # Returns the footer content from a Word Document (DOCX) format file
62
+ # @param req_config
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [GetDocxHeadersAndFootersResponse]
65
+ describe 'edit_document_docx_get_headers_and_footers test' do
66
+ it "should work" do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ # unit tests for edit_document_docx_get_images
72
+ # Get images from a DOCX
73
+ # Returns the images defined in the Word Document (DOCX) format file
74
+ # @param req_config
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [GetDocxImagesResponse]
77
+ describe 'edit_document_docx_get_images test' do
78
+ it "should work" do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ # unit tests for edit_document_docx_get_sections
84
+ # Get sections from a DOCX
85
+ # Returns the sections defined in the Word Document (DOCX) format file
86
+ # @param req_config
87
+ # @param [Hash] opts the optional parameters
88
+ # @return [GetDocxSectionsResponse]
89
+ describe 'edit_document_docx_get_sections test' do
90
+ it "should work" do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ # unit tests for edit_document_docx_get_styles
96
+ # Get styles from a DOCX
97
+ # Returns the styles defined in the Word Document (DOCX) format file
98
+ # @param req_config
99
+ # @param [Hash] opts the optional parameters
100
+ # @return [GetDocxStylesResponse]
101
+ describe 'edit_document_docx_get_styles test' do
102
+ it "should work" do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ # unit tests for edit_document_docx_get_tables
108
+ # Get tables in DOCX
109
+ # Returns all the table objects in an Office Word Document (docx)
110
+ # @param req_config
111
+ # @param [Hash] opts the optional parameters
112
+ # @return [GetDocxTablesResponse]
113
+ describe 'edit_document_docx_get_tables test' do
114
+ it "should work" do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
119
+ # unit tests for edit_document_docx_insert_image
120
+ # Insert image into a DOCX
121
+ # Set the footer in a Word Document (DOCX)
122
+ # @param req_config
123
+ # @param [Hash] opts the optional parameters
124
+ # @return [DocxInsertImageResponse]
125
+ describe 'edit_document_docx_insert_image test' do
126
+ it "should work" do
127
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
+ end
129
+ end
130
+
131
+ # unit tests for edit_document_docx_insert_paragraph
132
+ # Insert a new paragraph into a DOCX
133
+ # Adds a new paragraph into a DOCX and returns the result. You can insert at the beginning/end of a document, or before/after an existing object using its Path (location within the document).
134
+ # @param req_config
135
+ # @param [Hash] opts the optional parameters
136
+ # @return [InsertDocxInsertParagraphResponse]
137
+ describe 'edit_document_docx_insert_paragraph test' do
138
+ it "should work" do
139
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
+ end
141
+ end
142
+
143
+ # unit tests for edit_document_docx_insert_table
144
+ # Insert a new table into a DOCX
145
+ # Adds a new table into a DOCX and returns the result
146
+ # @param req_config
147
+ # @param [Hash] opts the optional parameters
148
+ # @return [InsertDocxTablesResponse]
149
+ describe 'edit_document_docx_insert_table test' do
150
+ it "should work" do
151
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
+ end
153
+ end
154
+
155
+ # unit tests for edit_document_docx_remove_headers_and_footers
156
+ # Remove headers and footers from DOCX
157
+ # Remove all headers, or footers, or both from a Word Document (DOCX)
158
+ # @param req_config
159
+ # @param [Hash] opts the optional parameters
160
+ # @return [RemoveDocxHeadersAndFootersResponse]
161
+ describe 'edit_document_docx_remove_headers_and_footers test' do
162
+ it "should work" do
163
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
+ end
165
+ end
166
+
167
+ # unit tests for edit_document_docx_remove_object
168
+ # Delete any object in a DOCX
169
+ # Delete any object, such as a paragraph, table, image, etc. from a Word Document (DOCX). Pass in the Path of the object you would like to delete. You can call other functions such as Get-Tables, Get-Images, Get-Body, etc. to get the paths of the objects in the document.
170
+ # @param req_config
171
+ # @param [Hash] opts the optional parameters
172
+ # @return [DocxRemoveObjectResponse]
173
+ describe 'edit_document_docx_remove_object test' do
174
+ it "should work" do
175
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
176
+ end
177
+ end
178
+
179
+ # unit tests for edit_document_docx_replace
180
+ # Replace string in DOCX
181
+ # Replace all instances of a string in an Office Word Document (docx)
182
+ # @param req_config
183
+ # @param [Hash] opts the optional parameters
184
+ # @return [String]
185
+ describe 'edit_document_docx_replace test' do
186
+ it "should work" do
187
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
188
+ end
189
+ end
190
+
191
+ # unit tests for edit_document_docx_set_footer
192
+ # Set the footer in a DOCX
193
+ # Set the footer in a Word Document (DOCX)
194
+ # @param req_config
195
+ # @param [Hash] opts the optional parameters
196
+ # @return [DocxSetFooterResponse]
197
+ describe 'edit_document_docx_set_footer test' do
198
+ it "should work" do
199
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
200
+ end
201
+ end
202
+
203
+ # unit tests for edit_document_docx_set_header
204
+ # Set the header in a DOCX
205
+ # Set the header in a Word Document (DOCX)
206
+ # @param req_config
207
+ # @param [Hash] opts the optional parameters
208
+ # @return [DocxSetHeaderResponse]
209
+ describe 'edit_document_docx_set_header test' do
210
+ it "should work" do
211
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
212
+ end
213
+ end
214
+
215
+ # unit tests for edit_document_finish_editing
216
+ # Download result from document editing
217
+ # Once done editing a document, download the result. Begin editing a document by calling begin-editing, then perform operations, then call finish-editing to get the result.
218
+ # @param req_config
219
+ # @param [Hash] opts the optional parameters
220
+ # @return [String]
221
+ describe 'edit_document_finish_editing test' do
222
+ it "should work" do
223
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
224
+ end
225
+ end
226
+
227
+ # unit tests for edit_document_pptx_replace
228
+ # Replace string in PPTX
229
+ # Replace all instances of a string in an Office PowerPoint Document (pptx)
230
+ # @param req_config
231
+ # @param [Hash] opts the optional parameters
232
+ # @return [String]
233
+ describe 'edit_document_pptx_replace test' do
234
+ it "should work" do
235
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
236
+ end
237
+ end
238
+
239
+ # unit tests for edit_document_xlsx_get_columns
240
+ # Get rows and cells from a XLSX worksheet
241
+ # Returns the rows and cells defined in the Excel Spreadsheet worksheet
242
+ # @param input
243
+ # @param [Hash] opts the optional parameters
244
+ # @return [GetXlsxColumnsResponse]
245
+ describe 'edit_document_xlsx_get_columns test' do
246
+ it "should work" do
247
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
248
+ end
249
+ end
250
+
251
+ # unit tests for edit_document_xlsx_get_images
252
+ # Get images from a XLSX worksheet
253
+ # Returns the images defined in the Excel Spreadsheet worksheet
254
+ # @param input
255
+ # @param [Hash] opts the optional parameters
256
+ # @return [GetXlsxImagesResponse]
257
+ describe 'edit_document_xlsx_get_images test' do
258
+ it "should work" do
259
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
260
+ end
261
+ end
262
+
263
+ # unit tests for edit_document_xlsx_get_rows_and_cells
264
+ # Get rows and cells from a XLSX worksheet
265
+ # Returns the rows and cells defined in the Excel Spreadsheet worksheet
266
+ # @param input
267
+ # @param [Hash] opts the optional parameters
268
+ # @return [GetXlsxRowsAndCellsResponse]
269
+ describe 'edit_document_xlsx_get_rows_and_cells test' do
270
+ it "should work" do
271
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
272
+ end
273
+ end
274
+
275
+ # unit tests for edit_document_xlsx_get_styles
276
+ # Get styles from a XLSX worksheet
277
+ # Returns the style defined in the Excel Spreadsheet
278
+ # @param input
279
+ # @param [Hash] opts the optional parameters
280
+ # @return [GetXlsxStylesResponse]
281
+ describe 'edit_document_xlsx_get_styles test' do
282
+ it "should work" do
283
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
284
+ end
285
+ end
286
+
287
+ # unit tests for edit_document_xlsx_get_worksheets
288
+ # Get worksheets from a XLSX
289
+ # Returns the worksheets (tabs) defined in the Excel Spreadsheet (XLSX) format file
290
+ # @param input
291
+ # @param [Hash] opts the optional parameters
292
+ # @return [GetXlsxWorksheetsResponse]
293
+ describe 'edit_document_xlsx_get_worksheets test' do
294
+ it "should work" do
295
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
296
+ end
297
+ end
298
+
299
+ # unit tests for edit_document_xlsx_insert_worksheet
300
+ # Insert a new worksheet into an XLSX spreadsheet
301
+ # Inserts a new worksheet into an Excel Spreadsheet
302
+ # @param input
303
+ # @param [Hash] opts the optional parameters
304
+ # @return [InsertXlsxWorksheetResponse]
305
+ describe 'edit_document_xlsx_insert_worksheet test' do
306
+ it "should work" do
307
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
308
+ end
309
+ end
310
+
311
+ end