cloudmersive-convert-api-client 1.6.3 → 1.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -4
  3. data/docs/DeleteDocxTableRowRangeRequest.md +12 -0
  4. data/docs/DeleteDocxTableRowRangeResponse.md +9 -0
  5. data/docs/DocxTable.md +1 -1
  6. data/docs/DocxTableRow.md +1 -1
  7. data/docs/EditDocumentApi.md +166 -1
  8. data/docs/GetXlsxCellByIdentifierRequest.md +11 -0
  9. data/docs/GetXlsxCellByIdentifierResponse.md +9 -0
  10. data/docs/SetXlsxCellByIdentifierRequest.md +12 -0
  11. data/docs/SetXlsxCellByIdentifierResponse.md +9 -0
  12. data/lib/cloudmersive-convert-api-client.rb +6 -0
  13. data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +167 -2
  14. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_request.rb +245 -0
  15. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_response.rb +199 -0
  16. data/lib/cloudmersive-convert-api-client/models/docx_table.rb +1 -1
  17. data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +1 -1
  18. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request.rb +235 -0
  19. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response.rb +199 -0
  20. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_request.rb +245 -0
  21. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_response.rb +199 -0
  22. data/lib/cloudmersive-convert-api-client/version.rb +1 -1
  23. data/spec/api/edit_document_api_spec.rb +37 -1
  24. data/spec/models/delete_docx_table_row_range_request_spec.rb +66 -0
  25. data/spec/models/delete_docx_table_row_range_response_spec.rb +48 -0
  26. data/spec/models/get_xlsx_cell_by_identifier_request_spec.rb +60 -0
  27. data/spec/models/get_xlsx_cell_by_identifier_response_spec.rb +48 -0
  28. data/spec/models/set_xlsx_cell_by_identifier_request_spec.rb +66 -0
  29. data/spec/models/set_xlsx_cell_by_identifier_response_spec.rb +48 -0
  30. metadata +20 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 404bc80eb7731a18c1fc3046dc02c22aecda5b6e898de803aaaca9e0a3bdf1fe
4
- data.tar.gz: ed17bc0db457680bcac102109cb88ec6fa754dea7505b8759e7c645cc3ea1944
3
+ metadata.gz: 640a34facb5a1ecf0827777e0c26da310d83b6858cfe8b79689968f586a47a91
4
+ data.tar.gz: 3efa6ccf636b6e045e2357ec2d140a46630b3379bedbdf7c7aeefd58d20ff8a2
5
5
  SHA512:
6
- metadata.gz: d7dfc670d2965397b617fe0ea2ad0b68d636c0f9505e6e233f2e3b6c8ddf122e1811e282bd100fdf5435676ee8c6d7113eb3029c8b6fe4f96e60a73abaf6c18b
7
- data.tar.gz: acf3228cd98c3fbef834a7e2e7fe4a5fb1bb93313f67d5ea33de4585d5df570b629ce302ad6c1714c2c4f3218ed7559e14aec7c26f577b03a98aa718d060d78e
6
+ metadata.gz: cc253a59744fa14853d87b7c6078ce8c71ee625604aa0636f1e21694b4c719dabd3497032a746a15a306526610c9c51bf45bd3dd302cde8a7e8e53d3955d1105
7
+ data.tar.gz: c0380386f885598a6e3f9d2762eb8684ae1317db5293324988c46204882ea090463e344c14a7f780cf78d479fe649ad01b6ef5888b492bbd5f31f84a4d428f58
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.6.3
10
+ - Package version: 1.6.4
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.6.3.gem
26
+ gem install ./cloudmersive-convert-api-client-1.6.4.gem
27
27
  ```
28
- (for development, run `gem install --dev ./cloudmersive-convert-api-client-1.6.3.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./cloudmersive-convert-api-client-1.6.4.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.6.3'
34
+ gem 'cloudmersive-convert-api-client', '~> 1.6.4'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -149,6 +149,7 @@ Class | Method | HTTP request | Description
149
149
  *CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_create_blank_document**](docs/EditDocumentApi.md#edit_document_docx_create_blank_document) | **POST** /convert/edit/docx/create/blank | Create a blank Word DOCX document
150
150
  *CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_delete_pages**](docs/EditDocumentApi.md#edit_document_docx_delete_pages) | **POST** /convert/edit/docx/delete-pages | Delete, remove pages from a Word DOCX document
151
151
  *CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_delete_table_row**](docs/EditDocumentApi.md#edit_document_docx_delete_table_row) | **POST** /convert/edit/docx/delete-table-row | Deletes a table row in an existing table in a Word DOCX document
152
+ *CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_delete_table_row_range**](docs/EditDocumentApi.md#edit_document_docx_delete_table_row_range) | **POST** /convert/edit/docx/delete-table-row/range | Deletes a range of multiple table rows in an existing table in a Word DOCX document
152
153
  *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 Word DOCX document
153
154
  *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 Word DOCX document
154
155
  *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 Word DOCX document
@@ -176,6 +177,7 @@ Class | Method | HTTP request | Description
176
177
  *CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_xlsx_create_blank_spreadsheet**](docs/EditDocumentApi.md#edit_document_xlsx_create_blank_spreadsheet) | **POST** /convert/edit/xlsx/create/blank | Create a blank Excel XLSX spreadsheet
177
178
  *CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_xlsx_create_spreadsheet_from_data**](docs/EditDocumentApi.md#edit_document_xlsx_create_spreadsheet_from_data) | **POST** /convert/edit/xlsx/create/from/data | Create a new Excel XLSX spreadsheet from column and row data
178
179
  *CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_xlsx_delete_worksheet**](docs/EditDocumentApi.md#edit_document_xlsx_delete_worksheet) | **POST** /convert/edit/xlsx/delete-worksheet | Delete, remove worksheet from an Excel XLSX spreadsheet document
180
+ *CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_xlsx_get_cell_by_identifier**](docs/EditDocumentApi.md#edit_document_xlsx_get_cell_by_identifier) | **POST** /convert/edit/xlsx/get-cell/by-identifier | Get cell from an Excel XLSX spreadsheet, worksheet by cell identifier
179
181
  *CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_xlsx_get_cell_by_index**](docs/EditDocumentApi.md#edit_document_xlsx_get_cell_by_index) | **POST** /convert/edit/xlsx/get-cell/by-index | Get cell from an Excel XLSX spreadsheet, worksheet by index
180
182
  *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 Excel XLSX spreadsheet, worksheet
181
183
  *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 Excel XLSX spreadsheet, worksheet
@@ -183,6 +185,7 @@ Class | Method | HTTP request | Description
183
185
  *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 Excel XLSX spreadsheet, worksheet
184
186
  *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 Excel XLSX spreadsheet
185
187
  *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 Excel XLSX spreadsheet
188
+ *CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_xlsx_set_cell_by_identifier**](docs/EditDocumentApi.md#edit_document_xlsx_set_cell_by_identifier) | **POST** /convert/edit/xlsx/set-cell/by-identifier | Set, update cell contents in an Excel XLSX spreadsheet, worksheet by cell identifier
186
189
  *CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_xlsx_set_cell_by_index**](docs/EditDocumentApi.md#edit_document_xlsx_set_cell_by_index) | **POST** /convert/edit/xlsx/set-cell/by-index | Set, update cell contents in an Excel XLSX spreadsheet, worksheet by index
187
190
  *CloudmersiveConvertApiClient::EditPdfApi* | [**edit_pdf_add_annotations**](docs/EditPdfApi.md#edit_pdf_add_annotations) | **POST** /convert/edit/pdf/annotations/add-item | Add one or more PDF annotations, comments in the PDF document
188
191
  *CloudmersiveConvertApiClient::EditPdfApi* | [**edit_pdf_decrypt**](docs/EditPdfApi.md#edit_pdf_decrypt) | **POST** /convert/edit/pdf/decrypt | Decrypt and password-protect a PDF
@@ -242,6 +245,8 @@ Class | Method | HTTP request | Description
242
245
  - [CloudmersiveConvertApiClient::CreateBlankSpreadsheetResponse](docs/CreateBlankSpreadsheetResponse.md)
243
246
  - [CloudmersiveConvertApiClient::CreateSpreadsheetFromDataRequest](docs/CreateSpreadsheetFromDataRequest.md)
244
247
  - [CloudmersiveConvertApiClient::CreateSpreadsheetFromDataResponse](docs/CreateSpreadsheetFromDataResponse.md)
248
+ - [CloudmersiveConvertApiClient::DeleteDocxTableRowRangeRequest](docs/DeleteDocxTableRowRangeRequest.md)
249
+ - [CloudmersiveConvertApiClient::DeleteDocxTableRowRangeResponse](docs/DeleteDocxTableRowRangeResponse.md)
245
250
  - [CloudmersiveConvertApiClient::DeleteDocxTableRowRequest](docs/DeleteDocxTableRowRequest.md)
246
251
  - [CloudmersiveConvertApiClient::DeleteDocxTableRowResponse](docs/DeleteDocxTableRowResponse.md)
247
252
  - [CloudmersiveConvertApiClient::DocumentValidationError](docs/DocumentValidationError.md)
@@ -293,6 +298,8 @@ Class | Method | HTTP request | Description
293
298
  - [CloudmersiveConvertApiClient::GetDocxTablesResponse](docs/GetDocxTablesResponse.md)
294
299
  - [CloudmersiveConvertApiClient::GetImageInfoResult](docs/GetImageInfoResult.md)
295
300
  - [CloudmersiveConvertApiClient::GetPdfAnnotationsResult](docs/GetPdfAnnotationsResult.md)
301
+ - [CloudmersiveConvertApiClient::GetXlsxCellByIdentifierRequest](docs/GetXlsxCellByIdentifierRequest.md)
302
+ - [CloudmersiveConvertApiClient::GetXlsxCellByIdentifierResponse](docs/GetXlsxCellByIdentifierResponse.md)
296
303
  - [CloudmersiveConvertApiClient::GetXlsxCellRequest](docs/GetXlsxCellRequest.md)
297
304
  - [CloudmersiveConvertApiClient::GetXlsxCellResponse](docs/GetXlsxCellResponse.md)
298
305
  - [CloudmersiveConvertApiClient::GetXlsxColumnsRequest](docs/GetXlsxColumnsRequest.md)
@@ -343,6 +350,8 @@ Class | Method | HTTP request | Description
343
350
  - [CloudmersiveConvertApiClient::SetFormFieldValue](docs/SetFormFieldValue.md)
344
351
  - [CloudmersiveConvertApiClient::SetPdfFormFieldsRequest](docs/SetPdfFormFieldsRequest.md)
345
352
  - [CloudmersiveConvertApiClient::SetPdfMetadataRequest](docs/SetPdfMetadataRequest.md)
353
+ - [CloudmersiveConvertApiClient::SetXlsxCellByIdentifierRequest](docs/SetXlsxCellByIdentifierRequest.md)
354
+ - [CloudmersiveConvertApiClient::SetXlsxCellByIdentifierResponse](docs/SetXlsxCellByIdentifierResponse.md)
346
355
  - [CloudmersiveConvertApiClient::SetXlsxCellRequest](docs/SetXlsxCellRequest.md)
347
356
  - [CloudmersiveConvertApiClient::SetXlsxCellResponse](docs/SetXlsxCellResponse.md)
348
357
  - [CloudmersiveConvertApiClient::SplitDocumentResult](docs/SplitDocumentResult.md)
@@ -0,0 +1,12 @@
1
+ # CloudmersiveConvertApiClient::DeleteDocxTableRowRangeRequest
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
+ **table_path** | **String** | Path to the table to delete the row from | [optional]
9
+ **table_row_row_index_start** | **Integer** | 0-based index of the row to begin deleting rows (e.g. 0, 1, 2, ...) in the table | [optional]
10
+ **table_row_row_index_end** | **Integer** | 0-based index of the row to stop deleting rows (e.g. 0, 1, 2, ...) in the table | [optional]
11
+
12
+
@@ -0,0 +1,9 @@
1
+ # CloudmersiveConvertApiClient::DeleteDocxTableRowRangeResponse
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,7 +4,7 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **table_id** | **String** | The ID of the table; leave blank for new tables | [optional]
7
- **path** | **String** | The Path of the location of this object; leave blank for new tables | [optional]
7
+ **path** | **String** | The Path of the location of this table object; leave blank for new tables | [optional]
8
8
  **width** | **String** | The Width of the table, or 0 if not specified | [optional]
9
9
  **width_type** | **String** | The Width configuration type of the table | [optional]
10
10
  **table_rows** | [**Array<DocxTableRow>**](DocxTableRow.md) | Rows in the table; this is where the contents is located | [optional]
@@ -4,7 +4,7 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **row_index** | **Integer** | Index of the row, 0-based | [optional]
7
- **path** | **String** | The Path of the location of this object; leave blank for new tables | [optional]
7
+ **path** | **String** | The Path of the location of this table row object; leave blank for new tables | [optional]
8
8
  **row_cells** | [**Array<DocxTableCell>**](DocxTableCell.md) | Cells in the row; this is where the contents of the row is stored | [optional]
9
9
 
10
10
 
@@ -9,6 +9,7 @@ Method | HTTP request | Description
9
9
  [**edit_document_docx_create_blank_document**](EditDocumentApi.md#edit_document_docx_create_blank_document) | **POST** /convert/edit/docx/create/blank | Create a blank Word DOCX document
10
10
  [**edit_document_docx_delete_pages**](EditDocumentApi.md#edit_document_docx_delete_pages) | **POST** /convert/edit/docx/delete-pages | Delete, remove pages from a Word DOCX document
11
11
  [**edit_document_docx_delete_table_row**](EditDocumentApi.md#edit_document_docx_delete_table_row) | **POST** /convert/edit/docx/delete-table-row | Deletes a table row in an existing table in a Word DOCX document
12
+ [**edit_document_docx_delete_table_row_range**](EditDocumentApi.md#edit_document_docx_delete_table_row_range) | **POST** /convert/edit/docx/delete-table-row/range | Deletes a range of multiple table rows in an existing table in a Word DOCX document
12
13
  [**edit_document_docx_get_headers_and_footers**](EditDocumentApi.md#edit_document_docx_get_headers_and_footers) | **POST** /convert/edit/docx/get-headers-and-footers | Get content of a footer from a Word DOCX document
13
14
  [**edit_document_docx_get_images**](EditDocumentApi.md#edit_document_docx_get_images) | **POST** /convert/edit/docx/get-images | Get images from a Word DOCX document
14
15
  [**edit_document_docx_get_sections**](EditDocumentApi.md#edit_document_docx_get_sections) | **POST** /convert/edit/docx/get-sections | Get sections from a Word DOCX document
@@ -36,6 +37,7 @@ Method | HTTP request | Description
36
37
  [**edit_document_xlsx_create_blank_spreadsheet**](EditDocumentApi.md#edit_document_xlsx_create_blank_spreadsheet) | **POST** /convert/edit/xlsx/create/blank | Create a blank Excel XLSX spreadsheet
37
38
  [**edit_document_xlsx_create_spreadsheet_from_data**](EditDocumentApi.md#edit_document_xlsx_create_spreadsheet_from_data) | **POST** /convert/edit/xlsx/create/from/data | Create a new Excel XLSX spreadsheet from column and row data
38
39
  [**edit_document_xlsx_delete_worksheet**](EditDocumentApi.md#edit_document_xlsx_delete_worksheet) | **POST** /convert/edit/xlsx/delete-worksheet | Delete, remove worksheet from an Excel XLSX spreadsheet document
40
+ [**edit_document_xlsx_get_cell_by_identifier**](EditDocumentApi.md#edit_document_xlsx_get_cell_by_identifier) | **POST** /convert/edit/xlsx/get-cell/by-identifier | Get cell from an Excel XLSX spreadsheet, worksheet by cell identifier
39
41
  [**edit_document_xlsx_get_cell_by_index**](EditDocumentApi.md#edit_document_xlsx_get_cell_by_index) | **POST** /convert/edit/xlsx/get-cell/by-index | Get cell from an Excel XLSX spreadsheet, worksheet by index
40
42
  [**edit_document_xlsx_get_columns**](EditDocumentApi.md#edit_document_xlsx_get_columns) | **POST** /convert/edit/xlsx/get-columns | Get rows and cells from a Excel XLSX spreadsheet, worksheet
41
43
  [**edit_document_xlsx_get_images**](EditDocumentApi.md#edit_document_xlsx_get_images) | **POST** /convert/edit/xlsx/get-images | Get images from a Excel XLSX spreadsheet, worksheet
@@ -43,6 +45,7 @@ Method | HTTP request | Description
43
45
  [**edit_document_xlsx_get_styles**](EditDocumentApi.md#edit_document_xlsx_get_styles) | **POST** /convert/edit/xlsx/get-styles | Get styles from a Excel XLSX spreadsheet, worksheet
44
46
  [**edit_document_xlsx_get_worksheets**](EditDocumentApi.md#edit_document_xlsx_get_worksheets) | **POST** /convert/edit/xlsx/get-worksheets | Get worksheets from a Excel XLSX spreadsheet
45
47
  [**edit_document_xlsx_insert_worksheet**](EditDocumentApi.md#edit_document_xlsx_insert_worksheet) | **POST** /convert/edit/xlsx/insert-worksheet | Insert a new worksheet into an Excel XLSX spreadsheet
48
+ [**edit_document_xlsx_set_cell_by_identifier**](EditDocumentApi.md#edit_document_xlsx_set_cell_by_identifier) | **POST** /convert/edit/xlsx/set-cell/by-identifier | Set, update cell contents in an Excel XLSX spreadsheet, worksheet by cell identifier
46
49
  [**edit_document_xlsx_set_cell_by_index**](EditDocumentApi.md#edit_document_xlsx_set_cell_by_index) | **POST** /convert/edit/xlsx/set-cell/by-index | Set, update cell contents in an Excel XLSX spreadsheet, worksheet by index
47
50
 
48
51
 
@@ -316,6 +319,60 @@ Name | Type | Description | Notes
316
319
 
317
320
 
318
321
 
322
+ # **edit_document_docx_delete_table_row_range**
323
+ > DeleteDocxTableRowRangeResponse edit_document_docx_delete_table_row_range(req_config)
324
+
325
+ Deletes a range of multiple table rows in an existing table in a Word DOCX document
326
+
327
+ Deletes a range of 1 or more existing table rows in a Word DOCX Document and returns the result.
328
+
329
+ ### Example
330
+ ```ruby
331
+ # load the gem
332
+ require 'cloudmersive-convert-api-client'
333
+ # setup authorization
334
+ CloudmersiveConvertApiClient.configure do |config|
335
+ # Configure API key authorization: Apikey
336
+ config.api_key['Apikey'] = 'YOUR API KEY'
337
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
338
+ #config.api_key_prefix['Apikey'] = 'Bearer'
339
+ end
340
+
341
+ api_instance = CloudmersiveConvertApiClient::EditDocumentApi.new
342
+
343
+ req_config = CloudmersiveConvertApiClient::DeleteDocxTableRowRangeRequest.new # DeleteDocxTableRowRangeRequest | Document input request
344
+
345
+
346
+ begin
347
+ #Deletes a range of multiple table rows in an existing table in a Word DOCX document
348
+ result = api_instance.edit_document_docx_delete_table_row_range(req_config)
349
+ p result
350
+ rescue CloudmersiveConvertApiClient::ApiError => e
351
+ puts "Exception when calling EditDocumentApi->edit_document_docx_delete_table_row_range: #{e}"
352
+ end
353
+ ```
354
+
355
+ ### Parameters
356
+
357
+ Name | Type | Description | Notes
358
+ ------------- | ------------- | ------------- | -------------
359
+ **req_config** | [**DeleteDocxTableRowRangeRequest**](DeleteDocxTableRowRangeRequest.md)| Document input request |
360
+
361
+ ### Return type
362
+
363
+ [**DeleteDocxTableRowRangeResponse**](DeleteDocxTableRowRangeResponse.md)
364
+
365
+ ### Authorization
366
+
367
+ [Apikey](../README.md#Apikey)
368
+
369
+ ### HTTP request headers
370
+
371
+ - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
372
+ - **Accept**: application/json, text/json, application/xml, text/xml
373
+
374
+
375
+
319
376
  # **edit_document_docx_get_headers_and_footers**
320
377
  > GetDocxHeadersAndFootersResponse edit_document_docx_get_headers_and_footers(req_config)
321
378
 
@@ -1774,12 +1831,66 @@ Name | Type | Description | Notes
1774
1831
 
1775
1832
 
1776
1833
 
1834
+ # **edit_document_xlsx_get_cell_by_identifier**
1835
+ > GetXlsxCellByIdentifierResponse edit_document_xlsx_get_cell_by_identifier(input)
1836
+
1837
+ Get cell from an Excel XLSX spreadsheet, worksheet by cell identifier
1838
+
1839
+ Returns the value of a specific cell based on its identifier (e.g. A1, B22, C33, etc.) in the Excel Spreadsheet worksheet
1840
+
1841
+ ### Example
1842
+ ```ruby
1843
+ # load the gem
1844
+ require 'cloudmersive-convert-api-client'
1845
+ # setup authorization
1846
+ CloudmersiveConvertApiClient.configure do |config|
1847
+ # Configure API key authorization: Apikey
1848
+ config.api_key['Apikey'] = 'YOUR API KEY'
1849
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1850
+ #config.api_key_prefix['Apikey'] = 'Bearer'
1851
+ end
1852
+
1853
+ api_instance = CloudmersiveConvertApiClient::EditDocumentApi.new
1854
+
1855
+ input = CloudmersiveConvertApiClient::GetXlsxCellByIdentifierRequest.new # GetXlsxCellByIdentifierRequest | Document input request
1856
+
1857
+
1858
+ begin
1859
+ #Get cell from an Excel XLSX spreadsheet, worksheet by cell identifier
1860
+ result = api_instance.edit_document_xlsx_get_cell_by_identifier(input)
1861
+ p result
1862
+ rescue CloudmersiveConvertApiClient::ApiError => e
1863
+ puts "Exception when calling EditDocumentApi->edit_document_xlsx_get_cell_by_identifier: #{e}"
1864
+ end
1865
+ ```
1866
+
1867
+ ### Parameters
1868
+
1869
+ Name | Type | Description | Notes
1870
+ ------------- | ------------- | ------------- | -------------
1871
+ **input** | [**GetXlsxCellByIdentifierRequest**](GetXlsxCellByIdentifierRequest.md)| Document input request |
1872
+
1873
+ ### Return type
1874
+
1875
+ [**GetXlsxCellByIdentifierResponse**](GetXlsxCellByIdentifierResponse.md)
1876
+
1877
+ ### Authorization
1878
+
1879
+ [Apikey](../README.md#Apikey)
1880
+
1881
+ ### HTTP request headers
1882
+
1883
+ - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
1884
+ - **Accept**: application/json, text/json, application/xml, text/xml
1885
+
1886
+
1887
+
1777
1888
  # **edit_document_xlsx_get_cell_by_index**
1778
1889
  > GetXlsxCellResponse edit_document_xlsx_get_cell_by_index(input)
1779
1890
 
1780
1891
  Get cell from an Excel XLSX spreadsheet, worksheet by index
1781
1892
 
1782
- Returns the rows and cells defined in the Excel Spreadsheet worksheet
1893
+ Returns the value and definition of a specific cell in a specific row in the Excel Spreadsheet worksheet
1783
1894
 
1784
1895
  ### Example
1785
1896
  ```ruby
@@ -2152,6 +2263,60 @@ Name | Type | Description | Notes
2152
2263
 
2153
2264
 
2154
2265
 
2266
+ # **edit_document_xlsx_set_cell_by_identifier**
2267
+ > SetXlsxCellByIdentifierResponse edit_document_xlsx_set_cell_by_identifier(input)
2268
+
2269
+ Set, update cell contents in an Excel XLSX spreadsheet, worksheet by cell identifier
2270
+
2271
+ Sets, updates the contents of a specific cell in an Excel XLSX spreadsheet, worksheet using its cell identifier (e.g. A1, B22, C33) in the worksheet
2272
+
2273
+ ### Example
2274
+ ```ruby
2275
+ # load the gem
2276
+ require 'cloudmersive-convert-api-client'
2277
+ # setup authorization
2278
+ CloudmersiveConvertApiClient.configure do |config|
2279
+ # Configure API key authorization: Apikey
2280
+ config.api_key['Apikey'] = 'YOUR API KEY'
2281
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2282
+ #config.api_key_prefix['Apikey'] = 'Bearer'
2283
+ end
2284
+
2285
+ api_instance = CloudmersiveConvertApiClient::EditDocumentApi.new
2286
+
2287
+ input = CloudmersiveConvertApiClient::SetXlsxCellByIdentifierRequest.new # SetXlsxCellByIdentifierRequest | Document input request
2288
+
2289
+
2290
+ begin
2291
+ #Set, update cell contents in an Excel XLSX spreadsheet, worksheet by cell identifier
2292
+ result = api_instance.edit_document_xlsx_set_cell_by_identifier(input)
2293
+ p result
2294
+ rescue CloudmersiveConvertApiClient::ApiError => e
2295
+ puts "Exception when calling EditDocumentApi->edit_document_xlsx_set_cell_by_identifier: #{e}"
2296
+ end
2297
+ ```
2298
+
2299
+ ### Parameters
2300
+
2301
+ Name | Type | Description | Notes
2302
+ ------------- | ------------- | ------------- | -------------
2303
+ **input** | [**SetXlsxCellByIdentifierRequest**](SetXlsxCellByIdentifierRequest.md)| Document input request |
2304
+
2305
+ ### Return type
2306
+
2307
+ [**SetXlsxCellByIdentifierResponse**](SetXlsxCellByIdentifierResponse.md)
2308
+
2309
+ ### Authorization
2310
+
2311
+ [Apikey](../README.md#Apikey)
2312
+
2313
+ ### HTTP request headers
2314
+
2315
+ - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
2316
+ - **Accept**: application/json, text/json, application/xml, text/xml
2317
+
2318
+
2319
+
2155
2320
  # **edit_document_xlsx_set_cell_by_index**
2156
2321
  > SetXlsxCellResponse edit_document_xlsx_set_cell_by_index(input)
2157
2322
 
@@ -0,0 +1,11 @@
1
+ # CloudmersiveConvertApiClient::GetXlsxCellByIdentifierRequest
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
+ **worksheet_to_query** | [**XlsxWorksheet**](XlsxWorksheet.md) | Optional; Worksheet (tab) within the spreadsheet to get the rows and cells of; leave blank to default to the first worksheet | [optional]
9
+ **cell_identifier** | **String** | Required; Excel cell identifier, e.g. A1, B22, C33, etc. | [optional]
10
+
11
+
@@ -0,0 +1,9 @@
1
+ # CloudmersiveConvertApiClient::GetXlsxCellByIdentifierResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **successful** | **BOOLEAN** | True if successful, false otherwise | [optional]
7
+ **cell** | [**XlsxSpreadsheetCell**](XlsxSpreadsheetCell.md) | Requested Cell in the Excel XLSX document | [optional]
8
+
9
+
@@ -0,0 +1,12 @@
1
+ # CloudmersiveConvertApiClient::SetXlsxCellByIdentifierRequest
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
+ **worksheet_to_update** | [**XlsxWorksheet**](XlsxWorksheet.md) | Optional; Worksheet (tab) within the spreadsheet to update; leave blank to default to the first worksheet | [optional]
9
+ **cell_identifier** | **String** | The Excel cell identifier (e.g. A1, B2, C33, etc.) of the cell to update | [optional]
10
+ **cell_value** | [**XlsxSpreadsheetCell**](XlsxSpreadsheetCell.md) | New Cell value to update/overwrite into the Excel XLSX spreadsheet | [optional]
11
+
12
+
@@ -0,0 +1,9 @@
1
+ # CloudmersiveConvertApiClient::SetXlsxCellByIdentifierResponse
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 XLSX 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
+
@@ -31,6 +31,8 @@ require 'cloudmersive-convert-api-client/models/create_blank_spreadsheet_request
31
31
  require 'cloudmersive-convert-api-client/models/create_blank_spreadsheet_response'
32
32
  require 'cloudmersive-convert-api-client/models/create_spreadsheet_from_data_request'
33
33
  require 'cloudmersive-convert-api-client/models/create_spreadsheet_from_data_response'
34
+ require 'cloudmersive-convert-api-client/models/delete_docx_table_row_range_request'
35
+ require 'cloudmersive-convert-api-client/models/delete_docx_table_row_range_response'
34
36
  require 'cloudmersive-convert-api-client/models/delete_docx_table_row_request'
35
37
  require 'cloudmersive-convert-api-client/models/delete_docx_table_row_response'
36
38
  require 'cloudmersive-convert-api-client/models/document_validation_error'
@@ -82,6 +84,8 @@ require 'cloudmersive-convert-api-client/models/get_docx_tables_request'
82
84
  require 'cloudmersive-convert-api-client/models/get_docx_tables_response'
83
85
  require 'cloudmersive-convert-api-client/models/get_image_info_result'
84
86
  require 'cloudmersive-convert-api-client/models/get_pdf_annotations_result'
87
+ require 'cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request'
88
+ require 'cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response'
85
89
  require 'cloudmersive-convert-api-client/models/get_xlsx_cell_request'
86
90
  require 'cloudmersive-convert-api-client/models/get_xlsx_cell_response'
87
91
  require 'cloudmersive-convert-api-client/models/get_xlsx_columns_request'
@@ -132,6 +136,8 @@ require 'cloudmersive-convert-api-client/models/screenshot_request'
132
136
  require 'cloudmersive-convert-api-client/models/set_form_field_value'
133
137
  require 'cloudmersive-convert-api-client/models/set_pdf_form_fields_request'
134
138
  require 'cloudmersive-convert-api-client/models/set_pdf_metadata_request'
139
+ require 'cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_request'
140
+ require 'cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_response'
135
141
  require 'cloudmersive-convert-api-client/models/set_xlsx_cell_request'
136
142
  require 'cloudmersive-convert-api-client/models/set_xlsx_cell_response'
137
143
  require 'cloudmersive-convert-api-client/models/split_document_result'
@@ -296,6 +296,61 @@ module CloudmersiveConvertApiClient
296
296
  return data, status_code, headers
297
297
  end
298
298
 
299
+ # Deletes a range of multiple table rows in an existing table in a Word DOCX document
300
+ # Deletes a range of 1 or more existing table rows in a Word DOCX Document and returns the result.
301
+ # @param req_config Document input request
302
+ # @param [Hash] opts the optional parameters
303
+ # @return [DeleteDocxTableRowRangeResponse]
304
+ def edit_document_docx_delete_table_row_range(req_config, opts = {})
305
+ data, _status_code, _headers = edit_document_docx_delete_table_row_range_with_http_info(req_config, opts)
306
+ return data
307
+ end
308
+
309
+ # Deletes a range of multiple table rows in an existing table in a Word DOCX document
310
+ # Deletes a range of 1 or more existing table rows in a Word DOCX Document and returns the result.
311
+ # @param req_config Document input request
312
+ # @param [Hash] opts the optional parameters
313
+ # @return [Array<(DeleteDocxTableRowRangeResponse, Fixnum, Hash)>] DeleteDocxTableRowRangeResponse data, response status code and response headers
314
+ def edit_document_docx_delete_table_row_range_with_http_info(req_config, opts = {})
315
+ if @api_client.config.debugging
316
+ @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_delete_table_row_range ..."
317
+ end
318
+ # verify the required parameter 'req_config' is set
319
+ if @api_client.config.client_side_validation && req_config.nil?
320
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_delete_table_row_range"
321
+ end
322
+ # resource path
323
+ local_var_path = "/convert/edit/docx/delete-table-row/range"
324
+
325
+ # query parameters
326
+ query_params = {}
327
+
328
+ # header parameters
329
+ header_params = {}
330
+ # HTTP header 'Accept' (if needed)
331
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
332
+ # HTTP header 'Content-Type'
333
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
334
+
335
+ # form parameters
336
+ form_params = {}
337
+
338
+ # http body (model)
339
+ post_body = @api_client.object_to_http_body(req_config)
340
+ auth_names = ['Apikey']
341
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
342
+ :header_params => header_params,
343
+ :query_params => query_params,
344
+ :form_params => form_params,
345
+ :body => post_body,
346
+ :auth_names => auth_names,
347
+ :return_type => 'DeleteDocxTableRowRangeResponse')
348
+ if @api_client.config.debugging
349
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_delete_table_row_range\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
350
+ end
351
+ return data, status_code, headers
352
+ end
353
+
299
354
  # Get content of a footer from a Word DOCX document
300
355
  # Returns the footer content from a Word Document (DOCX) format file
301
356
  # @param req_config Document input request
@@ -1781,8 +1836,63 @@ module CloudmersiveConvertApiClient
1781
1836
  return data, status_code, headers
1782
1837
  end
1783
1838
 
1839
+ # Get cell from an Excel XLSX spreadsheet, worksheet by cell identifier
1840
+ # Returns the value of a specific cell based on its identifier (e.g. A1, B22, C33, etc.) in the Excel Spreadsheet worksheet
1841
+ # @param input Document input request
1842
+ # @param [Hash] opts the optional parameters
1843
+ # @return [GetXlsxCellByIdentifierResponse]
1844
+ def edit_document_xlsx_get_cell_by_identifier(input, opts = {})
1845
+ data, _status_code, _headers = edit_document_xlsx_get_cell_by_identifier_with_http_info(input, opts)
1846
+ return data
1847
+ end
1848
+
1849
+ # Get cell from an Excel XLSX spreadsheet, worksheet by cell identifier
1850
+ # Returns the value of a specific cell based on its identifier (e.g. A1, B22, C33, etc.) in the Excel Spreadsheet worksheet
1851
+ # @param input Document input request
1852
+ # @param [Hash] opts the optional parameters
1853
+ # @return [Array<(GetXlsxCellByIdentifierResponse, Fixnum, Hash)>] GetXlsxCellByIdentifierResponse data, response status code and response headers
1854
+ def edit_document_xlsx_get_cell_by_identifier_with_http_info(input, opts = {})
1855
+ if @api_client.config.debugging
1856
+ @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_get_cell_by_identifier ..."
1857
+ end
1858
+ # verify the required parameter 'input' is set
1859
+ if @api_client.config.client_side_validation && input.nil?
1860
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_get_cell_by_identifier"
1861
+ end
1862
+ # resource path
1863
+ local_var_path = "/convert/edit/xlsx/get-cell/by-identifier"
1864
+
1865
+ # query parameters
1866
+ query_params = {}
1867
+
1868
+ # header parameters
1869
+ header_params = {}
1870
+ # HTTP header 'Accept' (if needed)
1871
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1872
+ # HTTP header 'Content-Type'
1873
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1874
+
1875
+ # form parameters
1876
+ form_params = {}
1877
+
1878
+ # http body (model)
1879
+ post_body = @api_client.object_to_http_body(input)
1880
+ auth_names = ['Apikey']
1881
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1882
+ :header_params => header_params,
1883
+ :query_params => query_params,
1884
+ :form_params => form_params,
1885
+ :body => post_body,
1886
+ :auth_names => auth_names,
1887
+ :return_type => 'GetXlsxCellByIdentifierResponse')
1888
+ if @api_client.config.debugging
1889
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_get_cell_by_identifier\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1890
+ end
1891
+ return data, status_code, headers
1892
+ end
1893
+
1784
1894
  # Get cell from an Excel XLSX spreadsheet, worksheet by index
1785
- # Returns the rows and cells defined in the Excel Spreadsheet worksheet
1895
+ # Returns the value and definition of a specific cell in a specific row in the Excel Spreadsheet worksheet
1786
1896
  # @param input Document input request
1787
1897
  # @param [Hash] opts the optional parameters
1788
1898
  # @return [GetXlsxCellResponse]
@@ -1792,7 +1902,7 @@ module CloudmersiveConvertApiClient
1792
1902
  end
1793
1903
 
1794
1904
  # Get cell from an Excel XLSX spreadsheet, worksheet by index
1795
- # Returns the rows and cells defined in the Excel Spreadsheet worksheet
1905
+ # Returns the value and definition of a specific cell in a specific row in the Excel Spreadsheet worksheet
1796
1906
  # @param input Document input request
1797
1907
  # @param [Hash] opts the optional parameters
1798
1908
  # @return [Array<(GetXlsxCellResponse, Fixnum, Hash)>] GetXlsxCellResponse data, response status code and response headers
@@ -2166,6 +2276,61 @@ module CloudmersiveConvertApiClient
2166
2276
  return data, status_code, headers
2167
2277
  end
2168
2278
 
2279
+ # Set, update cell contents in an Excel XLSX spreadsheet, worksheet by cell identifier
2280
+ # Sets, updates the contents of a specific cell in an Excel XLSX spreadsheet, worksheet using its cell identifier (e.g. A1, B22, C33) in the worksheet
2281
+ # @param input Document input request
2282
+ # @param [Hash] opts the optional parameters
2283
+ # @return [SetXlsxCellByIdentifierResponse]
2284
+ def edit_document_xlsx_set_cell_by_identifier(input, opts = {})
2285
+ data, _status_code, _headers = edit_document_xlsx_set_cell_by_identifier_with_http_info(input, opts)
2286
+ return data
2287
+ end
2288
+
2289
+ # Set, update cell contents in an Excel XLSX spreadsheet, worksheet by cell identifier
2290
+ # Sets, updates the contents of a specific cell in an Excel XLSX spreadsheet, worksheet using its cell identifier (e.g. A1, B22, C33) in the worksheet
2291
+ # @param input Document input request
2292
+ # @param [Hash] opts the optional parameters
2293
+ # @return [Array<(SetXlsxCellByIdentifierResponse, Fixnum, Hash)>] SetXlsxCellByIdentifierResponse data, response status code and response headers
2294
+ def edit_document_xlsx_set_cell_by_identifier_with_http_info(input, opts = {})
2295
+ if @api_client.config.debugging
2296
+ @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_set_cell_by_identifier ..."
2297
+ end
2298
+ # verify the required parameter 'input' is set
2299
+ if @api_client.config.client_side_validation && input.nil?
2300
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_set_cell_by_identifier"
2301
+ end
2302
+ # resource path
2303
+ local_var_path = "/convert/edit/xlsx/set-cell/by-identifier"
2304
+
2305
+ # query parameters
2306
+ query_params = {}
2307
+
2308
+ # header parameters
2309
+ header_params = {}
2310
+ # HTTP header 'Accept' (if needed)
2311
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2312
+ # HTTP header 'Content-Type'
2313
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2314
+
2315
+ # form parameters
2316
+ form_params = {}
2317
+
2318
+ # http body (model)
2319
+ post_body = @api_client.object_to_http_body(input)
2320
+ auth_names = ['Apikey']
2321
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2322
+ :header_params => header_params,
2323
+ :query_params => query_params,
2324
+ :form_params => form_params,
2325
+ :body => post_body,
2326
+ :auth_names => auth_names,
2327
+ :return_type => 'SetXlsxCellByIdentifierResponse')
2328
+ if @api_client.config.debugging
2329
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_set_cell_by_identifier\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2330
+ end
2331
+ return data, status_code, headers
2332
+ end
2333
+
2169
2334
  # Set, update cell contents in an Excel XLSX spreadsheet, worksheet by index
2170
2335
  # Sets, updates the contents of a specific cell in an Excel XLSX spreadsheet, worksheet
2171
2336
  # @param input Document input request