cloudmersive-convert-api-client 2.2.0 → 2.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +28 -7
- data/docs/DocumentEditingEditSession.md +9 -0
- data/docs/DocumentTransformEditSession.md +9 -0
- data/docs/DocxContentControl.md +8 -0
- data/docs/DocxSetFormFieldsRequest.md +10 -0
- data/docs/DocxTableSingleTableFill.md +10 -0
- data/docs/DocxTableTableFillMultiRequest.md +10 -0
- data/docs/DocxTableTableFillRequest.md +12 -0
- data/docs/DocxTableTableFillTableCell.md +9 -0
- data/docs/DocxTableTableFillTableRow.md +8 -0
- data/docs/EditDocumentApi.md +223 -3
- data/docs/FillHandlebarFormField.md +9 -0
- data/docs/GetDocxContentControlsResponse.md +9 -0
- data/docs/GetDocxGetFormFieldsResponse.md +10 -0
- data/docs/HandlebarFormField.md +8 -0
- data/docs/TransformDocumentApi.md +237 -6
- data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +220 -2
- data/lib/cloudmersive-convert-api-client/api/transform_document_api.rb +235 -4
- data/lib/cloudmersive-convert-api-client/models/document_editing_edit_session.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/document_transform_edit_session.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/docx_content_control.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_form_fields_request.rb +223 -0
- data/lib/cloudmersive-convert-api-client/models/docx_table_single_table_fill.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/docx_table_table_fill_multi_request.rb +223 -0
- data/lib/cloudmersive-convert-api-client/models/docx_table_table_fill_request.rb +243 -0
- data/lib/cloudmersive-convert-api-client/models/docx_table_table_fill_table_cell.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/docx_table_table_fill_table_row.rb +188 -0
- data/lib/cloudmersive-convert-api-client/models/fill_handlebar_form_field.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_content_controls_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_get_form_fields_response.rb +210 -0
- data/lib/cloudmersive-convert-api-client/models/handlebar_form_field.rb +186 -0
- data/lib/cloudmersive-convert-api-client/version.rb +1 -1
- data/lib/cloudmersive-convert-api-client.rb +13 -0
- data/spec/api/edit_document_api_spec.rb +49 -1
- data/spec/api/transform_document_api_spec.rb +54 -2
- data/spec/models/document_editing_edit_session_spec.rb +47 -0
- data/spec/models/document_transform_edit_session_spec.rb +47 -0
- data/spec/models/docx_content_control_spec.rb +41 -0
- data/spec/models/docx_set_form_fields_request_spec.rb +53 -0
- data/spec/models/docx_table_single_table_fill_spec.rb +53 -0
- data/spec/models/docx_table_table_fill_multi_request_spec.rb +53 -0
- data/spec/models/docx_table_table_fill_request_spec.rb +65 -0
- data/spec/models/docx_table_table_fill_table_cell_spec.rb +47 -0
- data/spec/models/docx_table_table_fill_table_row_spec.rb +41 -0
- data/spec/models/fill_handlebar_form_field_spec.rb +47 -0
- data/spec/models/get_docx_content_controls_response_spec.rb +47 -0
- data/spec/models/get_docx_get_form_fields_response_spec.rb +53 -0
- data/spec/models/handlebar_form_field_spec.rb +41 -0
- metadata +41 -2
@@ -55,11 +55,14 @@ require 'cloudmersive-convert-api-client/models/delete_docx_table_row_response'
|
|
55
55
|
require 'cloudmersive-convert-api-client/models/detect_line_endings_response'
|
56
56
|
require 'cloudmersive-convert-api-client/models/disable_shared_workbook_request'
|
57
57
|
require 'cloudmersive-convert-api-client/models/disable_shared_workbook_response'
|
58
|
+
require 'cloudmersive-convert-api-client/models/document_editing_edit_session'
|
59
|
+
require 'cloudmersive-convert-api-client/models/document_transform_edit_session'
|
58
60
|
require 'cloudmersive-convert-api-client/models/document_validation_error'
|
59
61
|
require 'cloudmersive-convert-api-client/models/document_validation_result'
|
60
62
|
require 'cloudmersive-convert-api-client/models/docx_body'
|
61
63
|
require 'cloudmersive-convert-api-client/models/docx_cell_style'
|
62
64
|
require 'cloudmersive-convert-api-client/models/docx_comment'
|
65
|
+
require 'cloudmersive-convert-api-client/models/docx_content_control'
|
63
66
|
require 'cloudmersive-convert-api-client/models/docx_footer'
|
64
67
|
require 'cloudmersive-convert-api-client/models/docx_header'
|
65
68
|
require 'cloudmersive-convert-api-client/models/docx_image'
|
@@ -77,12 +80,18 @@ require 'cloudmersive-convert-api-client/models/docx_set_custom_metadata_propert
|
|
77
80
|
require 'cloudmersive-convert-api-client/models/docx_set_footer_add_page_number_request'
|
78
81
|
require 'cloudmersive-convert-api-client/models/docx_set_footer_request'
|
79
82
|
require 'cloudmersive-convert-api-client/models/docx_set_footer_response'
|
83
|
+
require 'cloudmersive-convert-api-client/models/docx_set_form_fields_request'
|
80
84
|
require 'cloudmersive-convert-api-client/models/docx_set_header_request'
|
81
85
|
require 'cloudmersive-convert-api-client/models/docx_set_header_response'
|
82
86
|
require 'cloudmersive-convert-api-client/models/docx_style'
|
83
87
|
require 'cloudmersive-convert-api-client/models/docx_table'
|
84
88
|
require 'cloudmersive-convert-api-client/models/docx_table_cell'
|
85
89
|
require 'cloudmersive-convert-api-client/models/docx_table_row'
|
90
|
+
require 'cloudmersive-convert-api-client/models/docx_table_single_table_fill'
|
91
|
+
require 'cloudmersive-convert-api-client/models/docx_table_table_fill_multi_request'
|
92
|
+
require 'cloudmersive-convert-api-client/models/docx_table_table_fill_request'
|
93
|
+
require 'cloudmersive-convert-api-client/models/docx_table_table_fill_table_cell'
|
94
|
+
require 'cloudmersive-convert-api-client/models/docx_table_table_fill_table_row'
|
86
95
|
require 'cloudmersive-convert-api-client/models/docx_template_application_request'
|
87
96
|
require 'cloudmersive-convert-api-client/models/docx_template_operation'
|
88
97
|
require 'cloudmersive-convert-api-client/models/docx_text'
|
@@ -96,6 +105,7 @@ require 'cloudmersive-convert-api-client/models/eml_to_png_result'
|
|
96
105
|
require 'cloudmersive-convert-api-client/models/enable_shared_workbook_request'
|
97
106
|
require 'cloudmersive-convert-api-client/models/enable_shared_workbook_response'
|
98
107
|
require 'cloudmersive-convert-api-client/models/exif_value'
|
108
|
+
require 'cloudmersive-convert-api-client/models/fill_handlebar_form_field'
|
99
109
|
require 'cloudmersive-convert-api-client/models/find_docx_paragraph_request'
|
100
110
|
require 'cloudmersive-convert-api-client/models/find_docx_paragraph_response'
|
101
111
|
require 'cloudmersive-convert-api-client/models/find_regex_match'
|
@@ -109,8 +119,10 @@ require 'cloudmersive-convert-api-client/models/get_docx_body_request'
|
|
109
119
|
require 'cloudmersive-convert-api-client/models/get_docx_body_response'
|
110
120
|
require 'cloudmersive-convert-api-client/models/get_docx_comments_hierarchical_response'
|
111
121
|
require 'cloudmersive-convert-api-client/models/get_docx_comments_response'
|
122
|
+
require 'cloudmersive-convert-api-client/models/get_docx_content_controls_response'
|
112
123
|
require 'cloudmersive-convert-api-client/models/get_docx_get_comments_hierarchical_request'
|
113
124
|
require 'cloudmersive-convert-api-client/models/get_docx_get_comments_request'
|
125
|
+
require 'cloudmersive-convert-api-client/models/get_docx_get_form_fields_response'
|
114
126
|
require 'cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request'
|
115
127
|
require 'cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response'
|
116
128
|
require 'cloudmersive-convert-api-client/models/get_docx_images_request'
|
@@ -148,6 +160,7 @@ require 'cloudmersive-convert-api-client/models/get_xlsx_styles_request'
|
|
148
160
|
require 'cloudmersive-convert-api-client/models/get_xlsx_styles_response'
|
149
161
|
require 'cloudmersive-convert-api-client/models/get_xlsx_worksheets_request'
|
150
162
|
require 'cloudmersive-convert-api-client/models/get_xlsx_worksheets_response'
|
163
|
+
require 'cloudmersive-convert-api-client/models/handlebar_form_field'
|
151
164
|
require 'cloudmersive-convert-api-client/models/html_get_language_result'
|
152
165
|
require 'cloudmersive-convert-api-client/models/html_get_links_response'
|
153
166
|
require 'cloudmersive-convert-api-client/models/html_get_rel_canonical_url_result'
|
@@ -176,6 +176,30 @@ describe 'EditDocumentApi' do
|
|
176
176
|
end
|
177
177
|
end
|
178
178
|
|
179
|
+
# unit tests for edit_document_docx_get_content_controls
|
180
|
+
# Get all content controls (form fields) and values in a Word DOCX document
|
181
|
+
# Returns all the content controls, used for creating form fields, in a Office Word Document (docx)
|
182
|
+
# @param input_file Input file to perform the operation on.
|
183
|
+
# @param [Hash] opts the optional parameters
|
184
|
+
# @return [GetDocxContentControlsResponse]
|
185
|
+
describe 'edit_document_docx_get_content_controls test' do
|
186
|
+
it 'should work' do
|
187
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
# unit tests for edit_document_docx_get_form_fields
|
192
|
+
# Get all form fields in a Word DOCX document
|
193
|
+
# Returns all the content controls, used for creating form fields, as well as handlebar style text-based form fields such as \"{{FieldName}}\", in a Office Word Document (docx)
|
194
|
+
# @param input_file Input file to perform the operation on.
|
195
|
+
# @param [Hash] opts the optional parameters
|
196
|
+
# @return [GetDocxGetFormFieldsResponse]
|
197
|
+
describe 'edit_document_docx_get_form_fields test' do
|
198
|
+
it 'should work' do
|
199
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
179
203
|
# unit tests for edit_document_docx_get_headers_and_footers
|
180
204
|
# Get content of a footer from a Word DOCX document
|
181
205
|
# Returns the footer content from a Word Document (DOCX) format file
|
@@ -405,7 +429,7 @@ describe 'EditDocumentApi' do
|
|
405
429
|
end
|
406
430
|
|
407
431
|
# unit tests for edit_document_docx_replace_multi
|
408
|
-
# Replace multiple strings in Word DOCX document
|
432
|
+
# Replace multiple strings in Word DOCX document, return result
|
409
433
|
# Replace all instances of multiple strings in an Office Word Document (docx)
|
410
434
|
# @param req_config Document string replacement configuration input
|
411
435
|
# @param [Hash] opts the optional parameters
|
@@ -416,6 +440,18 @@ describe 'EditDocumentApi' do
|
|
416
440
|
end
|
417
441
|
end
|
418
442
|
|
443
|
+
# unit tests for edit_document_docx_replace_multi_edit_session
|
444
|
+
# Replace multiple strings in Word DOCX document, return edit session
|
445
|
+
# Replace all instances of multiple strings in an Office Word Document (docx). Returns an edit session URL so that you can chain together multiple edit operations without having to send the entire document contents back and forth multiple times. Call the Finish Editing API to retrieve the final document once editing is complete.
|
446
|
+
# @param req_config Document string replacement configuration input
|
447
|
+
# @param [Hash] opts the optional parameters
|
448
|
+
# @return [DocumentEditingEditSession]
|
449
|
+
describe 'edit_document_docx_replace_multi_edit_session test' do
|
450
|
+
it 'should work' do
|
451
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
452
|
+
end
|
453
|
+
end
|
454
|
+
|
419
455
|
# unit tests for edit_document_docx_replace_paragraph
|
420
456
|
# Replace matching paragraphs in a Word DOCX document
|
421
457
|
# Returns the edited Word Document (DOCX) format file with the matching paragraphs replaced as requested. Replace a paragraph with another object such as an image. Useful for performing templating operations.
|
@@ -464,6 +500,18 @@ describe 'EditDocumentApi' do
|
|
464
500
|
end
|
465
501
|
end
|
466
502
|
|
503
|
+
# unit tests for edit_document_docx_set_form_fields
|
504
|
+
# Set and fill values for form fields in a Word DOCX document
|
505
|
+
# Modifies a Office Word Document (docx) by filling in form fields using the provided values.
|
506
|
+
# @param req_config
|
507
|
+
# @param [Hash] opts the optional parameters
|
508
|
+
# @return [String]
|
509
|
+
describe 'edit_document_docx_set_form_fields 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
|
+
|
467
515
|
# unit tests for edit_document_docx_set_header
|
468
516
|
# Set the header in a Word DOCX document
|
469
517
|
# Set the header in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
|
@@ -33,7 +33,7 @@ describe 'TransformDocumentApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for transform_document_docx_replace
|
36
|
-
# Replace string in Word DOCX document
|
36
|
+
# Replace string in Word DOCX document, return result
|
37
37
|
# Replace all instances of a string in an Office Word Document (docx)
|
38
38
|
# @param match_string String to search for and match against, to be replaced
|
39
39
|
# @param replace_string String to replace the matched values with
|
@@ -48,8 +48,60 @@ describe 'TransformDocumentApi' do
|
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
51
|
+
# unit tests for transform_document_docx_replace_edit_session
|
52
|
+
# Replace string in Word DOCX document, return edit session
|
53
|
+
# Replace all instances of a string in an Office Word Document (docx). Returns an edit session URL so that you can chain together multiple edit operations without having to send the entire document contents back and forth multiple times. Call the Finish Editing API to retrieve the final document once editing is complete.
|
54
|
+
# @param match_string String to search for and match against, to be replaced
|
55
|
+
# @param replace_string String to replace the matched values with
|
56
|
+
# @param [Hash] opts the optional parameters
|
57
|
+
# @option opts [File] :input_file Optional: Input file to perform the operation on.
|
58
|
+
# @option opts [String] :input_file_url 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 (part of EditDocumentApi) to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).
|
59
|
+
# @option opts [BOOLEAN] :match_case Optional: True if the case should be matched, false for case insensitive match. Default is false.
|
60
|
+
# @return [DocumentTransformEditSession]
|
61
|
+
describe 'transform_document_docx_replace_edit_session test' do
|
62
|
+
it 'should work' do
|
63
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
# unit tests for transform_document_docx_table_fill_in
|
68
|
+
# Fill in data in a table in a Word DOCX document, return result
|
69
|
+
# Replace placeholder rows ina table in an Office Word Document (docx) using one or more templates
|
70
|
+
# @param request
|
71
|
+
# @param [Hash] opts the optional parameters
|
72
|
+
# @return [String]
|
73
|
+
describe 'transform_document_docx_table_fill_in test' do
|
74
|
+
it 'should work' do
|
75
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
# unit tests for transform_document_docx_table_fill_in_edit_session
|
80
|
+
# Fill in data in a table in a Word DOCX document, return edit session
|
81
|
+
# Replace placeholder rows ina table in an Office Word Document (docx) using one or more templates. Returns an edit session URL so that you can chain together multiple edit operations without having to send the entire document contents back and forth multiple times. Call the Finish Editing API to retrieve the final document once editing is complete.
|
82
|
+
# @param request
|
83
|
+
# @param [Hash] opts the optional parameters
|
84
|
+
# @return [DocumentTransformEditSession]
|
85
|
+
describe 'transform_document_docx_table_fill_in_edit_session test' do
|
86
|
+
it 'should work' do
|
87
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
# unit tests for transform_document_docx_table_fill_in_multi
|
92
|
+
# Fill in data in multiple tables in a Word DOCX document, return result
|
93
|
+
# Replace placeholder rows in multiple tables in an Office Word Document (docx) using one or more templates
|
94
|
+
# @param request
|
95
|
+
# @param [Hash] opts the optional parameters
|
96
|
+
# @return [Object]
|
97
|
+
describe 'transform_document_docx_table_fill_in_multi test' do
|
98
|
+
it 'should work' do
|
99
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
51
103
|
# unit tests for transform_document_pptx_replace
|
52
|
-
# Replace string in PowerPoint PPTX presentation
|
104
|
+
# Replace string in PowerPoint PPTX presentation, return result
|
53
105
|
# Replace all instances of a string in an Office PowerPoint Document (pptx)
|
54
106
|
# @param match_string String to search for and match against, to be replaced
|
55
107
|
# @param replace_string String to replace the matched values with
|
@@ -0,0 +1,47 @@
|
|
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.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::DocumentEditingEditSession
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DocumentEditingEditSession' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::DocumentEditingEditSession.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DocumentEditingEditSession' do
|
31
|
+
it 'should create an instance of DocumentEditingEditSession' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DocumentEditingEditSession)
|
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 "edit_session_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
|
@@ -0,0 +1,47 @@
|
|
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.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::DocumentTransformEditSession
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DocumentTransformEditSession' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::DocumentTransformEditSession.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DocumentTransformEditSession' do
|
31
|
+
it 'should create an instance of DocumentTransformEditSession' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DocumentTransformEditSession)
|
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 "edit_session_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
|
@@ -0,0 +1,41 @@
|
|
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.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::DocxContentControl
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DocxContentControl' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::DocxContentControl.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DocxContentControl' do
|
31
|
+
it 'should create an instance of DocxContentControl' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DocxContentControl)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "value"' 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
|
+
end
|
@@ -0,0 +1,53 @@
|
|
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.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::DocxSetFormFieldsRequest
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DocxSetFormFieldsRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::DocxSetFormFieldsRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DocxSetFormFieldsRequest' do
|
31
|
+
it 'should create an instance of DocxSetFormFieldsRequest' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DocxSetFormFieldsRequest)
|
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 "handlebar_fields_to_fill"' 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
|
@@ -0,0 +1,53 @@
|
|
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.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::DocxTableSingleTableFill
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DocxTableSingleTableFill' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::DocxTableSingleTableFill.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DocxTableSingleTableFill' do
|
31
|
+
it 'should create an instance of DocxTableSingleTableFill' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DocxTableSingleTableFill)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "table_start_tag"' 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 "table_end_tag"' 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 "data_to_fill_in"' 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
|