cloudmersive-convert-api-client 1.2.8 → 1.2.9
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/{client/Gemfile → Gemfile} +0 -0
- data/{client/README.md → README.md} +49 -4
- data/{client/Rakefile → Rakefile} +0 -0
- data/{client/cloudmersive-convert-api-client.gemspec → cloudmersive-convert-api-client.gemspec} +0 -0
- data/{client/docs → docs}/CompareDocumentApi.md +0 -0
- data/{client/docs → docs}/ConvertDataApi.md +0 -0
- data/{client/docs → docs}/ConvertDocumentApi.md +0 -0
- data/{client/docs → docs}/ConvertImageApi.md +113 -0
- data/{client/docs → docs}/ConvertTemplateApi.md +0 -0
- data/{client/docs → docs}/ConvertWebApi.md +0 -0
- data/{client/docs → docs}/ConvertedPngPage.md +0 -0
- data/{client/docs → docs}/DocumentValidationError.md +0 -0
- data/{client/docs → docs}/DocumentValidationResult.md +0 -0
- data/docs/DocxBody.md +10 -0
- data/docs/DocxCellStyle.md +11 -0
- data/{client/docs → docs}/DocxFooter.md +1 -0
- data/{client/docs → docs}/DocxHeader.md +1 -0
- data/docs/DocxImage.md +20 -0
- data/docs/DocxInsertImageRequest.md +14 -0
- data/{client/docs → docs}/DocxInsertImageResponse.md +0 -0
- data/{client/docs → docs}/DocxParagraph.md +1 -0
- data/docs/DocxRemoveObjectRequest.md +10 -0
- data/docs/DocxRemoveObjectResponse.md +9 -0
- data/{client/docs → docs}/DocxRun.md +1 -0
- data/{client/docs → docs}/DocxSection.md +1 -0
- data/{client/docs → docs}/DocxSetFooterRequest.md +0 -0
- data/{client/docs → docs}/DocxSetFooterResponse.md +0 -0
- data/{client/docs → docs}/DocxSetHeaderRequest.md +0 -0
- data/{client/docs → docs}/DocxSetHeaderResponse.md +0 -0
- data/{client/docs → docs}/DocxStyle.md +1 -0
- data/{client/docs → docs}/DocxTable.md +2 -1
- data/{client/docs → docs}/DocxTableCell.md +1 -0
- data/{client/docs → docs}/DocxTableRow.md +1 -0
- data/{client/docs → docs}/DocxText.md +1 -0
- data/{client/docs → docs}/EditDocumentApi.md +605 -0
- data/docs/ExifValue.md +10 -0
- data/{client/docs → docs}/FinishEditingRequest.md +0 -0
- data/docs/GetDocxBodyRequest.md +9 -0
- data/docs/GetDocxBodyResponse.md +9 -0
- data/{client/docs → docs}/GetDocxHeadersAndFootersRequest.md +0 -0
- data/{client/docs → docs}/GetDocxHeadersAndFootersResponse.md +0 -0
- data/docs/GetDocxImagesRequest.md +9 -0
- data/docs/GetDocxImagesResponse.md +9 -0
- data/docs/GetDocxSectionsRequest.md +9 -0
- data/docs/GetDocxSectionsResponse.md +9 -0
- data/{client/docs → docs}/GetDocxStylesRequest.md +0 -0
- data/{client/docs → docs}/GetDocxStylesResponse.md +0 -0
- data/{client/docs → docs}/GetDocxTablesRequest.md +0 -0
- data/{client/docs → docs}/GetDocxTablesResponse.md +0 -0
- data/docs/GetImageInfoResult.md +24 -0
- data/docs/GetXlsxColumnsRequest.md +10 -0
- data/docs/GetXlsxColumnsResponse.md +9 -0
- data/docs/GetXlsxImagesRequest.md +10 -0
- data/docs/GetXlsxImagesResponse.md +9 -0
- data/docs/GetXlsxRowsAndCellsRequest.md +10 -0
- data/docs/GetXlsxRowsAndCellsResponse.md +9 -0
- data/docs/GetXlsxStylesRequest.md +9 -0
- data/docs/GetXlsxStylesResponse.md +9 -0
- data/docs/GetXlsxWorksheetsRequest.md +9 -0
- data/docs/GetXlsxWorksheetsResponse.md +9 -0
- data/{client/docs → docs}/HtmlMdResult.md +0 -0
- data/{client/docs → docs}/HtmlTemplateApplicationRequest.md +0 -0
- data/{client/docs → docs}/HtmlTemplateApplicationResponse.md +0 -0
- data/{client/docs → docs}/HtmlTemplateOperation.md +0 -0
- data/{client/docs → docs}/HtmlToOfficeRequest.md +0 -0
- data/{client/docs → docs}/HtmlToPdfRequest.md +0 -0
- data/docs/InsertDocxInsertParagraphRequest.md +12 -0
- data/docs/InsertDocxInsertParagraphResponse.md +9 -0
- data/docs/InsertDocxTablesRequest.md +12 -0
- data/{client/docs → docs}/InsertDocxTablesResponse.md +0 -0
- data/docs/InsertXlsxWorksheetRequest.md +10 -0
- data/docs/InsertXlsxWorksheetResponse.md +9 -0
- data/{client/docs → docs}/MergeDocumentApi.md +0 -0
- data/{client/docs → docs}/PdfToPngResult.md +0 -0
- data/{client/docs → docs}/RemoveDocxHeadersAndFootersRequest.md +0 -0
- data/{client/docs → docs}/RemoveDocxHeadersAndFootersResponse.md +0 -0
- data/{client/docs → docs}/ReplaceStringRequest.md +0 -0
- data/{client/docs → docs}/ScreenshotRequest.md +0 -0
- data/{client/docs → docs}/ValidateDocumentApi.md +0 -0
- data/{client/docs → docs}/ViewerResponse.md +0 -0
- data/{client/docs → docs}/ViewerToolsApi.md +0 -0
- data/docs/XlsxImage.md +12 -0
- data/docs/XlsxSpreadsheetCell.md +12 -0
- data/docs/XlsxSpreadsheetColumn.md +9 -0
- data/docs/XlsxSpreadsheetRow.md +9 -0
- data/docs/XlsxWorksheet.md +9 -0
- data/{client/git_push.sh → git_push.sh} +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client.rb +32 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/api/compare_document_api.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/api/convert_data_api.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/api/convert_document_api.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/api/convert_image_api.rb +118 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/api/convert_template_api.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/api/convert_web_api.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/api/edit_document_api.rb +605 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/api/merge_document_api.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/api/validate_document_api.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/api/viewer_tools_api.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/api_client.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/api_error.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/configuration.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/converted_png_page.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/document_validation_error.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/document_validation_result.rb +0 -0
- data/lib/cloudmersive-convert-api-client/models/docx_body.rb +213 -0
- data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +219 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/docx_footer.rb +11 -1
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/docx_header.rb +11 -1
- data/lib/cloudmersive-convert-api-client/models/docx_image.rb +309 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +27 -17
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/docx_paragraph.rb +11 -1
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +225 -0
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +199 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/docx_run.rb +11 -1
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/docx_section.rb +14 -4
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/docx_set_header_request.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/docx_set_header_response.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/docx_style.rb +11 -1
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/docx_table.rb +12 -2
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/docx_table_cell.rb +11 -1
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/docx_table_row.rb +11 -1
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/docx_text.rb +11 -1
- data/lib/cloudmersive-convert-api-client/models/exif_value.rb +206 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/finish_editing_request.rb +0 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +215 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +199 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +0 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +215 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +201 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +215 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +201 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +0 -0
- data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +350 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +225 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +201 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +225 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +201 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +225 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +201 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +215 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +201 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +215 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +201 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/html_md_result.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/html_template_application_request.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/html_template_application_response.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/html_template_operation.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/html_to_office_request.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +0 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +245 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +199 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +245 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +0 -0
- data/{client/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb → lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb} +10 -10
- data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +199 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/replace_string_request.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/screenshot_request.rb +0 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/models/viewer_response.rb +0 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +229 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +228 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +199 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +201 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +199 -0
- data/{client/lib → lib}/cloudmersive-convert-api-client/version.rb +1 -1
- data/{client/spec → spec}/api/compare_document_api_spec.rb +0 -0
- data/{client/spec → spec}/api/convert_data_api_spec.rb +0 -0
- data/{client/spec → spec}/api/convert_document_api_spec.rb +0 -0
- data/{client/spec → spec}/api/convert_image_api_spec.rb +25 -0
- data/{client/spec → spec}/api/convert_template_api_spec.rb +0 -0
- data/{client/spec → spec}/api/convert_web_api_spec.rb +0 -0
- data/{client/spec → spec}/api/edit_document_api_spec.rb +132 -0
- data/{client/spec → spec}/api/merge_document_api_spec.rb +0 -0
- data/{client/spec → spec}/api/validate_document_api_spec.rb +0 -0
- data/{client/spec → spec}/api/viewer_tools_api_spec.rb +0 -0
- data/{client/spec → spec}/api_client_spec.rb +0 -0
- data/{client/spec → spec}/configuration_spec.rb +0 -0
- data/{client/spec → spec}/models/converted_png_page_spec.rb +0 -0
- data/{client/spec → spec}/models/document_validation_error_spec.rb +0 -0
- data/{client/spec → spec}/models/document_validation_result_spec.rb +0 -0
- data/spec/models/docx_body_spec.rb +54 -0
- data/spec/models/docx_cell_style_spec.rb +60 -0
- data/{client/spec → spec}/models/docx_footer_spec.rb +6 -0
- data/{client/spec → spec}/models/docx_header_spec.rb +6 -0
- data/spec/models/docx_image_spec.rb +114 -0
- data/{client/spec → spec}/models/docx_insert_image_request_spec.rb +8 -2
- data/{client/spec → spec}/models/docx_insert_image_response_spec.rb +0 -0
- data/{client/spec → spec}/models/docx_paragraph_spec.rb +6 -0
- data/spec/models/docx_remove_object_request_spec.rb +54 -0
- data/spec/models/docx_remove_object_response_spec.rb +48 -0
- data/{client/spec → spec}/models/docx_run_spec.rb +6 -0
- data/{client/spec → spec}/models/docx_section_spec.rb +6 -0
- data/{client/spec → spec}/models/docx_set_footer_request_spec.rb +0 -0
- data/{client/spec → spec}/models/docx_set_footer_response_spec.rb +0 -0
- data/{client/spec → spec}/models/docx_set_header_request_spec.rb +0 -0
- data/{client/spec → spec}/models/docx_set_header_response_spec.rb +0 -0
- data/{client/spec → spec}/models/docx_style_spec.rb +6 -0
- data/{client/spec → spec}/models/docx_table_cell_spec.rb +6 -0
- data/{client/spec → spec}/models/docx_table_row_spec.rb +6 -0
- data/{client/spec → spec}/models/docx_table_spec.rb +6 -0
- data/{client/spec → spec}/models/docx_text_spec.rb +6 -0
- data/spec/models/exif_value_spec.rb +54 -0
- data/{client/spec → spec}/models/finish_editing_request_spec.rb +0 -0
- data/spec/models/get_docx_body_request_spec.rb +48 -0
- data/spec/models/get_docx_body_response_spec.rb +48 -0
- data/{client/spec → spec}/models/get_docx_headers_and_footers_request_spec.rb +0 -0
- data/{client/spec → spec}/models/get_docx_headers_and_footers_response_spec.rb +0 -0
- data/spec/models/get_docx_images_request_spec.rb +48 -0
- data/spec/models/get_docx_images_response_spec.rb +48 -0
- data/spec/models/get_docx_sections_request_spec.rb +48 -0
- data/spec/models/get_docx_sections_response_spec.rb +48 -0
- data/{client/spec → spec}/models/get_docx_styles_request_spec.rb +0 -0
- data/{client/spec → spec}/models/get_docx_styles_response_spec.rb +0 -0
- data/{client/spec → spec}/models/get_docx_tables_request_spec.rb +0 -0
- data/{client/spec → spec}/models/get_docx_tables_response_spec.rb +0 -0
- data/spec/models/get_image_info_result_spec.rb +138 -0
- data/spec/models/get_xlsx_columns_request_spec.rb +54 -0
- data/spec/models/get_xlsx_columns_response_spec.rb +48 -0
- data/spec/models/get_xlsx_images_request_spec.rb +54 -0
- data/spec/models/get_xlsx_images_response_spec.rb +48 -0
- data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +54 -0
- data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +48 -0
- data/spec/models/get_xlsx_styles_request_spec.rb +48 -0
- data/spec/models/get_xlsx_styles_response_spec.rb +48 -0
- data/spec/models/get_xlsx_worksheets_request_spec.rb +48 -0
- data/spec/models/get_xlsx_worksheets_response_spec.rb +48 -0
- data/{client/spec → spec}/models/html_md_result_spec.rb +0 -0
- data/{client/spec → spec}/models/html_template_application_request_spec.rb +0 -0
- data/{client/spec → spec}/models/html_template_application_response_spec.rb +0 -0
- data/{client/spec → spec}/models/html_template_operation_spec.rb +0 -0
- data/{client/spec → spec}/models/html_to_office_request_spec.rb +0 -0
- data/{client/spec → spec}/models/html_to_pdf_request_spec.rb +0 -0
- data/spec/models/insert_docx_insert_paragraph_request_spec.rb +66 -0
- data/spec/models/insert_docx_insert_paragraph_response_spec.rb +48 -0
- data/{client/spec → spec}/models/insert_docx_tables_request_spec.rb +12 -0
- data/{client/spec → spec}/models/insert_docx_tables_response_spec.rb +0 -0
- data/spec/models/insert_xlsx_worksheet_request_spec.rb +54 -0
- data/spec/models/insert_xlsx_worksheet_response_spec.rb +48 -0
- data/{client/spec → spec}/models/pdf_to_png_result_spec.rb +0 -0
- data/{client/spec → spec}/models/remove_docx_headers_and_footers_request_spec.rb +0 -0
- data/{client/spec → spec}/models/remove_docx_headers_and_footers_response_spec.rb +0 -0
- data/{client/spec → spec}/models/replace_string_request_spec.rb +0 -0
- data/{client/spec → spec}/models/screenshot_request_spec.rb +0 -0
- data/{client/spec → spec}/models/viewer_response_spec.rb +0 -0
- data/spec/models/xlsx_image_spec.rb +66 -0
- data/spec/models/xlsx_spreadsheet_cell_spec.rb +66 -0
- data/spec/models/xlsx_spreadsheet_column_spec.rb +48 -0
- data/spec/models/xlsx_spreadsheet_row_spec.rb +48 -0
- data/spec/models/xlsx_worksheet_spec.rb +48 -0
- data/{client/spec → spec}/spec_helper.rb +0 -0
- metadata +261 -171
- data/LICENSE +0 -201
- data/build.ps1 +0 -12
- data/client/docs/DocxInsertImageRequest.md +0 -13
- data/client/docs/InsertDocxTablesRequest.md +0 -10
- data/cloudmersiveConvertApiClient-1.2.6.gem +0 -0
- data/cloudmersiveConvertApiClient-1.2.7.gem +0 -0
- data/packageconfig.json +0 -11
- data/swagger-codegen-cli.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70bf2799a9b80d46e2ab03bf3cbc9f5fe41164b41e885f735ff1aaa683530f12
|
4
|
+
data.tar.gz: df0e4af6b4a55f4e496df0f76f83548793aa3804119dba3e07e1bbe980141c4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df7812c0a3b9d59de0a2e7bddf3b18498d8a4ceac2de2363359766adc776c49732a08fbbcebbaa160dc914e9ad1305f82fc44151d05121c140152adb65c7b695
|
7
|
+
data.tar.gz: 1fac18041aae2e568ab38162a4b3893d5b208986a14bbdd31b89ccfde5cee0b2551168ba8df5fd97f9119fdd03be09eb7793f3f96651614a6b4c18730bc35b8e
|
data/{client/Gemfile → Gemfile}
RENAMED
File without changes
|
@@ -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.2.
|
10
|
+
- Package version: 1.2.9
|
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.2.
|
26
|
+
gem install ./cloudmersive-convert-api-client-1.2.9.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./cloudmersive-convert-api-client-1.2.
|
28
|
+
(for development, run `gem install --dev ./cloudmersive-convert-api-client-1.2.9.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.2.
|
34
|
+
gem 'cloudmersive-convert-api-client', '~> 1.2.9'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
@@ -101,7 +101,9 @@ Class | Method | HTTP request | Description
|
|
101
101
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_xls_to_xlsx**](docs/ConvertDocumentApi.md#convert_document_xls_to_xlsx) | **POST** /convert/xls/to/xlsx | Excel XLS (97-03) to XLSX
|
102
102
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_xlsx_to_csv**](docs/ConvertDocumentApi.md#convert_document_xlsx_to_csv) | **POST** /convert/xlsx/to/csv | Excel XLSX to CSV
|
103
103
|
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_xlsx_to_pdf**](docs/ConvertDocumentApi.md#convert_document_xlsx_to_pdf) | **POST** /convert/xlsx/to/pdf | Excel XLSX to PDF
|
104
|
+
*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
|
104
105
|
*CloudmersiveConvertApiClient::ConvertImageApi* | [**convert_image_image_format_convert**](docs/ConvertImageApi.md#convert_image_image_format_convert) | **POST** /convert/image/{format1}/to/{format2} | Image format conversion
|
106
|
+
*CloudmersiveConvertApiClient::ConvertImageApi* | [**convert_image_image_set_dpi**](docs/ConvertImageApi.md#convert_image_image_set_dpi) | **POST** /convert/image/set-dpi/{dpi} | Change image DPI
|
105
107
|
*CloudmersiveConvertApiClient::ConvertTemplateApi* | [**convert_template_apply_html_template**](docs/ConvertTemplateApi.md#convert_template_apply_html_template) | **POST** /convert/template/html/apply | Apply HTML template
|
106
108
|
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_html_to_docx**](docs/ConvertWebApi.md#convert_web_html_to_docx) | **POST** /convert/html/to/docx | HTML to DOCX
|
107
109
|
*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
|
@@ -109,17 +111,28 @@ Class | Method | HTTP request | Description
|
|
109
111
|
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_url_to_pdf**](docs/ConvertWebApi.md#convert_web_url_to_pdf) | **POST** /convert/web/url/to/pdf | Convert a URL to PDF
|
110
112
|
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_url_to_screenshot**](docs/ConvertWebApi.md#convert_web_url_to_screenshot) | **POST** /convert/web/url/to/screenshot | Take screenshot of URL
|
111
113
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_begin_editing**](docs/EditDocumentApi.md#edit_document_begin_editing) | **POST** /convert/edit/begin-editing | Begin editing a document
|
114
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_body**](docs/EditDocumentApi.md#edit_document_docx_body) | **POST** /convert/edit/docx/get-body | Get body from a DOCX
|
112
115
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_get_headers_and_footers**](docs/EditDocumentApi.md#edit_document_docx_get_headers_and_footers) | **POST** /convert/edit/docx/get-headers-and-footers | Get content of a footer from a DOCX
|
116
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_get_images**](docs/EditDocumentApi.md#edit_document_docx_get_images) | **POST** /convert/edit/docx/get-images | Get images from a DOCX
|
117
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_get_sections**](docs/EditDocumentApi.md#edit_document_docx_get_sections) | **POST** /convert/edit/docx/get-sections | Get sections from a DOCX
|
113
118
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_get_styles**](docs/EditDocumentApi.md#edit_document_docx_get_styles) | **POST** /convert/edit/docx/get-styles | Get styles from a DOCX
|
114
119
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_get_tables**](docs/EditDocumentApi.md#edit_document_docx_get_tables) | **POST** /convert/edit/docx/get-tables | Get tables in DOCX
|
115
120
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_insert_image**](docs/EditDocumentApi.md#edit_document_docx_insert_image) | **POST** /convert/edit/docx/insert-image | Insert image into a DOCX
|
121
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_insert_paragraph**](docs/EditDocumentApi.md#edit_document_docx_insert_paragraph) | **POST** /convert/edit/docx/insert-paragraph | Insert a new paragraph into a DOCX
|
116
122
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_insert_table**](docs/EditDocumentApi.md#edit_document_docx_insert_table) | **POST** /convert/edit/docx/insert-table | Insert a new table into a DOCX
|
117
123
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_remove_headers_and_footers**](docs/EditDocumentApi.md#edit_document_docx_remove_headers_and_footers) | **POST** /convert/edit/docx/remove-headers-and-footers | Remove headers and footers from DOCX
|
124
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_remove_object**](docs/EditDocumentApi.md#edit_document_docx_remove_object) | **POST** /convert/edit/docx/remove-object | Delete any object in a DOCX
|
118
125
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_replace**](docs/EditDocumentApi.md#edit_document_docx_replace) | **POST** /convert/edit/docx/replace-all | Replace string in DOCX
|
119
126
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_set_footer**](docs/EditDocumentApi.md#edit_document_docx_set_footer) | **POST** /convert/edit/docx/set-footer | Set the footer in a DOCX
|
120
127
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_set_header**](docs/EditDocumentApi.md#edit_document_docx_set_header) | **POST** /convert/edit/docx/set-header | Set the header in a DOCX
|
121
128
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_finish_editing**](docs/EditDocumentApi.md#edit_document_finish_editing) | **POST** /convert/edit/finish-editing | Download result from document editing
|
122
129
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_pptx_replace**](docs/EditDocumentApi.md#edit_document_pptx_replace) | **POST** /convert/edit/pptx/replace-all | Replace string in PPTX
|
130
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_xlsx_get_columns**](docs/EditDocumentApi.md#edit_document_xlsx_get_columns) | **POST** /convert/edit/xlsx/get-columns | Get rows and cells from a XLSX worksheet
|
131
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_xlsx_get_images**](docs/EditDocumentApi.md#edit_document_xlsx_get_images) | **POST** /convert/edit/xlsx/get-images | Get images from a XLSX worksheet
|
132
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_xlsx_get_rows_and_cells**](docs/EditDocumentApi.md#edit_document_xlsx_get_rows_and_cells) | **POST** /convert/edit/xlsx/get-rows-and-cells | Get rows and cells from a XLSX worksheet
|
133
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_xlsx_get_styles**](docs/EditDocumentApi.md#edit_document_xlsx_get_styles) | **POST** /convert/edit/xlsx/get-styles | Get styles from a XLSX worksheet
|
134
|
+
*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
|
135
|
+
*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
|
123
136
|
*CloudmersiveConvertApiClient::MergeDocumentApi* | [**merge_document_docx**](docs/MergeDocumentApi.md#merge_document_docx) | **POST** /convert/merge/docx | Merge Multple Word DOCX Together
|
124
137
|
*CloudmersiveConvertApiClient::MergeDocumentApi* | [**merge_document_pptx**](docs/MergeDocumentApi.md#merge_document_pptx) | **POST** /convert/merge/pptx | Merge Multple PowerPoint PPTX Together
|
125
138
|
*CloudmersiveConvertApiClient::MergeDocumentApi* | [**merge_document_xlsx**](docs/MergeDocumentApi.md#merge_document_xlsx) | **POST** /convert/merge/xlsx | Merge Multple Excel XLSX Together
|
@@ -134,11 +147,16 @@ Class | Method | HTTP request | Description
|
|
134
147
|
- [CloudmersiveConvertApiClient::ConvertedPngPage](docs/ConvertedPngPage.md)
|
135
148
|
- [CloudmersiveConvertApiClient::DocumentValidationError](docs/DocumentValidationError.md)
|
136
149
|
- [CloudmersiveConvertApiClient::DocumentValidationResult](docs/DocumentValidationResult.md)
|
150
|
+
- [CloudmersiveConvertApiClient::DocxBody](docs/DocxBody.md)
|
151
|
+
- [CloudmersiveConvertApiClient::DocxCellStyle](docs/DocxCellStyle.md)
|
137
152
|
- [CloudmersiveConvertApiClient::DocxFooter](docs/DocxFooter.md)
|
138
153
|
- [CloudmersiveConvertApiClient::DocxHeader](docs/DocxHeader.md)
|
154
|
+
- [CloudmersiveConvertApiClient::DocxImage](docs/DocxImage.md)
|
139
155
|
- [CloudmersiveConvertApiClient::DocxInsertImageRequest](docs/DocxInsertImageRequest.md)
|
140
156
|
- [CloudmersiveConvertApiClient::DocxInsertImageResponse](docs/DocxInsertImageResponse.md)
|
141
157
|
- [CloudmersiveConvertApiClient::DocxParagraph](docs/DocxParagraph.md)
|
158
|
+
- [CloudmersiveConvertApiClient::DocxRemoveObjectRequest](docs/DocxRemoveObjectRequest.md)
|
159
|
+
- [CloudmersiveConvertApiClient::DocxRemoveObjectResponse](docs/DocxRemoveObjectResponse.md)
|
142
160
|
- [CloudmersiveConvertApiClient::DocxRun](docs/DocxRun.md)
|
143
161
|
- [CloudmersiveConvertApiClient::DocxSection](docs/DocxSection.md)
|
144
162
|
- [CloudmersiveConvertApiClient::DocxSetFooterRequest](docs/DocxSetFooterRequest.md)
|
@@ -150,27 +168,54 @@ Class | Method | HTTP request | Description
|
|
150
168
|
- [CloudmersiveConvertApiClient::DocxTableCell](docs/DocxTableCell.md)
|
151
169
|
- [CloudmersiveConvertApiClient::DocxTableRow](docs/DocxTableRow.md)
|
152
170
|
- [CloudmersiveConvertApiClient::DocxText](docs/DocxText.md)
|
171
|
+
- [CloudmersiveConvertApiClient::ExifValue](docs/ExifValue.md)
|
153
172
|
- [CloudmersiveConvertApiClient::FinishEditingRequest](docs/FinishEditingRequest.md)
|
173
|
+
- [CloudmersiveConvertApiClient::GetDocxBodyRequest](docs/GetDocxBodyRequest.md)
|
174
|
+
- [CloudmersiveConvertApiClient::GetDocxBodyResponse](docs/GetDocxBodyResponse.md)
|
154
175
|
- [CloudmersiveConvertApiClient::GetDocxHeadersAndFootersRequest](docs/GetDocxHeadersAndFootersRequest.md)
|
155
176
|
- [CloudmersiveConvertApiClient::GetDocxHeadersAndFootersResponse](docs/GetDocxHeadersAndFootersResponse.md)
|
177
|
+
- [CloudmersiveConvertApiClient::GetDocxImagesRequest](docs/GetDocxImagesRequest.md)
|
178
|
+
- [CloudmersiveConvertApiClient::GetDocxImagesResponse](docs/GetDocxImagesResponse.md)
|
179
|
+
- [CloudmersiveConvertApiClient::GetDocxSectionsRequest](docs/GetDocxSectionsRequest.md)
|
180
|
+
- [CloudmersiveConvertApiClient::GetDocxSectionsResponse](docs/GetDocxSectionsResponse.md)
|
156
181
|
- [CloudmersiveConvertApiClient::GetDocxStylesRequest](docs/GetDocxStylesRequest.md)
|
157
182
|
- [CloudmersiveConvertApiClient::GetDocxStylesResponse](docs/GetDocxStylesResponse.md)
|
158
183
|
- [CloudmersiveConvertApiClient::GetDocxTablesRequest](docs/GetDocxTablesRequest.md)
|
159
184
|
- [CloudmersiveConvertApiClient::GetDocxTablesResponse](docs/GetDocxTablesResponse.md)
|
185
|
+
- [CloudmersiveConvertApiClient::GetImageInfoResult](docs/GetImageInfoResult.md)
|
186
|
+
- [CloudmersiveConvertApiClient::GetXlsxColumnsRequest](docs/GetXlsxColumnsRequest.md)
|
187
|
+
- [CloudmersiveConvertApiClient::GetXlsxColumnsResponse](docs/GetXlsxColumnsResponse.md)
|
188
|
+
- [CloudmersiveConvertApiClient::GetXlsxImagesRequest](docs/GetXlsxImagesRequest.md)
|
189
|
+
- [CloudmersiveConvertApiClient::GetXlsxImagesResponse](docs/GetXlsxImagesResponse.md)
|
190
|
+
- [CloudmersiveConvertApiClient::GetXlsxRowsAndCellsRequest](docs/GetXlsxRowsAndCellsRequest.md)
|
191
|
+
- [CloudmersiveConvertApiClient::GetXlsxRowsAndCellsResponse](docs/GetXlsxRowsAndCellsResponse.md)
|
192
|
+
- [CloudmersiveConvertApiClient::GetXlsxStylesRequest](docs/GetXlsxStylesRequest.md)
|
193
|
+
- [CloudmersiveConvertApiClient::GetXlsxStylesResponse](docs/GetXlsxStylesResponse.md)
|
194
|
+
- [CloudmersiveConvertApiClient::GetXlsxWorksheetsRequest](docs/GetXlsxWorksheetsRequest.md)
|
195
|
+
- [CloudmersiveConvertApiClient::GetXlsxWorksheetsResponse](docs/GetXlsxWorksheetsResponse.md)
|
160
196
|
- [CloudmersiveConvertApiClient::HtmlMdResult](docs/HtmlMdResult.md)
|
161
197
|
- [CloudmersiveConvertApiClient::HtmlTemplateApplicationRequest](docs/HtmlTemplateApplicationRequest.md)
|
162
198
|
- [CloudmersiveConvertApiClient::HtmlTemplateApplicationResponse](docs/HtmlTemplateApplicationResponse.md)
|
163
199
|
- [CloudmersiveConvertApiClient::HtmlTemplateOperation](docs/HtmlTemplateOperation.md)
|
164
200
|
- [CloudmersiveConvertApiClient::HtmlToOfficeRequest](docs/HtmlToOfficeRequest.md)
|
165
201
|
- [CloudmersiveConvertApiClient::HtmlToPdfRequest](docs/HtmlToPdfRequest.md)
|
202
|
+
- [CloudmersiveConvertApiClient::InsertDocxInsertParagraphRequest](docs/InsertDocxInsertParagraphRequest.md)
|
203
|
+
- [CloudmersiveConvertApiClient::InsertDocxInsertParagraphResponse](docs/InsertDocxInsertParagraphResponse.md)
|
166
204
|
- [CloudmersiveConvertApiClient::InsertDocxTablesRequest](docs/InsertDocxTablesRequest.md)
|
167
205
|
- [CloudmersiveConvertApiClient::InsertDocxTablesResponse](docs/InsertDocxTablesResponse.md)
|
206
|
+
- [CloudmersiveConvertApiClient::InsertXlsxWorksheetRequest](docs/InsertXlsxWorksheetRequest.md)
|
207
|
+
- [CloudmersiveConvertApiClient::InsertXlsxWorksheetResponse](docs/InsertXlsxWorksheetResponse.md)
|
168
208
|
- [CloudmersiveConvertApiClient::PdfToPngResult](docs/PdfToPngResult.md)
|
169
209
|
- [CloudmersiveConvertApiClient::RemoveDocxHeadersAndFootersRequest](docs/RemoveDocxHeadersAndFootersRequest.md)
|
170
210
|
- [CloudmersiveConvertApiClient::RemoveDocxHeadersAndFootersResponse](docs/RemoveDocxHeadersAndFootersResponse.md)
|
171
211
|
- [CloudmersiveConvertApiClient::ReplaceStringRequest](docs/ReplaceStringRequest.md)
|
172
212
|
- [CloudmersiveConvertApiClient::ScreenshotRequest](docs/ScreenshotRequest.md)
|
173
213
|
- [CloudmersiveConvertApiClient::ViewerResponse](docs/ViewerResponse.md)
|
214
|
+
- [CloudmersiveConvertApiClient::XlsxImage](docs/XlsxImage.md)
|
215
|
+
- [CloudmersiveConvertApiClient::XlsxSpreadsheetCell](docs/XlsxSpreadsheetCell.md)
|
216
|
+
- [CloudmersiveConvertApiClient::XlsxSpreadsheetColumn](docs/XlsxSpreadsheetColumn.md)
|
217
|
+
- [CloudmersiveConvertApiClient::XlsxSpreadsheetRow](docs/XlsxSpreadsheetRow.md)
|
218
|
+
- [CloudmersiveConvertApiClient::XlsxWorksheet](docs/XlsxWorksheet.md)
|
174
219
|
|
175
220
|
|
176
221
|
## Documentation for Authorization
|
File without changes
|
data/{client/cloudmersive-convert-api-client.gemspec → cloudmersive-convert-api-client.gemspec}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -4,7 +4,63 @@ All URIs are relative to *https://api.cloudmersive.com*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**convert_image_get_image_info**](ConvertImageApi.md#convert_image_get_image_info) | **POST** /convert/image/get-info | Get information about an image
|
7
8
|
[**convert_image_image_format_convert**](ConvertImageApi.md#convert_image_image_format_convert) | **POST** /convert/image/{format1}/to/{format2} | Image format conversion
|
9
|
+
[**convert_image_image_set_dpi**](ConvertImageApi.md#convert_image_image_set_dpi) | **POST** /convert/image/set-dpi/{dpi} | Change image DPI
|
10
|
+
|
11
|
+
|
12
|
+
# **convert_image_get_image_info**
|
13
|
+
> GetImageInfoResult convert_image_get_image_info(input_file)
|
14
|
+
|
15
|
+
Get information about an image
|
16
|
+
|
17
|
+
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
|
18
|
+
|
19
|
+
### Example
|
20
|
+
```ruby
|
21
|
+
# load the gem
|
22
|
+
require 'cloudmersive-convert-api-client'
|
23
|
+
# setup authorization
|
24
|
+
CloudmersiveConvertApiClient.configure do |config|
|
25
|
+
# Configure API key authorization: Apikey
|
26
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
27
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
28
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = CloudmersiveConvertApiClient::ConvertImageApi.new
|
32
|
+
|
33
|
+
input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
|
34
|
+
|
35
|
+
|
36
|
+
begin
|
37
|
+
#Get information about an image
|
38
|
+
result = api_instance.convert_image_get_image_info(input_file)
|
39
|
+
p result
|
40
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
41
|
+
puts "Exception when calling ConvertImageApi->convert_image_get_image_info: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
|
47
|
+
Name | Type | Description | Notes
|
48
|
+
------------- | ------------- | ------------- | -------------
|
49
|
+
**input_file** | **File**| Input file to perform the operation on. |
|
50
|
+
|
51
|
+
### Return type
|
52
|
+
|
53
|
+
[**GetImageInfoResult**](GetImageInfoResult.md)
|
54
|
+
|
55
|
+
### Authorization
|
56
|
+
|
57
|
+
[Apikey](../README.md#Apikey)
|
58
|
+
|
59
|
+
### HTTP request headers
|
60
|
+
|
61
|
+
- **Content-Type**: multipart/form-data
|
62
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
63
|
+
|
8
64
|
|
9
65
|
|
10
66
|
# **convert_image_image_format_convert**
|
@@ -67,3 +123,60 @@ Name | Type | Description | Notes
|
|
67
123
|
|
68
124
|
|
69
125
|
|
126
|
+
# **convert_image_image_set_dpi**
|
127
|
+
> String convert_image_image_set_dpi(dpi, input_file)
|
128
|
+
|
129
|
+
Change image DPI
|
130
|
+
|
131
|
+
Resize an image to have a different DPI
|
132
|
+
|
133
|
+
### Example
|
134
|
+
```ruby
|
135
|
+
# load the gem
|
136
|
+
require 'cloudmersive-convert-api-client'
|
137
|
+
# setup authorization
|
138
|
+
CloudmersiveConvertApiClient.configure do |config|
|
139
|
+
# Configure API key authorization: Apikey
|
140
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
141
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
142
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
143
|
+
end
|
144
|
+
|
145
|
+
api_instance = CloudmersiveConvertApiClient::ConvertImageApi.new
|
146
|
+
|
147
|
+
dpi = 56 # Integer | New DPI in pixels-per-inch, for example 300 DPI or 600 DPI
|
148
|
+
|
149
|
+
input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
|
150
|
+
|
151
|
+
|
152
|
+
begin
|
153
|
+
#Change image DPI
|
154
|
+
result = api_instance.convert_image_image_set_dpi(dpi, input_file)
|
155
|
+
p result
|
156
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
157
|
+
puts "Exception when calling ConvertImageApi->convert_image_image_set_dpi: #{e}"
|
158
|
+
end
|
159
|
+
```
|
160
|
+
|
161
|
+
### Parameters
|
162
|
+
|
163
|
+
Name | Type | Description | Notes
|
164
|
+
------------- | ------------- | ------------- | -------------
|
165
|
+
**dpi** | **Integer**| New DPI in pixels-per-inch, for example 300 DPI or 600 DPI |
|
166
|
+
**input_file** | **File**| Input file to perform the operation on. |
|
167
|
+
|
168
|
+
### Return type
|
169
|
+
|
170
|
+
**String**
|
171
|
+
|
172
|
+
### Authorization
|
173
|
+
|
174
|
+
[Apikey](../README.md#Apikey)
|
175
|
+
|
176
|
+
### HTTP request headers
|
177
|
+
|
178
|
+
- **Content-Type**: multipart/form-data
|
179
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
180
|
+
|
181
|
+
|
182
|
+
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/docs/DocxBody.md
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::DocxBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**path** | **String** | The Path of the location of this object; leave blank for new tables | [optional]
|
7
|
+
**all_paragraphs** | [**Array<DocxParagraph>**](DocxParagraph.md) | All paragraphs anywhere in the document; these objects are not sequentially placed but are scatted across document | [optional]
|
8
|
+
**all_tables** | [**Array<DocxTable>**](DocxTable.md) | All tables anywhere in the document; these objects are not sequentially placed but are scatted across the document | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::DocxCellStyle
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**path** | **String** | The Path of the location of this object; leave blank for new rows | [optional]
|
7
|
+
**name** | **String** | Name of the style | [optional]
|
8
|
+
**format_id** | **Integer** | Format ID of the cell style | [optional]
|
9
|
+
**built_in_id** | **Integer** | Built=in ID of the cell style | [optional]
|
10
|
+
|
11
|
+
|
@@ -3,6 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
+
**path** | **String** | The Path of the location of this object; leave blank for new tables | [optional]
|
6
7
|
**paragraphs** | [**Array<DocxParagraph>**](DocxParagraph.md) | Paragraphs in this footer | [optional]
|
7
8
|
**sections_with_footer** | [**Array<DocxSection>**](DocxSection.md) | Sections that the footer is applied to | [optional]
|
8
9
|
|
@@ -3,6 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
+
**path** | **String** | The Path of the location of this object; leave blank for new tables | [optional]
|
6
7
|
**paragraphs** | [**Array<DocxParagraph>**](DocxParagraph.md) | Paragraphs in this header | [optional]
|
7
8
|
**sections_with_header** | [**Array<DocxSection>**](DocxSection.md) | Sections that the header is applied to | [optional]
|
8
9
|
|
data/docs/DocxImage.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::DocxImage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**path** | **String** | The Path of the location of this object; leave blank for new tables | [optional]
|
7
|
+
**image_name** | **String** | The Name of the image | [optional]
|
8
|
+
**image_id** | **Integer** | The Id of the image | [optional]
|
9
|
+
**image_description** | **String** | The Description of the image | [optional]
|
10
|
+
**image_width** | **Integer** | Width of the image in EMUs (English Metric Units); set to 0 to default to page width and aspect-ratio based height | [optional]
|
11
|
+
**image_height** | **Integer** | Height of the image in EMUs (English Metric Units); set to 0 to default to page width and aspect-ratio based height | [optional]
|
12
|
+
**x_offset** | **Integer** | X (horizontal) offset of the image | [optional]
|
13
|
+
**y_offset** | **Integer** | Y (vertical) offset of the image | [optional]
|
14
|
+
**image_data_embed_id** | **String** | Read-only; internal ID for the image contents | [optional]
|
15
|
+
**image_data_content_type** | **String** | Read-only; image data MIME content-type | [optional]
|
16
|
+
**image_internal_file_name** | **String** | Read-only; internal file name/path for the image | [optional]
|
17
|
+
**image_contents_url** | **String** | URL to the image contents; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the contents. | [optional]
|
18
|
+
**inline** | **BOOLEAN** | True if the image is inline with the text; false if it is floating | [optional]
|
19
|
+
|
20
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::DocxInsertImageRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**input_document_file_bytes** | **String** | Optional: Bytes of the input file to operate on | [optional]
|
7
|
+
**input_document_file_url** | **String** | Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public). | [optional]
|
8
|
+
**input_image_file_bytes** | **String** | Optional: Bytes of the input image file to operate on; if you supply this value do not supply InputImageFileUrl or ImageToAdd. | [optional]
|
9
|
+
**input_image_file_url** | **String** | Optional: URL of an image file to operate on as input; if you supply this value do not supply InputImageFileBytes or ImageToAdd. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public). | [optional]
|
10
|
+
**image_to_add** | [**DocxImage**](DocxImage.md) | Optional: Image to add; if you supply in this object, do not supply InputImageFileBytes or InputImageFileUrl. | [optional]
|
11
|
+
**insert_placement** | **String** | Optional; default is DocumentEnd. Placement Type of the insert; possible values are: DocumentStart (very beginning of the document), DocumentEnd (very end of the document), BeforeExistingObject (right before an existing object - fill in the InsertPath field using the Path value from an existing object), AfterExistingObject (right after an existing object - fill in the InsertPath field using the Path value from an existing object) | [optional]
|
12
|
+
**insert_path** | **String** | Optional; location within the document to insert the object; fill in the InsertPath field using the Path value from an existing object. Used with InsertPlacement of BeforeExistingObject or AfterExistingObject | [optional]
|
13
|
+
|
14
|
+
|
File without changes
|
@@ -4,6 +4,7 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**paragraph_index** | **Integer** | The index of the paragraph; 0-based | [optional]
|
7
|
+
**path** | **String** | The Path of the location of this object; leave blank for new tables | [optional]
|
7
8
|
**content_runs** | [**Array<DocxRun>**](DocxRun.md) | The content runs in the paragraph - this is where text is stored; similar to a span in HTML | [optional]
|
8
9
|
**style_id** | **String** | Style ID of the style applied to the paragraph; null if no style is applied | [optional]
|
9
10
|
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::DocxRemoveObjectRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**input_file_bytes** | **String** | Optional: Bytes of the input file to operate on | [optional]
|
7
|
+
**input_file_url** | **String** | Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public). | [optional]
|
8
|
+
**path_to_object_to_remove** | **String** | Path within the document of the object to delete; fill in the PathToObjectToRemove field using the Path value from an existing object. | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::DocxRemoveObjectResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**successful** | **BOOLEAN** | True if successful, false otherwise | [optional]
|
7
|
+
**edited_document_url** | **String** | URL to the edited DOCX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents. | [optional]
|
8
|
+
|
9
|
+
|
@@ -4,6 +4,7 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**run_index** | **Integer** | Index of the run, 0-based | [optional]
|
7
|
+
**path** | **String** | The Path of the location of this object; leave blank for new tables | [optional]
|
7
8
|
**text_items** | [**Array<DocxText>**](DocxText.md) | Text items inside the run; this is where the actual text content is stored | [optional]
|
8
9
|
**bold** | **BOOLEAN** | True to make the text bold, false otherwise | [optional]
|
9
10
|
**italic** | **BOOLEAN** | True to make the text italic, false otherwise | [optional]
|
@@ -4,5 +4,6 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**starting_page_numbers** | **Array<Integer>** | Page numbers that the section starts at, typically just one | [optional]
|
7
|
+
**path** | **String** | The Path of the location of this object; leave blank for new tables | [optional]
|
7
8
|
|
8
9
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -4,6 +4,7 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**style_id** | **String** | ID of the style | [optional]
|
7
|
+
**path** | **String** | The Path of the location of this object; leave blank for new tables | [optional]
|
7
8
|
**bold** | **BOOLEAN** | Style applies bold formatting | [optional]
|
8
9
|
**italic** | **BOOLEAN** | Style applies italic formatting | [optional]
|
9
10
|
**underline** | **BOOLEAN** | Style applies underline formatting | [optional]
|