cloudmersive-convert-api-client 1.3.3 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +10 -4
- data/cloudmersive-convert-api-client.gemspec +1 -1
- data/docs/ConvertDocumentApi.md +112 -2
- data/docs/ConvertImageApi.md +63 -2
- data/docs/ConvertWebApi.md +2 -2
- data/docs/MergeDocumentApi.md +58 -0
- data/docs/MultipageImageFormatConversionResult.md +10 -0
- data/docs/PageConversionResult.md +9 -0
- data/lib/cloudmersive-convert-api-client.rb +3 -1
- data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +116 -4
- data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +71 -3
- data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +4 -4
- data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +64 -1
- data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api_client.rb +1 -1
- data/lib/cloudmersive-convert-api-client/api_error.rb +1 -1
- data/lib/cloudmersive-convert-api-client/configuration.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_body.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_header.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_image.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_run.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_section.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_style.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_table.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/docx_text.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/exif_value.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/multipage_image_format_conversion_result.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/page_conversion_result.rb +213 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +1 -1
- data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +1 -1
- data/lib/cloudmersive-convert-api-client/version.rb +2 -2
- data/spec/api/compare_document_api_spec.rb +48 -48
- data/spec/api/convert_data_api_spec.rb +83 -59
- data/spec/api/convert_document_api_spec.rb +227 -203
- data/spec/api/convert_image_api_spec.rb +88 -74
- data/spec/api/convert_template_api_spec.rb +47 -47
- data/spec/api/convert_web_api_spec.rb +95 -95
- data/spec/api/edit_document_api_spec.rb +311 -311
- data/spec/api/merge_document_api_spec.rb +87 -74
- data/spec/api/validate_document_api_spec.rb +71 -71
- data/spec/api/viewer_tools_api_spec.rb +47 -47
- data/spec/api_client_spec.rb +226 -226
- data/spec/configuration_spec.rb +42 -42
- data/spec/models/alternate_file_format_candidate_spec.rb +54 -54
- data/spec/models/autodetect_get_info_result_spec.rb +60 -60
- data/spec/models/converted_png_page_spec.rb +48 -48
- data/spec/models/document_validation_error_spec.rb +60 -60
- data/spec/models/document_validation_result_spec.rb +60 -60
- data/spec/models/docx_body_spec.rb +54 -54
- data/spec/models/docx_cell_style_spec.rb +60 -60
- data/spec/models/docx_footer_spec.rb +54 -54
- data/spec/models/docx_header_spec.rb +54 -54
- data/spec/models/docx_image_spec.rb +114 -114
- data/spec/models/docx_insert_image_request_spec.rb +78 -78
- data/spec/models/docx_insert_image_response_spec.rb +48 -48
- data/spec/models/docx_paragraph_spec.rb +60 -60
- data/spec/models/docx_remove_object_request_spec.rb +54 -54
- data/spec/models/docx_remove_object_response_spec.rb +48 -48
- data/spec/models/docx_run_spec.rb +84 -84
- data/spec/models/docx_section_spec.rb +48 -48
- data/spec/models/docx_set_footer_request_spec.rb +54 -54
- data/spec/models/docx_set_footer_response_spec.rb +48 -48
- data/spec/models/docx_set_header_request_spec.rb +54 -54
- data/spec/models/docx_set_header_response_spec.rb +48 -48
- data/spec/models/docx_style_spec.rb +78 -78
- data/spec/models/docx_table_cell_spec.rb +84 -84
- data/spec/models/docx_table_row_spec.rb +54 -54
- data/spec/models/docx_table_spec.rb +270 -270
- data/spec/models/docx_text_spec.rb +54 -54
- data/spec/models/exif_value_spec.rb +54 -54
- data/spec/models/finish_editing_request_spec.rb +42 -42
- data/spec/models/get_docx_body_request_spec.rb +48 -48
- data/spec/models/get_docx_body_response_spec.rb +48 -48
- data/spec/models/get_docx_headers_and_footers_request_spec.rb +48 -48
- data/spec/models/get_docx_headers_and_footers_response_spec.rb +54 -54
- data/spec/models/get_docx_images_request_spec.rb +48 -48
- data/spec/models/get_docx_images_response_spec.rb +48 -48
- data/spec/models/get_docx_sections_request_spec.rb +48 -48
- data/spec/models/get_docx_sections_response_spec.rb +48 -48
- data/spec/models/get_docx_styles_request_spec.rb +48 -48
- data/spec/models/get_docx_styles_response_spec.rb +48 -48
- data/spec/models/get_docx_tables_request_spec.rb +48 -48
- data/spec/models/get_docx_tables_response_spec.rb +48 -48
- data/spec/models/get_image_info_result_spec.rb +138 -138
- data/spec/models/get_xlsx_columns_request_spec.rb +54 -54
- data/spec/models/get_xlsx_columns_response_spec.rb +48 -48
- data/spec/models/get_xlsx_images_request_spec.rb +54 -54
- data/spec/models/get_xlsx_images_response_spec.rb +48 -48
- data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +54 -54
- data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +48 -48
- data/spec/models/get_xlsx_styles_request_spec.rb +48 -48
- data/spec/models/get_xlsx_styles_response_spec.rb +48 -48
- data/spec/models/get_xlsx_worksheets_request_spec.rb +48 -48
- data/spec/models/get_xlsx_worksheets_response_spec.rb +48 -48
- data/spec/models/html_md_result_spec.rb +48 -48
- data/spec/models/html_template_application_request_spec.rb +54 -54
- data/spec/models/html_template_application_response_spec.rb +48 -48
- data/spec/models/html_template_operation_spec.rb +58 -58
- data/spec/models/html_to_office_request_spec.rb +42 -42
- data/spec/models/html_to_pdf_request_spec.rb +48 -48
- data/spec/models/insert_docx_insert_paragraph_request_spec.rb +66 -66
- data/spec/models/insert_docx_insert_paragraph_response_spec.rb +48 -48
- data/spec/models/insert_docx_tables_request_spec.rb +66 -66
- data/spec/models/insert_docx_tables_response_spec.rb +48 -48
- data/spec/models/insert_xlsx_worksheet_request_spec.rb +54 -54
- data/spec/models/insert_xlsx_worksheet_response_spec.rb +48 -48
- data/spec/models/multipage_image_format_conversion_result_spec.rb +54 -0
- data/spec/models/page_conversion_result_spec.rb +48 -0
- data/spec/models/pdf_to_png_result_spec.rb +48 -48
- data/spec/models/remove_docx_headers_and_footers_request_spec.rb +60 -60
- data/spec/models/remove_docx_headers_and_footers_response_spec.rb +48 -48
- data/spec/models/replace_string_request_spec.rb +66 -66
- data/spec/models/screenshot_request_spec.rb +60 -60
- data/spec/models/viewer_response_spec.rb +48 -48
- data/spec/models/xlsx_image_spec.rb +66 -66
- data/spec/models/xlsx_spreadsheet_cell_spec.rb +66 -66
- data/spec/models/xlsx_spreadsheet_column_spec.rb +48 -48
- data/spec/models/xlsx_spreadsheet_row_spec.rb +48 -48
- data/spec/models/xlsx_worksheet_spec.rb +48 -48
- data/spec/spec_helper.rb +111 -111
- metadata +22 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8740e203913b60401d2c614109383b8f48ead398e4c8979081b95bfdfd467999
|
4
|
+
data.tar.gz: effbf75d2f89e37b8c0b6b5f5594b71b7229c2e885fc77de7b975a5d9c512fa9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25722d43beed2f76d5bb6dc2771b46e92308f919061680bedbf1605675cb99647e21f167f1999f04508942da0940441d544e134c7dc35f1d54f77d2ee1988e9f
|
7
|
+
data.tar.gz: 8a8d6e49f1b821746592e362ecbc1d8eb7d09ae11d6f49b3f1cca4d9984a2a8276d51b645a32c06a7944e924ac7dc4965d66a388ce7a12ecec39a23554f1a7ec
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Convert API lets you effortlessly convert file formats and types.
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: v1
|
10
|
-
- Package version: 1.3.
|
10
|
+
- Package version: 1.3.5
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,15 +23,15 @@ gem build cloudmersive-convert-api-client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./cloudmersive-convert-api-client-1.3.
|
26
|
+
gem install ./cloudmersive-convert-api-client-1.3.5.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./cloudmersive-convert-api-client-1.3.
|
28
|
+
(for development, run `gem install --dev ./cloudmersive-convert-api-client-1.3.5.gem` to install the development dependencies)
|
29
29
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
31
|
|
32
32
|
Finally add this to the Gemfile:
|
33
33
|
|
34
|
-
gem 'cloudmersive-convert-api-client', '~> 1.3.
|
34
|
+
gem 'cloudmersive-convert-api-client', '~> 1.3.5'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
@@ -96,7 +96,9 @@ Class | Method | HTTP request | Description
|
|
96
96
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_doc_to_docx**](docs/ConvertDocumentApi.md#convert_document_doc_to_docx) | **POST** /convert/doc/to/docx | Word DOC (97-03) to DOCX
|
97
97
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_doc_to_pdf**](docs/ConvertDocumentApi.md#convert_document_doc_to_pdf) | **POST** /convert/doc/to/pdf | Word DOC (97-03) to PDF
|
98
98
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_docx_to_pdf**](docs/ConvertDocumentApi.md#convert_document_docx_to_pdf) | **POST** /convert/docx/to/pdf | Word DOCX to PDF
|
99
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_pdf_to_docx**](docs/ConvertDocumentApi.md#convert_document_pdf_to_docx) | **POST** /convert/pdf/to/docx | PDF to Word DOCX
|
99
100
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_pdf_to_png_array**](docs/ConvertDocumentApi.md#convert_document_pdf_to_png_array) | **POST** /convert/pdf/to/png | PDF to PNG Array
|
101
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_pdf_to_pptx**](docs/ConvertDocumentApi.md#convert_document_pdf_to_pptx) | **POST** /convert/pdf/to/pptx | PDF to PowerPoint PPTX
|
100
102
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_ppt_to_pdf**](docs/ConvertDocumentApi.md#convert_document_ppt_to_pdf) | **POST** /convert/ppt/to/pdf | PowerPoint PPT (97-03) to PDF
|
101
103
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_ppt_to_pptx**](docs/ConvertDocumentApi.md#convert_document_ppt_to_pptx) | **POST** /convert/ppt/to/pptx | PowerPoint PPT (97-03) to PPTX
|
102
104
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_pptx_to_pdf**](docs/ConvertDocumentApi.md#convert_document_pptx_to_pdf) | **POST** /convert/pptx/to/pdf | PowerPoint PPTX to PDF
|
@@ -107,6 +109,7 @@ Class | Method | HTTP request | Description
|
|
107
109
|
*CloudmersiveConvertApiClient::ConvertImageApi* | [**convert_image_get_image_info**](docs/ConvertImageApi.md#convert_image_get_image_info) | **POST** /convert/image/get-info | Get information about an image
|
108
110
|
*CloudmersiveConvertApiClient::ConvertImageApi* | [**convert_image_image_format_convert**](docs/ConvertImageApi.md#convert_image_image_format_convert) | **POST** /convert/image/{format1}/to/{format2} | Image format conversion
|
109
111
|
*CloudmersiveConvertApiClient::ConvertImageApi* | [**convert_image_image_set_dpi**](docs/ConvertImageApi.md#convert_image_image_set_dpi) | **POST** /convert/image/set-dpi/{dpi} | Change image DPI
|
112
|
+
*CloudmersiveConvertApiClient::ConvertImageApi* | [**convert_image_multipage_image_format_convert**](docs/ConvertImageApi.md#convert_image_multipage_image_format_convert) | **POST** /convert/image-multipage/{format1}/to/{format2} | Multi-page format conversion
|
110
113
|
*CloudmersiveConvertApiClient::ConvertTemplateApi* | [**convert_template_apply_html_template**](docs/ConvertTemplateApi.md#convert_template_apply_html_template) | **POST** /convert/template/html/apply | Apply HTML template
|
111
114
|
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_html_to_docx**](docs/ConvertWebApi.md#convert_web_html_to_docx) | **POST** /convert/html/to/docx | HTML to DOCX
|
112
115
|
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_html_to_pdf**](docs/ConvertWebApi.md#convert_web_html_to_pdf) | **POST** /convert/web/html/to/pdf | Convert HTML string to PDF
|
@@ -137,6 +140,7 @@ Class | Method | HTTP request | Description
|
|
137
140
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_xlsx_get_worksheets**](docs/EditDocumentApi.md#edit_document_xlsx_get_worksheets) | **POST** /convert/edit/xlsx/get-worksheets | Get worksheets from a XLSX
|
138
141
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_xlsx_insert_worksheet**](docs/EditDocumentApi.md#edit_document_xlsx_insert_worksheet) | **POST** /convert/edit/xlsx/insert-worksheet | Insert a new worksheet into an XLSX spreadsheet
|
139
142
|
*CloudmersiveConvertApiClient::MergeDocumentApi* | [**merge_document_docx**](docs/MergeDocumentApi.md#merge_document_docx) | **POST** /convert/merge/docx | Merge Multple Word DOCX Together
|
143
|
+
*CloudmersiveConvertApiClient::MergeDocumentApi* | [**merge_document_pdf**](docs/MergeDocumentApi.md#merge_document_pdf) | **POST** /convert/merge/pdf | Merge Multple PDF Files Together
|
140
144
|
*CloudmersiveConvertApiClient::MergeDocumentApi* | [**merge_document_pptx**](docs/MergeDocumentApi.md#merge_document_pptx) | **POST** /convert/merge/pptx | Merge Multple PowerPoint PPTX Together
|
141
145
|
*CloudmersiveConvertApiClient::MergeDocumentApi* | [**merge_document_xlsx**](docs/MergeDocumentApi.md#merge_document_xlsx) | **POST** /convert/merge/xlsx | Merge Multple Excel XLSX Together
|
142
146
|
*CloudmersiveConvertApiClient::ValidateDocumentApi* | [**validate_document_docx_validation**](docs/ValidateDocumentApi.md#validate_document_docx_validation) | **POST** /convert/validate/docx | Validate a Word document (DOCX)
|
@@ -210,6 +214,8 @@ Class | Method | HTTP request | Description
|
|
210
214
|
- [CloudmersiveConvertApiClient::InsertDocxTablesResponse](docs/InsertDocxTablesResponse.md)
|
211
215
|
- [CloudmersiveConvertApiClient::InsertXlsxWorksheetRequest](docs/InsertXlsxWorksheetRequest.md)
|
212
216
|
- [CloudmersiveConvertApiClient::InsertXlsxWorksheetResponse](docs/InsertXlsxWorksheetResponse.md)
|
217
|
+
- [CloudmersiveConvertApiClient::MultipageImageFormatConversionResult](docs/MultipageImageFormatConversionResult.md)
|
218
|
+
- [CloudmersiveConvertApiClient::PageConversionResult](docs/PageConversionResult.md)
|
213
219
|
- [CloudmersiveConvertApiClient::PdfToPngResult](docs/PdfToPngResult.md)
|
214
220
|
- [CloudmersiveConvertApiClient::RemoveDocxHeadersAndFootersRequest](docs/RemoveDocxHeadersAndFootersRequest.md)
|
215
221
|
- [CloudmersiveConvertApiClient::RemoveDocxHeadersAndFootersResponse](docs/RemoveDocxHeadersAndFootersResponse.md)
|
data/docs/ConvertDocumentApi.md
CHANGED
@@ -10,7 +10,9 @@ Method | HTTP request | Description
|
|
10
10
|
[**convert_document_doc_to_docx**](ConvertDocumentApi.md#convert_document_doc_to_docx) | **POST** /convert/doc/to/docx | Word DOC (97-03) to DOCX
|
11
11
|
[**convert_document_doc_to_pdf**](ConvertDocumentApi.md#convert_document_doc_to_pdf) | **POST** /convert/doc/to/pdf | Word DOC (97-03) to PDF
|
12
12
|
[**convert_document_docx_to_pdf**](ConvertDocumentApi.md#convert_document_docx_to_pdf) | **POST** /convert/docx/to/pdf | Word DOCX to PDF
|
13
|
+
[**convert_document_pdf_to_docx**](ConvertDocumentApi.md#convert_document_pdf_to_docx) | **POST** /convert/pdf/to/docx | PDF to Word DOCX
|
13
14
|
[**convert_document_pdf_to_png_array**](ConvertDocumentApi.md#convert_document_pdf_to_png_array) | **POST** /convert/pdf/to/png | PDF to PNG Array
|
15
|
+
[**convert_document_pdf_to_pptx**](ConvertDocumentApi.md#convert_document_pdf_to_pptx) | **POST** /convert/pdf/to/pptx | PDF to PowerPoint PPTX
|
14
16
|
[**convert_document_ppt_to_pdf**](ConvertDocumentApi.md#convert_document_ppt_to_pdf) | **POST** /convert/ppt/to/pdf | PowerPoint PPT (97-03) to PDF
|
15
17
|
[**convert_document_ppt_to_pptx**](ConvertDocumentApi.md#convert_document_ppt_to_pptx) | **POST** /convert/ppt/to/pptx | PowerPoint PPT (97-03) to PPTX
|
16
18
|
[**convert_document_pptx_to_pdf**](ConvertDocumentApi.md#convert_document_pptx_to_pdf) | **POST** /convert/pptx/to/pdf | PowerPoint PPTX to PDF
|
@@ -344,6 +346,60 @@ Name | Type | Description | Notes
|
|
344
346
|
|
345
347
|
|
346
348
|
|
349
|
+
# **convert_document_pdf_to_docx**
|
350
|
+
> String convert_document_pdf_to_docx(input_file)
|
351
|
+
|
352
|
+
PDF to Word DOCX
|
353
|
+
|
354
|
+
Convert standard PDF to Office Word Documents (docx). Converts a PDF at high fidelity into Word format, where it can be easily edited and processed.
|
355
|
+
|
356
|
+
### Example
|
357
|
+
```ruby
|
358
|
+
# load the gem
|
359
|
+
require 'cloudmersive-convert-api-client'
|
360
|
+
# setup authorization
|
361
|
+
CloudmersiveConvertApiClient.configure do |config|
|
362
|
+
# Configure API key authorization: Apikey
|
363
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
364
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
365
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
366
|
+
end
|
367
|
+
|
368
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
|
369
|
+
|
370
|
+
input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
|
371
|
+
|
372
|
+
|
373
|
+
begin
|
374
|
+
#PDF to Word DOCX
|
375
|
+
result = api_instance.convert_document_pdf_to_docx(input_file)
|
376
|
+
p result
|
377
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
378
|
+
puts "Exception when calling ConvertDocumentApi->convert_document_pdf_to_docx: #{e}"
|
379
|
+
end
|
380
|
+
```
|
381
|
+
|
382
|
+
### Parameters
|
383
|
+
|
384
|
+
Name | Type | Description | Notes
|
385
|
+
------------- | ------------- | ------------- | -------------
|
386
|
+
**input_file** | **File**| Input file to perform the operation on. |
|
387
|
+
|
388
|
+
### Return type
|
389
|
+
|
390
|
+
**String**
|
391
|
+
|
392
|
+
### Authorization
|
393
|
+
|
394
|
+
[Apikey](../README.md#Apikey)
|
395
|
+
|
396
|
+
### HTTP request headers
|
397
|
+
|
398
|
+
- **Content-Type**: multipart/form-data
|
399
|
+
- **Accept**: application/octet-stream
|
400
|
+
|
401
|
+
|
402
|
+
|
347
403
|
# **convert_document_pdf_to_png_array**
|
348
404
|
> PdfToPngResult convert_document_pdf_to_png_array(input_file)
|
349
405
|
|
@@ -398,6 +454,60 @@ Name | Type | Description | Notes
|
|
398
454
|
|
399
455
|
|
400
456
|
|
457
|
+
# **convert_document_pdf_to_pptx**
|
458
|
+
> String convert_document_pdf_to_pptx(input_file)
|
459
|
+
|
460
|
+
PDF to PowerPoint PPTX
|
461
|
+
|
462
|
+
Convert standard PDF to Office PowerPoint Presentation (pptx). Converts a PDF file at high fidelity into PowerPoint format, where it can be easily edited and processed.
|
463
|
+
|
464
|
+
### Example
|
465
|
+
```ruby
|
466
|
+
# load the gem
|
467
|
+
require 'cloudmersive-convert-api-client'
|
468
|
+
# setup authorization
|
469
|
+
CloudmersiveConvertApiClient.configure do |config|
|
470
|
+
# Configure API key authorization: Apikey
|
471
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
472
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
473
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
474
|
+
end
|
475
|
+
|
476
|
+
api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
|
477
|
+
|
478
|
+
input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
|
479
|
+
|
480
|
+
|
481
|
+
begin
|
482
|
+
#PDF to PowerPoint PPTX
|
483
|
+
result = api_instance.convert_document_pdf_to_pptx(input_file)
|
484
|
+
p result
|
485
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
486
|
+
puts "Exception when calling ConvertDocumentApi->convert_document_pdf_to_pptx: #{e}"
|
487
|
+
end
|
488
|
+
```
|
489
|
+
|
490
|
+
### Parameters
|
491
|
+
|
492
|
+
Name | Type | Description | Notes
|
493
|
+
------------- | ------------- | ------------- | -------------
|
494
|
+
**input_file** | **File**| Input file to perform the operation on. |
|
495
|
+
|
496
|
+
### Return type
|
497
|
+
|
498
|
+
**String**
|
499
|
+
|
500
|
+
### Authorization
|
501
|
+
|
502
|
+
[Apikey](../README.md#Apikey)
|
503
|
+
|
504
|
+
### HTTP request headers
|
505
|
+
|
506
|
+
- **Content-Type**: multipart/form-data
|
507
|
+
- **Accept**: application/octet-stream
|
508
|
+
|
509
|
+
|
510
|
+
|
401
511
|
# **convert_document_ppt_to_pdf**
|
402
512
|
> String convert_document_ppt_to_pdf(input_file)
|
403
513
|
|
@@ -561,7 +671,7 @@ Name | Type | Description | Notes
|
|
561
671
|
|
562
672
|
|
563
673
|
# **convert_document_xls_to_pdf**
|
564
|
-
>
|
674
|
+
> String convert_document_xls_to_pdf(input_file)
|
565
675
|
|
566
676
|
Excel XLS (97-03) to PDF
|
567
677
|
|
@@ -601,7 +711,7 @@ Name | Type | Description | Notes
|
|
601
711
|
|
602
712
|
### Return type
|
603
713
|
|
604
|
-
**
|
714
|
+
**String**
|
605
715
|
|
606
716
|
### Authorization
|
607
717
|
|
data/docs/ConvertImageApi.md
CHANGED
@@ -7,6 +7,7 @@ Method | HTTP request | Description
|
|
7
7
|
[**convert_image_get_image_info**](ConvertImageApi.md#convert_image_get_image_info) | **POST** /convert/image/get-info | Get information about an image
|
8
8
|
[**convert_image_image_format_convert**](ConvertImageApi.md#convert_image_image_format_convert) | **POST** /convert/image/{format1}/to/{format2} | Image format conversion
|
9
9
|
[**convert_image_image_set_dpi**](ConvertImageApi.md#convert_image_image_set_dpi) | **POST** /convert/image/set-dpi/{dpi} | Change image DPI
|
10
|
+
[**convert_image_multipage_image_format_convert**](ConvertImageApi.md#convert_image_multipage_image_format_convert) | **POST** /convert/image-multipage/{format1}/to/{format2} | Multi-page format conversion
|
10
11
|
|
11
12
|
|
12
13
|
# **convert_image_get_image_info**
|
@@ -84,7 +85,7 @@ end
|
|
84
85
|
|
85
86
|
api_instance = CloudmersiveConvertApiClient::ConvertImageApi.new
|
86
87
|
|
87
|
-
format1 = "format1_example" # String | 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, PDF, 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
|
88
|
+
format1 = "format1_example" # String | Input file format as a 3+ letter file extension. You can also provide UNKNOWN for unknown file formats. 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, PDF, 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
|
88
89
|
|
89
90
|
format2 = "format2_example" # String | 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, PDF, 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
|
90
91
|
|
@@ -104,7 +105,7 @@ end
|
|
104
105
|
|
105
106
|
Name | Type | Description | Notes
|
106
107
|
------------- | ------------- | ------------- | -------------
|
107
|
-
**format1** | **String**| 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, PDF, 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 |
|
108
|
+
**format1** | **String**| Input file format as a 3+ letter file extension. You can also provide UNKNOWN for unknown file formats. 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, PDF, 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 |
|
108
109
|
**format2** | **String**| 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, PDF, 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 |
|
109
110
|
**input_file** | **File**| Input file to perform the operation on. |
|
110
111
|
|
@@ -180,3 +181,63 @@ Name | Type | Description | Notes
|
|
180
181
|
|
181
182
|
|
182
183
|
|
184
|
+
# **convert_image_multipage_image_format_convert**
|
185
|
+
> MultipageImageFormatConversionResult convert_image_multipage_image_format_convert(format1, format2, input_file)
|
186
|
+
|
187
|
+
Multi-page format conversion
|
188
|
+
|
189
|
+
Convert between over 100 file formats, including support for Multiple-Page formats (e.g. PDFs, TIFFs, etc. with multiple pages).
|
190
|
+
|
191
|
+
### Example
|
192
|
+
```ruby
|
193
|
+
# load the gem
|
194
|
+
require 'cloudmersive-convert-api-client'
|
195
|
+
# setup authorization
|
196
|
+
CloudmersiveConvertApiClient.configure do |config|
|
197
|
+
# Configure API key authorization: Apikey
|
198
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
199
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
200
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
201
|
+
end
|
202
|
+
|
203
|
+
api_instance = CloudmersiveConvertApiClient::ConvertImageApi.new
|
204
|
+
|
205
|
+
format1 = "format1_example" # String | Input file format as a 3+ letter file extension. You can also provide UNKNOWN for unknown file formats. 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, PDF, 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
|
206
|
+
|
207
|
+
format2 = "format2_example" # String | 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, PDF, 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
|
208
|
+
|
209
|
+
input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
|
210
|
+
|
211
|
+
|
212
|
+
begin
|
213
|
+
#Multi-page format conversion
|
214
|
+
result = api_instance.convert_image_multipage_image_format_convert(format1, format2, input_file)
|
215
|
+
p result
|
216
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
217
|
+
puts "Exception when calling ConvertImageApi->convert_image_multipage_image_format_convert: #{e}"
|
218
|
+
end
|
219
|
+
```
|
220
|
+
|
221
|
+
### Parameters
|
222
|
+
|
223
|
+
Name | Type | Description | Notes
|
224
|
+
------------- | ------------- | ------------- | -------------
|
225
|
+
**format1** | **String**| Input file format as a 3+ letter file extension. You can also provide UNKNOWN for unknown file formats. 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, PDF, 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 |
|
226
|
+
**format2** | **String**| 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, PDF, 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 |
|
227
|
+
**input_file** | **File**| Input file to perform the operation on. |
|
228
|
+
|
229
|
+
### Return type
|
230
|
+
|
231
|
+
[**MultipageImageFormatConversionResult**](MultipageImageFormatConversionResult.md)
|
232
|
+
|
233
|
+
### Authorization
|
234
|
+
|
235
|
+
[Apikey](../README.md#Apikey)
|
236
|
+
|
237
|
+
### HTTP request headers
|
238
|
+
|
239
|
+
- **Content-Type**: multipart/form-data
|
240
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
241
|
+
|
242
|
+
|
243
|
+
|
data/docs/ConvertWebApi.md
CHANGED
@@ -66,7 +66,7 @@ Name | Type | Description | Notes
|
|
66
66
|
|
67
67
|
|
68
68
|
# **convert_web_html_to_pdf**
|
69
|
-
>
|
69
|
+
> String convert_web_html_to_pdf(input)
|
70
70
|
|
71
71
|
Convert HTML string to PDF
|
72
72
|
|
@@ -106,7 +106,7 @@ Name | Type | Description | Notes
|
|
106
106
|
|
107
107
|
### Return type
|
108
108
|
|
109
|
-
**
|
109
|
+
**String**
|
110
110
|
|
111
111
|
### Authorization
|
112
112
|
|
data/docs/MergeDocumentApi.md
CHANGED
@@ -5,6 +5,7 @@ All URIs are relative to *https://api.cloudmersive.com*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**merge_document_docx**](MergeDocumentApi.md#merge_document_docx) | **POST** /convert/merge/docx | Merge Multple Word DOCX Together
|
8
|
+
[**merge_document_pdf**](MergeDocumentApi.md#merge_document_pdf) | **POST** /convert/merge/pdf | Merge Multple PDF Files Together
|
8
9
|
[**merge_document_pptx**](MergeDocumentApi.md#merge_document_pptx) | **POST** /convert/merge/pptx | Merge Multple PowerPoint PPTX Together
|
9
10
|
[**merge_document_xlsx**](MergeDocumentApi.md#merge_document_xlsx) | **POST** /convert/merge/xlsx | Merge Multple Excel XLSX Together
|
10
11
|
|
@@ -66,6 +67,63 @@ Name | Type | Description | Notes
|
|
66
67
|
|
67
68
|
|
68
69
|
|
70
|
+
# **merge_document_pdf**
|
71
|
+
> String merge_document_pdf(input_file1, input_file2)
|
72
|
+
|
73
|
+
Merge Multple PDF Files Together
|
74
|
+
|
75
|
+
Combine multiple PDF files (pdf) into a single PDF document, preserving the order of the input documents in the combined document
|
76
|
+
|
77
|
+
### Example
|
78
|
+
```ruby
|
79
|
+
# load the gem
|
80
|
+
require 'cloudmersive-convert-api-client'
|
81
|
+
# setup authorization
|
82
|
+
CloudmersiveConvertApiClient.configure do |config|
|
83
|
+
# Configure API key authorization: Apikey
|
84
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
85
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
86
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
87
|
+
end
|
88
|
+
|
89
|
+
api_instance = CloudmersiveConvertApiClient::MergeDocumentApi.new
|
90
|
+
|
91
|
+
input_file1 = File.new("/path/to/file.txt") # File | First input file to perform the operation on.
|
92
|
+
|
93
|
+
input_file2 = File.new("/path/to/file.txt") # File | Second input file to perform the operation on (more than 2 can be supplied).
|
94
|
+
|
95
|
+
|
96
|
+
begin
|
97
|
+
#Merge Multple PDF Files Together
|
98
|
+
result = api_instance.merge_document_pdf(input_file1, input_file2)
|
99
|
+
p result
|
100
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
101
|
+
puts "Exception when calling MergeDocumentApi->merge_document_pdf: #{e}"
|
102
|
+
end
|
103
|
+
```
|
104
|
+
|
105
|
+
### Parameters
|
106
|
+
|
107
|
+
Name | Type | Description | Notes
|
108
|
+
------------- | ------------- | ------------- | -------------
|
109
|
+
**input_file1** | **File**| First input file to perform the operation on. |
|
110
|
+
**input_file2** | **File**| Second input file to perform the operation on (more than 2 can be supplied). |
|
111
|
+
|
112
|
+
### Return type
|
113
|
+
|
114
|
+
**String**
|
115
|
+
|
116
|
+
### Authorization
|
117
|
+
|
118
|
+
[Apikey](../README.md#Apikey)
|
119
|
+
|
120
|
+
### HTTP request headers
|
121
|
+
|
122
|
+
- **Content-Type**: multipart/form-data
|
123
|
+
- **Accept**: application/octet-stream
|
124
|
+
|
125
|
+
|
126
|
+
|
69
127
|
# **merge_document_pptx**
|
70
128
|
> String merge_document_pptx(input_file1, input_file2)
|
71
129
|
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::MultipageImageFormatConversionResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**successful** | **BOOLEAN** | | [optional]
|
7
|
+
**page_count** | **Integer** | | [optional]
|
8
|
+
**pages** | [**Array<PageConversionResult>**](PageConversionResult.md) | | [optional]
|
9
|
+
|
10
|
+
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version:
|
9
|
+
Swagger Codegen version: unset
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -80,6 +80,8 @@ require 'cloudmersive-convert-api-client/models/insert_docx_tables_request'
|
|
80
80
|
require 'cloudmersive-convert-api-client/models/insert_docx_tables_response'
|
81
81
|
require 'cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request'
|
82
82
|
require 'cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response'
|
83
|
+
require 'cloudmersive-convert-api-client/models/multipage_image_format_conversion_result'
|
84
|
+
require 'cloudmersive-convert-api-client/models/page_conversion_result'
|
83
85
|
require 'cloudmersive-convert-api-client/models/pdf_to_png_result'
|
84
86
|
require 'cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request'
|
85
87
|
require 'cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response'
|