cloudmersive-convert-api-client 1.6.1 → 1.6.2

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.
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.3.1
11
11
  =end
12
12
 
13
13
  module CloudmersiveConvertApiClient
14
- VERSION = "1.6.1"
14
+ VERSION = "1.6.2"
15
15
  end
@@ -70,7 +70,7 @@ describe 'ConvertDocumentApi' do
70
70
 
71
71
  # unit tests for convert_document_autodetect_to_txt
72
72
  # Convert Document to Text (txt)
73
- # Automatically detect file type and convert it to Text. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT) and PDF files.
73
+ # Automatically detect file type and convert it to Text. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT) and PDF files. For spreadsheets, all worksheets will be included. If you wish to exclude certain pages, worksheets, slides, etc. use the Split document API first, or the delete pages/slides/worksheet APIs first to adjust the document to the target state prior to converting to text.
74
74
  # @param input_file Input file to perform the operation on.
75
75
  # @param [Hash] opts the optional parameters
76
76
  # @return [TextConversionResult]
@@ -380,7 +380,7 @@ describe 'ConvertDocumentApi' do
380
380
 
381
381
  # unit tests for convert_document_xlsx_to_txt
382
382
  # Convert Excel XLSX Spreadsheet to Text (txt)
383
- # Convert Office Excel Workbooks (XLSX) to standard Text. Converts all worksheets in the workbook to Text. Supports both XLSX and XLSB file formats.
383
+ # Convert Office Excel Workbooks (XLSX) to standard Text. Converts all worksheets in the workbook to Text. Supports both XLSX and XLSB file formats. When a spreadsheet contains multiple worksheets, will export all of the text from all of the worksheets. If you wish to export the text from only one worksheet, try using the Split XLSX API to split the spreadsheet into multiple worksheet files, and then run XLSX to Text on the individual worksheet file that you need to extract the text from.
384
384
  # @param input_file Input file to perform the operation on.
385
385
  # @param [Hash] opts the optional parameters
386
386
  # @return [TextConversionResult]
@@ -368,6 +368,18 @@ describe 'EditDocumentApi' do
368
368
  end
369
369
  end
370
370
 
371
+ # unit tests for edit_document_xlsx_clear_cell_by_index
372
+ # Clear cell contents in an Excel XLSX spreadsheet, worksheet by index
373
+ # Clears, sets to blank, the contents of a specific cell in an Excel XLSX spreadsheet, worksheet
374
+ # @param input Document input request
375
+ # @param [Hash] opts the optional parameters
376
+ # @return [ClearXlsxCellResponse]
377
+ describe 'edit_document_xlsx_clear_cell_by_index test' do
378
+ it "should work" do
379
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
380
+ end
381
+ end
382
+
371
383
  # unit tests for edit_document_xlsx_create_blank_spreadsheet
372
384
  # Create a blank Excel XLSX spreadsheet
373
385
  # Returns a blank Excel XLSX Spreadsheet (XLSX) format file
@@ -392,6 +404,18 @@ describe 'EditDocumentApi' do
392
404
  end
393
405
  end
394
406
 
407
+ # unit tests for edit_document_xlsx_delete_worksheet
408
+ # Delete, remove worksheet from an Excel XLSX spreadsheet document
409
+ # Edits the input Excel XLSX spreadsheet document to remove the specified worksheet (tab). Use the Get Worksheets API to enumerate available worksheets in a spreadsheet.
410
+ # @param req_config Spreadsheet input request
411
+ # @param [Hash] opts the optional parameters
412
+ # @return [Object]
413
+ describe 'edit_document_xlsx_delete_worksheet test' do
414
+ it "should work" do
415
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
416
+ end
417
+ end
418
+
395
419
  # unit tests for edit_document_xlsx_get_cell_by_index
396
420
  # Get cell from an Excel XLSX spreadsheet, worksheet by index
397
421
  # Returns the rows and cells defined in the Excel Spreadsheet worksheet
@@ -476,4 +500,16 @@ describe 'EditDocumentApi' do
476
500
  end
477
501
  end
478
502
 
503
+ # unit tests for edit_document_xlsx_set_cell_by_index
504
+ # Set, update cell contents in an Excel XLSX spreadsheet, worksheet by index
505
+ # Sets, updates the contents of a specific cell in an Excel XLSX spreadsheet, worksheet
506
+ # @param input Document input request
507
+ # @param [Hash] opts the optional parameters
508
+ # @return [SetXlsxCellResponse]
509
+ describe 'edit_document_xlsx_set_cell_by_index test' do
510
+ it "should work" do
511
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
512
+ end
513
+ end
514
+
479
515
  end
@@ -0,0 +1,66 @@
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::ClearXlsxCellRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'ClearXlsxCellRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::ClearXlsxCellRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ClearXlsxCellRequest' do
31
+ it 'should create an instance of ClearXlsxCellRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::ClearXlsxCellRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "input_file_bytes"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "input_file_url"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "worksheet_to_update"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "row_index"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "cell_index"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ end
66
+
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::ClearXlsxCellResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'ClearXlsxCellResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::ClearXlsxCellResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ClearXlsxCellResponse' do
31
+ it 'should create an instance of ClearXlsxCellResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::ClearXlsxCellResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "successful"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "edited_document_url"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
48
+
@@ -0,0 +1,54 @@
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::RemoveXlsxWorksheetRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'RemoveXlsxWorksheetRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::RemoveXlsxWorksheetRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of RemoveXlsxWorksheetRequest' do
31
+ it 'should create an instance of RemoveXlsxWorksheetRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::RemoveXlsxWorksheetRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "input_file_bytes"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "input_file_url"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "worksheet_to_remove"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ end
54
+
@@ -0,0 +1,72 @@
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::SetXlsxCellRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'SetXlsxCellRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::SetXlsxCellRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SetXlsxCellRequest' do
31
+ it 'should create an instance of SetXlsxCellRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::SetXlsxCellRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "input_file_bytes"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "input_file_url"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "worksheet_to_update"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "row_index"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "cell_index"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "cell_value"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ end
72
+
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #convertapi
3
+
4
+ #Convert API lets you effortlessly convert file formats and types.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::SetXlsxCellResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'SetXlsxCellResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::SetXlsxCellResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SetXlsxCellResponse' do
31
+ it 'should create an instance of SetXlsxCellResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::SetXlsxCellResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "successful"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "edited_document_url"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
48
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudmersive-convert-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-03 00:00:00.000000000 Z
11
+ date: 2020-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -207,6 +207,8 @@ files:
207
207
  - "./docs/AutodetectDocumentValidationResult.md"
208
208
  - "./docs/AutodetectGetInfoResult.md"
209
209
  - "./docs/AutodetectToPngResult.md"
210
+ - "./docs/ClearXlsxCellRequest.md"
211
+ - "./docs/ClearXlsxCellResponse.md"
210
212
  - "./docs/CompareDocumentApi.md"
211
213
  - "./docs/ConvertDataApi.md"
212
214
  - "./docs/ConvertDocumentApi.md"
@@ -318,11 +320,14 @@ files:
318
320
  - "./docs/RemoveDocxHeadersAndFootersResponse.md"
319
321
  - "./docs/RemoveDocxPagesRequest.md"
320
322
  - "./docs/RemovePptxSlidesRequest.md"
323
+ - "./docs/RemoveXlsxWorksheetRequest.md"
321
324
  - "./docs/ReplaceStringRequest.md"
322
325
  - "./docs/ScreenshotRequest.md"
323
326
  - "./docs/SetFormFieldValue.md"
324
327
  - "./docs/SetPdfFormFieldsRequest.md"
325
328
  - "./docs/SetPdfMetadataRequest.md"
329
+ - "./docs/SetXlsxCellRequest.md"
330
+ - "./docs/SetXlsxCellResponse.md"
326
331
  - "./docs/SplitDocumentApi.md"
327
332
  - "./docs/SplitDocumentResult.md"
328
333
  - "./docs/SplitDocxDocumentResult.md"
@@ -376,6 +381,8 @@ files:
376
381
  - "./lib/cloudmersive-convert-api-client/models/autodetect_document_validation_result.rb"
377
382
  - "./lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb"
378
383
  - "./lib/cloudmersive-convert-api-client/models/autodetect_to_png_result.rb"
384
+ - "./lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_request.rb"
385
+ - "./lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_response.rb"
379
386
  - "./lib/cloudmersive-convert-api-client/models/converted_png_page.rb"
380
387
  - "./lib/cloudmersive-convert-api-client/models/create_blank_docx_request.rb"
381
388
  - "./lib/cloudmersive-convert-api-client/models/create_blank_docx_response.rb"
@@ -478,11 +485,14 @@ files:
478
485
  - "./lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb"
479
486
  - "./lib/cloudmersive-convert-api-client/models/remove_docx_pages_request.rb"
480
487
  - "./lib/cloudmersive-convert-api-client/models/remove_pptx_slides_request.rb"
488
+ - "./lib/cloudmersive-convert-api-client/models/remove_xlsx_worksheet_request.rb"
481
489
  - "./lib/cloudmersive-convert-api-client/models/replace_string_request.rb"
482
490
  - "./lib/cloudmersive-convert-api-client/models/screenshot_request.rb"
483
491
  - "./lib/cloudmersive-convert-api-client/models/set_form_field_value.rb"
484
492
  - "./lib/cloudmersive-convert-api-client/models/set_pdf_form_fields_request.rb"
485
493
  - "./lib/cloudmersive-convert-api-client/models/set_pdf_metadata_request.rb"
494
+ - "./lib/cloudmersive-convert-api-client/models/set_xlsx_cell_request.rb"
495
+ - "./lib/cloudmersive-convert-api-client/models/set_xlsx_cell_response.rb"
486
496
  - "./lib/cloudmersive-convert-api-client/models/split_document_result.rb"
487
497
  - "./lib/cloudmersive-convert-api-client/models/split_docx_document_result.rb"
488
498
  - "./lib/cloudmersive-convert-api-client/models/split_pdf_result.rb"
@@ -531,6 +541,8 @@ files:
531
541
  - "./spec/models/autodetect_document_validation_result_spec.rb"
532
542
  - "./spec/models/autodetect_get_info_result_spec.rb"
533
543
  - "./spec/models/autodetect_to_png_result_spec.rb"
544
+ - "./spec/models/clear_xlsx_cell_request_spec.rb"
545
+ - "./spec/models/clear_xlsx_cell_response_spec.rb"
534
546
  - "./spec/models/converted_png_page_spec.rb"
535
547
  - "./spec/models/create_blank_docx_request_spec.rb"
536
548
  - "./spec/models/create_blank_docx_response_spec.rb"
@@ -633,11 +645,14 @@ files:
633
645
  - "./spec/models/remove_docx_headers_and_footers_response_spec.rb"
634
646
  - "./spec/models/remove_docx_pages_request_spec.rb"
635
647
  - "./spec/models/remove_pptx_slides_request_spec.rb"
648
+ - "./spec/models/remove_xlsx_worksheet_request_spec.rb"
636
649
  - "./spec/models/replace_string_request_spec.rb"
637
650
  - "./spec/models/screenshot_request_spec.rb"
638
651
  - "./spec/models/set_form_field_value_spec.rb"
639
652
  - "./spec/models/set_pdf_form_fields_request_spec.rb"
640
653
  - "./spec/models/set_pdf_metadata_request_spec.rb"
654
+ - "./spec/models/set_xlsx_cell_request_spec.rb"
655
+ - "./spec/models/set_xlsx_cell_response_spec.rb"
641
656
  - "./spec/models/split_document_result_spec.rb"
642
657
  - "./spec/models/split_docx_document_result_spec.rb"
643
658
  - "./spec/models/split_pdf_result_spec.rb"