cloudmersive-convert-api-client 1.5.2 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +17 -5
- data/docs/DeleteDocxTableRowRequest.md +11 -0
- data/docs/DeleteDocxTableRowResponse.md +9 -0
- data/docs/EditDocumentApi.md +223 -3
- data/docs/GetDocxTableByIndexRequest.md +10 -0
- data/docs/GetDocxTableByIndexResponse.md +9 -0
- data/docs/GetDocxTableRowRequest.md +11 -0
- data/docs/GetDocxTableRowResponse.md +9 -0
- data/docs/PdfMetadata.md +1 -0
- data/docs/UpdateDocxTableRowRequest.md +12 -0
- data/docs/UpdateDocxTableRowResponse.md +9 -0
- data/lib/cloudmersive-convert-api-client.rb +8 -0
- data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +222 -2
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_request.rb +235 -0
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_response.rb +199 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_request.rb +225 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_response.rb +199 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_request.rb +235 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_response.rb +199 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_metadata.rb +14 -4
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_request.rb +245 -0
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_response.rb +199 -0
- data/lib/cloudmersive-convert-api-client/version.rb +1 -1
- data/spec/api/edit_document_api_spec.rb +49 -1
- data/spec/models/delete_docx_table_row_request_spec.rb +60 -0
- data/spec/models/delete_docx_table_row_response_spec.rb +48 -0
- data/spec/models/get_docx_table_by_index_request_spec.rb +54 -0
- data/spec/models/get_docx_table_by_index_response_spec.rb +48 -0
- data/spec/models/get_docx_table_row_request_spec.rb +60 -0
- data/spec/models/get_docx_table_row_response_spec.rb +48 -0
- data/spec/models/pdf_metadata_spec.rb +6 -0
- data/spec/models/update_docx_table_row_request_spec.rb +66 -0
- data/spec/models/update_docx_table_row_response_spec.rb +48 -0
- metadata +26 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eda8eeb1e9cd66bc5faecddb829c777608e4f364631fa51ea9e15bf10e90bf91
|
4
|
+
data.tar.gz: bc2826b3e370f84209d9c3033b4d90e2dfde82c1f5cdfd11b0ec2a3db2492fc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b54cd7b75532b5637461b3c51e11b34563fd4d4eb6363d8860930cd2d95850d64f74adc1ea365cec59c091437029f3ad70f7cb59ee792eacd5f033c3f042863
|
7
|
+
data.tar.gz: 75306d1714ca0258feade8b4039ba8a152e20deaf340f86aefbe627cf0e6014bd17b02c3926646b342f4fa4fb26392f4fc488c2b28b27ed18a6f56933ff9df68
|
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.5.
|
10
|
+
- Package version: 1.5.3
|
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.5.
|
26
|
+
gem install ./cloudmersive-convert-api-client-1.5.3.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./cloudmersive-convert-api-client-1.5.
|
28
|
+
(for development, run `gem install --dev ./cloudmersive-convert-api-client-1.5.3.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.5.
|
34
|
+
gem 'cloudmersive-convert-api-client', '~> 1.5.3'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
@@ -132,11 +132,14 @@ Class | Method | HTTP request | Description
|
|
132
132
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_begin_editing**](docs/EditDocumentApi.md#edit_document_begin_editing) | **POST** /convert/edit/begin-editing | Begin editing a document
|
133
133
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_body**](docs/EditDocumentApi.md#edit_document_docx_body) | **POST** /convert/edit/docx/get-body | Get body from a Word DOCX document
|
134
134
|
*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
|
135
|
+
*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
|
135
136
|
*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
|
136
137
|
*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
|
137
138
|
*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
|
138
139
|
*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 Word DOCX document
|
139
|
-
*CloudmersiveConvertApiClient::EditDocumentApi* | [**
|
140
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_get_table_by_index**](docs/EditDocumentApi.md#edit_document_docx_get_table_by_index) | **POST** /convert/edit/docx/get-table/by-index | Get a specific table by index in a Word DOCX document
|
141
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_get_table_row**](docs/EditDocumentApi.md#edit_document_docx_get_table_row) | **POST** /convert/edit/docx/get-table-row | Gets the contents of an existing table row in an existing table in a Word DOCX document
|
142
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_get_tables**](docs/EditDocumentApi.md#edit_document_docx_get_tables) | **POST** /convert/edit/docx/get-tables | Get all tables in Word DOCX document
|
140
143
|
*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 Word DOCX document
|
141
144
|
*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 Word DOCX document
|
142
145
|
*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 Word DOCX document
|
@@ -148,6 +151,7 @@ Class | Method | HTTP request | Description
|
|
148
151
|
*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 Word DOCX document
|
149
152
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_set_footer_add_page_number**](docs/EditDocumentApi.md#edit_document_docx_set_footer_add_page_number) | **POST** /convert/edit/docx/set-footer/add-page-number | Add page number to footer in a Word DOCX document
|
150
153
|
*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 Word DOCX document
|
154
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_update_table_row**](docs/EditDocumentApi.md#edit_document_docx_update_table_row) | **POST** /convert/edit/docx/update-table-row | Update, set contents of a table row in an existing table in a Word DOCX document
|
151
155
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_finish_editing**](docs/EditDocumentApi.md#edit_document_finish_editing) | **POST** /convert/edit/finish-editing | Download result from document editing
|
152
156
|
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_pptx_replace**](docs/EditDocumentApi.md#edit_document_pptx_replace) | **POST** /convert/edit/pptx/replace-all | Replace string in PowerPoint PPTX presentation
|
153
157
|
*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
|
@@ -197,6 +201,8 @@ Class | Method | HTTP request | Description
|
|
197
201
|
- [CloudmersiveConvertApiClient::AutodetectGetInfoResult](docs/AutodetectGetInfoResult.md)
|
198
202
|
- [CloudmersiveConvertApiClient::AutodetectToPngResult](docs/AutodetectToPngResult.md)
|
199
203
|
- [CloudmersiveConvertApiClient::ConvertedPngPage](docs/ConvertedPngPage.md)
|
204
|
+
- [CloudmersiveConvertApiClient::DeleteDocxTableRowRequest](docs/DeleteDocxTableRowRequest.md)
|
205
|
+
- [CloudmersiveConvertApiClient::DeleteDocxTableRowResponse](docs/DeleteDocxTableRowResponse.md)
|
200
206
|
- [CloudmersiveConvertApiClient::DocumentValidationError](docs/DocumentValidationError.md)
|
201
207
|
- [CloudmersiveConvertApiClient::DocumentValidationResult](docs/DocumentValidationResult.md)
|
202
208
|
- [CloudmersiveConvertApiClient::DocxBody](docs/DocxBody.md)
|
@@ -238,6 +244,10 @@ Class | Method | HTTP request | Description
|
|
238
244
|
- [CloudmersiveConvertApiClient::GetDocxSectionsResponse](docs/GetDocxSectionsResponse.md)
|
239
245
|
- [CloudmersiveConvertApiClient::GetDocxStylesRequest](docs/GetDocxStylesRequest.md)
|
240
246
|
- [CloudmersiveConvertApiClient::GetDocxStylesResponse](docs/GetDocxStylesResponse.md)
|
247
|
+
- [CloudmersiveConvertApiClient::GetDocxTableByIndexRequest](docs/GetDocxTableByIndexRequest.md)
|
248
|
+
- [CloudmersiveConvertApiClient::GetDocxTableByIndexResponse](docs/GetDocxTableByIndexResponse.md)
|
249
|
+
- [CloudmersiveConvertApiClient::GetDocxTableRowRequest](docs/GetDocxTableRowRequest.md)
|
250
|
+
- [CloudmersiveConvertApiClient::GetDocxTableRowResponse](docs/GetDocxTableRowResponse.md)
|
241
251
|
- [CloudmersiveConvertApiClient::GetDocxTablesRequest](docs/GetDocxTablesRequest.md)
|
242
252
|
- [CloudmersiveConvertApiClient::GetDocxTablesResponse](docs/GetDocxTablesResponse.md)
|
243
253
|
- [CloudmersiveConvertApiClient::GetImageInfoResult](docs/GetImageInfoResult.md)
|
@@ -286,6 +296,8 @@ Class | Method | HTTP request | Description
|
|
286
296
|
- [CloudmersiveConvertApiClient::SplitPdfResult](docs/SplitPdfResult.md)
|
287
297
|
- [CloudmersiveConvertApiClient::SplitXlsxWorksheetResult](docs/SplitXlsxWorksheetResult.md)
|
288
298
|
- [CloudmersiveConvertApiClient::TextConversionResult](docs/TextConversionResult.md)
|
299
|
+
- [CloudmersiveConvertApiClient::UpdateDocxTableRowRequest](docs/UpdateDocxTableRowRequest.md)
|
300
|
+
- [CloudmersiveConvertApiClient::UpdateDocxTableRowResponse](docs/UpdateDocxTableRowResponse.md)
|
289
301
|
- [CloudmersiveConvertApiClient::ViewerResponse](docs/ViewerResponse.md)
|
290
302
|
- [CloudmersiveConvertApiClient::WorksheetResult](docs/WorksheetResult.md)
|
291
303
|
- [CloudmersiveConvertApiClient::XlsxImage](docs/XlsxImage.md)
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::DeleteDocxTableRowRequest
|
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** | **Integer** | 0-based index of the row to delete (e.g. 0, 1, 2, ...) in the table | [optional]
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::DeleteDocxTableRowResponse
|
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
|
+
|
data/docs/EditDocumentApi.md
CHANGED
@@ -7,11 +7,14 @@ Method | HTTP request | Description
|
|
7
7
|
[**edit_document_begin_editing**](EditDocumentApi.md#edit_document_begin_editing) | **POST** /convert/edit/begin-editing | Begin editing a document
|
8
8
|
[**edit_document_docx_body**](EditDocumentApi.md#edit_document_docx_body) | **POST** /convert/edit/docx/get-body | Get body from a Word DOCX document
|
9
9
|
[**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
|
10
|
+
[**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
|
10
11
|
[**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
|
11
12
|
[**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
|
12
13
|
[**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
|
13
14
|
[**edit_document_docx_get_styles**](EditDocumentApi.md#edit_document_docx_get_styles) | **POST** /convert/edit/docx/get-styles | Get styles from a Word DOCX document
|
14
|
-
[**
|
15
|
+
[**edit_document_docx_get_table_by_index**](EditDocumentApi.md#edit_document_docx_get_table_by_index) | **POST** /convert/edit/docx/get-table/by-index | Get a specific table by index in a Word DOCX document
|
16
|
+
[**edit_document_docx_get_table_row**](EditDocumentApi.md#edit_document_docx_get_table_row) | **POST** /convert/edit/docx/get-table-row | Gets the contents of an existing table row in an existing table in a Word DOCX document
|
17
|
+
[**edit_document_docx_get_tables**](EditDocumentApi.md#edit_document_docx_get_tables) | **POST** /convert/edit/docx/get-tables | Get all tables in Word DOCX document
|
15
18
|
[**edit_document_docx_insert_image**](EditDocumentApi.md#edit_document_docx_insert_image) | **POST** /convert/edit/docx/insert-image | Insert image into a Word DOCX document
|
16
19
|
[**edit_document_docx_insert_paragraph**](EditDocumentApi.md#edit_document_docx_insert_paragraph) | **POST** /convert/edit/docx/insert-paragraph | Insert a new paragraph into a Word DOCX document
|
17
20
|
[**edit_document_docx_insert_table**](EditDocumentApi.md#edit_document_docx_insert_table) | **POST** /convert/edit/docx/insert-table | Insert a new table into a Word DOCX document
|
@@ -23,6 +26,7 @@ Method | HTTP request | Description
|
|
23
26
|
[**edit_document_docx_set_footer**](EditDocumentApi.md#edit_document_docx_set_footer) | **POST** /convert/edit/docx/set-footer | Set the footer in a Word DOCX document
|
24
27
|
[**edit_document_docx_set_footer_add_page_number**](EditDocumentApi.md#edit_document_docx_set_footer_add_page_number) | **POST** /convert/edit/docx/set-footer/add-page-number | Add page number to footer in a Word DOCX document
|
25
28
|
[**edit_document_docx_set_header**](EditDocumentApi.md#edit_document_docx_set_header) | **POST** /convert/edit/docx/set-header | Set the header in a Word DOCX document
|
29
|
+
[**edit_document_docx_update_table_row**](EditDocumentApi.md#edit_document_docx_update_table_row) | **POST** /convert/edit/docx/update-table-row | Update, set contents of a table row in an existing table in a Word DOCX document
|
26
30
|
[**edit_document_finish_editing**](EditDocumentApi.md#edit_document_finish_editing) | **POST** /convert/edit/finish-editing | Download result from document editing
|
27
31
|
[**edit_document_pptx_replace**](EditDocumentApi.md#edit_document_pptx_replace) | **POST** /convert/edit/pptx/replace-all | Replace string in PowerPoint PPTX presentation
|
28
32
|
[**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
|
@@ -195,6 +199,60 @@ Name | Type | Description | Notes
|
|
195
199
|
|
196
200
|
|
197
201
|
|
202
|
+
# **edit_document_docx_delete_table_row**
|
203
|
+
> DeleteDocxTableRowResponse edit_document_docx_delete_table_row(req_config)
|
204
|
+
|
205
|
+
Deletes a table row in an existing table in a Word DOCX document
|
206
|
+
|
207
|
+
Deletes an existing table row in a Word DOCX Document and returns the result.
|
208
|
+
|
209
|
+
### Example
|
210
|
+
```ruby
|
211
|
+
# load the gem
|
212
|
+
require 'cloudmersive-convert-api-client'
|
213
|
+
# setup authorization
|
214
|
+
CloudmersiveConvertApiClient.configure do |config|
|
215
|
+
# Configure API key authorization: Apikey
|
216
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
217
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
218
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
219
|
+
end
|
220
|
+
|
221
|
+
api_instance = CloudmersiveConvertApiClient::EditDocumentApi.new
|
222
|
+
|
223
|
+
req_config = CloudmersiveConvertApiClient::DeleteDocxTableRowRequest.new # DeleteDocxTableRowRequest | Document input request
|
224
|
+
|
225
|
+
|
226
|
+
begin
|
227
|
+
#Deletes a table row in an existing table in a Word DOCX document
|
228
|
+
result = api_instance.edit_document_docx_delete_table_row(req_config)
|
229
|
+
p result
|
230
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
231
|
+
puts "Exception when calling EditDocumentApi->edit_document_docx_delete_table_row: #{e}"
|
232
|
+
end
|
233
|
+
```
|
234
|
+
|
235
|
+
### Parameters
|
236
|
+
|
237
|
+
Name | Type | Description | Notes
|
238
|
+
------------- | ------------- | ------------- | -------------
|
239
|
+
**req_config** | [**DeleteDocxTableRowRequest**](DeleteDocxTableRowRequest.md)| Document input request |
|
240
|
+
|
241
|
+
### Return type
|
242
|
+
|
243
|
+
[**DeleteDocxTableRowResponse**](DeleteDocxTableRowResponse.md)
|
244
|
+
|
245
|
+
### Authorization
|
246
|
+
|
247
|
+
[Apikey](../README.md#Apikey)
|
248
|
+
|
249
|
+
### HTTP request headers
|
250
|
+
|
251
|
+
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
252
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
253
|
+
|
254
|
+
|
255
|
+
|
198
256
|
# **edit_document_docx_get_headers_and_footers**
|
199
257
|
> GetDocxHeadersAndFootersResponse edit_document_docx_get_headers_and_footers(req_config)
|
200
258
|
|
@@ -411,10 +469,118 @@ Name | Type | Description | Notes
|
|
411
469
|
|
412
470
|
|
413
471
|
|
472
|
+
# **edit_document_docx_get_table_by_index**
|
473
|
+
> GetDocxTableByIndexResponse edit_document_docx_get_table_by_index(req_config)
|
474
|
+
|
475
|
+
Get a specific table by index in a Word DOCX document
|
476
|
+
|
477
|
+
Returns the specific table object by its 0-based index in an Office Word Document (DOCX)
|
478
|
+
|
479
|
+
### Example
|
480
|
+
```ruby
|
481
|
+
# load the gem
|
482
|
+
require 'cloudmersive-convert-api-client'
|
483
|
+
# setup authorization
|
484
|
+
CloudmersiveConvertApiClient.configure do |config|
|
485
|
+
# Configure API key authorization: Apikey
|
486
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
487
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
488
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
489
|
+
end
|
490
|
+
|
491
|
+
api_instance = CloudmersiveConvertApiClient::EditDocumentApi.new
|
492
|
+
|
493
|
+
req_config = CloudmersiveConvertApiClient::GetDocxTableByIndexRequest.new # GetDocxTableByIndexRequest | Document input request
|
494
|
+
|
495
|
+
|
496
|
+
begin
|
497
|
+
#Get a specific table by index in a Word DOCX document
|
498
|
+
result = api_instance.edit_document_docx_get_table_by_index(req_config)
|
499
|
+
p result
|
500
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
501
|
+
puts "Exception when calling EditDocumentApi->edit_document_docx_get_table_by_index: #{e}"
|
502
|
+
end
|
503
|
+
```
|
504
|
+
|
505
|
+
### Parameters
|
506
|
+
|
507
|
+
Name | Type | Description | Notes
|
508
|
+
------------- | ------------- | ------------- | -------------
|
509
|
+
**req_config** | [**GetDocxTableByIndexRequest**](GetDocxTableByIndexRequest.md)| Document input request |
|
510
|
+
|
511
|
+
### Return type
|
512
|
+
|
513
|
+
[**GetDocxTableByIndexResponse**](GetDocxTableByIndexResponse.md)
|
514
|
+
|
515
|
+
### Authorization
|
516
|
+
|
517
|
+
[Apikey](../README.md#Apikey)
|
518
|
+
|
519
|
+
### HTTP request headers
|
520
|
+
|
521
|
+
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
522
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
523
|
+
|
524
|
+
|
525
|
+
|
526
|
+
# **edit_document_docx_get_table_row**
|
527
|
+
> GetDocxTableRowResponse edit_document_docx_get_table_row(req_config)
|
528
|
+
|
529
|
+
Gets the contents of an existing table row in an existing table in a Word DOCX document
|
530
|
+
|
531
|
+
Gets the contents of an existing table row in a Word DOCX Document and returns the result.
|
532
|
+
|
533
|
+
### Example
|
534
|
+
```ruby
|
535
|
+
# load the gem
|
536
|
+
require 'cloudmersive-convert-api-client'
|
537
|
+
# setup authorization
|
538
|
+
CloudmersiveConvertApiClient.configure do |config|
|
539
|
+
# Configure API key authorization: Apikey
|
540
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
541
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
542
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
543
|
+
end
|
544
|
+
|
545
|
+
api_instance = CloudmersiveConvertApiClient::EditDocumentApi.new
|
546
|
+
|
547
|
+
req_config = CloudmersiveConvertApiClient::GetDocxTableRowRequest.new # GetDocxTableRowRequest | Document input request
|
548
|
+
|
549
|
+
|
550
|
+
begin
|
551
|
+
#Gets the contents of an existing table row in an existing table in a Word DOCX document
|
552
|
+
result = api_instance.edit_document_docx_get_table_row(req_config)
|
553
|
+
p result
|
554
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
555
|
+
puts "Exception when calling EditDocumentApi->edit_document_docx_get_table_row: #{e}"
|
556
|
+
end
|
557
|
+
```
|
558
|
+
|
559
|
+
### Parameters
|
560
|
+
|
561
|
+
Name | Type | Description | Notes
|
562
|
+
------------- | ------------- | ------------- | -------------
|
563
|
+
**req_config** | [**GetDocxTableRowRequest**](GetDocxTableRowRequest.md)| Document input request |
|
564
|
+
|
565
|
+
### Return type
|
566
|
+
|
567
|
+
[**GetDocxTableRowResponse**](GetDocxTableRowResponse.md)
|
568
|
+
|
569
|
+
### Authorization
|
570
|
+
|
571
|
+
[Apikey](../README.md#Apikey)
|
572
|
+
|
573
|
+
### HTTP request headers
|
574
|
+
|
575
|
+
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
576
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
577
|
+
|
578
|
+
|
579
|
+
|
414
580
|
# **edit_document_docx_get_tables**
|
415
581
|
> GetDocxTablesResponse edit_document_docx_get_tables(req_config)
|
416
582
|
|
417
|
-
Get tables in Word DOCX document
|
583
|
+
Get all tables in Word DOCX document
|
418
584
|
|
419
585
|
Returns all the table objects in an Office Word Document (docx)
|
420
586
|
|
@@ -436,7 +602,7 @@ req_config = CloudmersiveConvertApiClient::GetDocxTablesRequest.new # GetDocxTab
|
|
436
602
|
|
437
603
|
|
438
604
|
begin
|
439
|
-
#Get tables in Word DOCX document
|
605
|
+
#Get all tables in Word DOCX document
|
440
606
|
result = api_instance.edit_document_docx_get_tables(req_config)
|
441
607
|
p result
|
442
608
|
rescue CloudmersiveConvertApiClient::ApiError => e
|
@@ -1059,6 +1225,60 @@ Name | Type | Description | Notes
|
|
1059
1225
|
|
1060
1226
|
|
1061
1227
|
|
1228
|
+
# **edit_document_docx_update_table_row**
|
1229
|
+
> UpdateDocxTableRowResponse edit_document_docx_update_table_row(req_config)
|
1230
|
+
|
1231
|
+
Update, set contents of a table row in an existing table in a Word DOCX document
|
1232
|
+
|
1233
|
+
Sets the contents of a table row into a DOCX Document and returns the result. Call Finish Editing on the output URL to complete the operation.
|
1234
|
+
|
1235
|
+
### Example
|
1236
|
+
```ruby
|
1237
|
+
# load the gem
|
1238
|
+
require 'cloudmersive-convert-api-client'
|
1239
|
+
# setup authorization
|
1240
|
+
CloudmersiveConvertApiClient.configure do |config|
|
1241
|
+
# Configure API key authorization: Apikey
|
1242
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
1243
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1244
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
1245
|
+
end
|
1246
|
+
|
1247
|
+
api_instance = CloudmersiveConvertApiClient::EditDocumentApi.new
|
1248
|
+
|
1249
|
+
req_config = CloudmersiveConvertApiClient::UpdateDocxTableRowRequest.new # UpdateDocxTableRowRequest | Document input request
|
1250
|
+
|
1251
|
+
|
1252
|
+
begin
|
1253
|
+
#Update, set contents of a table row in an existing table in a Word DOCX document
|
1254
|
+
result = api_instance.edit_document_docx_update_table_row(req_config)
|
1255
|
+
p result
|
1256
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
1257
|
+
puts "Exception when calling EditDocumentApi->edit_document_docx_update_table_row: #{e}"
|
1258
|
+
end
|
1259
|
+
```
|
1260
|
+
|
1261
|
+
### Parameters
|
1262
|
+
|
1263
|
+
Name | Type | Description | Notes
|
1264
|
+
------------- | ------------- | ------------- | -------------
|
1265
|
+
**req_config** | [**UpdateDocxTableRowRequest**](UpdateDocxTableRowRequest.md)| Document input request |
|
1266
|
+
|
1267
|
+
### Return type
|
1268
|
+
|
1269
|
+
[**UpdateDocxTableRowResponse**](UpdateDocxTableRowResponse.md)
|
1270
|
+
|
1271
|
+
### Authorization
|
1272
|
+
|
1273
|
+
[Apikey](../README.md#Apikey)
|
1274
|
+
|
1275
|
+
### HTTP request headers
|
1276
|
+
|
1277
|
+
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
1278
|
+
- **Accept**: application/json, text/json, application/xml, text/xml
|
1279
|
+
|
1280
|
+
|
1281
|
+
|
1062
1282
|
# **edit_document_finish_editing**
|
1063
1283
|
> String edit_document_finish_editing(req_config)
|
1064
1284
|
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::GetDocxTableByIndexRequest
|
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_index** | **Integer** | 0-based index of the table to retrieve from the Word Document | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::GetDocxTableByIndexResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**successful** | **BOOLEAN** | True if successful, false otherwise | [optional]
|
7
|
+
**table** | [**DocxTable**](DocxTable.md) | Requested Table in the DOCX file | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::GetDocxTableRowRequest
|
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 retrievew the row from | [optional]
|
9
|
+
**table_row_row_index** | **Integer** | 0-based index of the row to retrieve (e.g. 0, 1, 2, ...) in the table | [optional]
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::GetDocxTableRowResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**successful** | **BOOLEAN** | True if successful, false otherwise | [optional]
|
7
|
+
**row_result** | [**DocxTableRow**](DocxTableRow.md) | Contents of the table row that was requested | [optional]
|
8
|
+
|
9
|
+
|
data/docs/PdfMetadata.md
CHANGED
@@ -11,5 +11,6 @@ Name | Type | Description | Notes
|
|
11
11
|
**creator** | **String** | Creator of the document | [optional]
|
12
12
|
**date_modified** | **DateTime** | The timestamp that the document was last modified, if available, null if not available | [optional]
|
13
13
|
**date_created** | **DateTime** | The timestamp that the document was created, if available, null if not available | [optional]
|
14
|
+
**page_count** | **Integer** | The number of pages in the document | [optional]
|
14
15
|
|
15
16
|
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# CloudmersiveConvertApiClient::UpdateDocxTableRowRequest
|
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
|
+
**row_to_update** | [**DocxTableRow**](DocxTableRow.md) | Table row contents you would like to update the row with | [optional]
|
9
|
+
**table_row_row_index** | **Integer** | 0-based index of the Table Row to update | [optional]
|
10
|
+
**existing_table_path** | **String** | Required; the path to the existing table to modify | [optional]
|
11
|
+
|
12
|
+
|