cloudmersive-convert-api-client 1.4.7 → 1.4.8
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 +14 -8
- data/docs/ConvertDocumentApi.md +76 -0
- data/docs/EditPdfApi.md +55 -0
- data/docs/MergeDocumentApi.md +320 -16
- data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +87 -0
- data/lib/cloudmersive-convert-api-client/api/edit_pdf_api.rb +56 -0
- data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +364 -16
- data/lib/cloudmersive-convert-api-client/version.rb +1 -1
- data/spec/api/convert_document_api_spec.rb +21 -0
- data/spec/api/edit_pdf_api_spec.rb +12 -0
- data/spec/api/merge_document_api_spec.rb +92 -8
- metadata +2 -2
@@ -224,6 +224,27 @@ describe 'ConvertDocumentApi' do
|
|
224
224
|
end
|
225
225
|
end
|
226
226
|
|
227
|
+
# unit tests for convert_document_png_array_to_pdf
|
228
|
+
# PNG Array to PDF
|
229
|
+
# Convert an array of PNG images, one image per page, into a newly-created PDF. Supports images of different sizes as input.
|
230
|
+
# @param input_file1 First input file to perform the operation on.
|
231
|
+
# @param input_file2 Second input file to perform the operation on.
|
232
|
+
# @param [Hash] opts the optional parameters
|
233
|
+
# @option opts [File] :input_file3 Third input file to perform the operation on.
|
234
|
+
# @option opts [File] :input_file4 Fourth input file to perform the operation on.
|
235
|
+
# @option opts [File] :input_file5 Fifth input file to perform the operation on.
|
236
|
+
# @option opts [File] :input_file6 Sixth input file to perform the operation on.
|
237
|
+
# @option opts [File] :input_file7 Seventh input file to perform the operation on.
|
238
|
+
# @option opts [File] :input_file8 Eighth input file to perform the operation on.
|
239
|
+
# @option opts [File] :input_file9 Ninth input file to perform the operation on.
|
240
|
+
# @option opts [File] :input_file10 Tenth input file to perform the operation on.
|
241
|
+
# @return [String]
|
242
|
+
describe 'convert_document_png_array_to_pdf test' do
|
243
|
+
it "should work" do
|
244
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
227
248
|
# unit tests for convert_document_ppt_to_pdf
|
228
249
|
# PowerPoint PPT (97-03) to PDF
|
229
250
|
# Convert Office PowerPoint (97-2003) Documents (ppt) to standard PDF
|
@@ -46,6 +46,18 @@ describe 'EditPdfApi' do
|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
|
+
# unit tests for edit_pdf_rasterize
|
50
|
+
# Rasterize a PDF to an image-based PDF
|
51
|
+
# Rasterize a PDF into an image-based PDF. The output is a PDF where each page is comprised of a high-resolution image, with all text, figures and other components removed.
|
52
|
+
# @param input_file Input file to perform the operation on.
|
53
|
+
# @param [Hash] opts the optional parameters
|
54
|
+
# @return [String]
|
55
|
+
describe 'edit_pdf_rasterize test' do
|
56
|
+
it "should work" do
|
57
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
49
61
|
# unit tests for edit_pdf_set_permissions
|
50
62
|
# Encrypt, password-protect and set restricted permissions on a PDF
|
51
63
|
# Encrypt a PDF document with a password, and set permissions on the PDF. Set an owner password to control owner (editor/creator) permissions [required], and set a user (reader) password to control the viewer of the PDF [optional]. Set the reader password to null to omit the password. Restrict or allow printing, copying content, document assembly, editing (read-only), form filling, modification of annotations, and degraded printing through document Digital Rights Management (DRM).
|
@@ -33,8 +33,8 @@ describe 'MergeDocumentApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for merge_document_docx
|
36
|
-
# Merge
|
37
|
-
# Combine
|
36
|
+
# Merge Two Word DOCX Together
|
37
|
+
# Combine two Office Word Documents (docx) into one single Office Word document
|
38
38
|
# @param input_file1 First input file to perform the operation on.
|
39
39
|
# @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
|
40
40
|
# @param [Hash] opts the optional parameters
|
@@ -45,9 +45,30 @@ describe 'MergeDocumentApi' do
|
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
+
# unit tests for merge_document_docx_multi
|
49
|
+
# Merge Multple Word DOCX Together
|
50
|
+
# Combine multiple Office Word Documents (docx) into one single Office Word document
|
51
|
+
# @param input_file1 First input file to perform the operation on.
|
52
|
+
# @param input_file2 Second input file to perform the operation on.
|
53
|
+
# @param [Hash] opts the optional parameters
|
54
|
+
# @option opts [File] :input_file3 Third input file to perform the operation on.
|
55
|
+
# @option opts [File] :input_file4 Fourth input file to perform the operation on.
|
56
|
+
# @option opts [File] :input_file5 Fifth input file to perform the operation on.
|
57
|
+
# @option opts [File] :input_file6 Sixth input file to perform the operation on.
|
58
|
+
# @option opts [File] :input_file7 Seventh input file to perform the operation on.
|
59
|
+
# @option opts [File] :input_file8 Eighth input file to perform the operation on.
|
60
|
+
# @option opts [File] :input_file9 Ninth input file to perform the operation on.
|
61
|
+
# @option opts [File] :input_file10 Tenth input file to perform the operation on.
|
62
|
+
# @return [String]
|
63
|
+
describe 'merge_document_docx_multi test' do
|
64
|
+
it "should work" do
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
48
69
|
# unit tests for merge_document_pdf
|
49
|
-
# Merge
|
50
|
-
# Combine
|
70
|
+
# Merge Two PDF Files Together
|
71
|
+
# Combine two PDF files (pdf) into a single PDF document, preserving the order of the input documents in the combined document
|
51
72
|
# @param input_file1 First input file to perform the operation on.
|
52
73
|
# @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
|
53
74
|
# @param [Hash] opts the optional parameters
|
@@ -58,6 +79,27 @@ describe 'MergeDocumentApi' do
|
|
58
79
|
end
|
59
80
|
end
|
60
81
|
|
82
|
+
# unit tests for merge_document_pdf_multi
|
83
|
+
# Merge Multple PDF Files Together
|
84
|
+
# Combine multiple PDF files (pdf) into a single PDF document, preserving the order of the input documents in the combined document
|
85
|
+
# @param input_file1 First input file to perform the operation on.
|
86
|
+
# @param input_file2 Second input file to perform the operation on.
|
87
|
+
# @param [Hash] opts the optional parameters
|
88
|
+
# @option opts [File] :input_file3 Third input file to perform the operation on.
|
89
|
+
# @option opts [File] :input_file4 Fourth input file to perform the operation on.
|
90
|
+
# @option opts [File] :input_file5 Fifth input file to perform the operation on.
|
91
|
+
# @option opts [File] :input_file6 Sixth input file to perform the operation on.
|
92
|
+
# @option opts [File] :input_file7 Seventh input file to perform the operation on.
|
93
|
+
# @option opts [File] :input_file8 Eighth input file to perform the operation on.
|
94
|
+
# @option opts [File] :input_file9 Ninth input file to perform the operation on.
|
95
|
+
# @option opts [File] :input_file10 Tenth input file to perform the operation on.
|
96
|
+
# @return [String]
|
97
|
+
describe 'merge_document_pdf_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
|
+
|
61
103
|
# unit tests for merge_document_png
|
62
104
|
# Merge Multple PNG Files Together
|
63
105
|
# Combine multiple PNG files into a single PNG document, preserving the order of the input documents in the combined document by stacking them vertically
|
@@ -72,8 +114,8 @@ describe 'MergeDocumentApi' do
|
|
72
114
|
end
|
73
115
|
|
74
116
|
# unit tests for merge_document_pptx
|
75
|
-
# Merge
|
76
|
-
# Combine
|
117
|
+
# Merge Two PowerPoint PPTX Together
|
118
|
+
# Combine two Office PowerPoint presentations (pptx) into one single Office PowerPoint presentation
|
77
119
|
# @param input_file1 First input file to perform the operation on.
|
78
120
|
# @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
|
79
121
|
# @param [Hash] opts the optional parameters
|
@@ -84,9 +126,30 @@ describe 'MergeDocumentApi' do
|
|
84
126
|
end
|
85
127
|
end
|
86
128
|
|
129
|
+
# unit tests for merge_document_pptx_multi
|
130
|
+
# Merge Multple PowerPoint PPTX Together
|
131
|
+
# Combine multiple Office PowerPoint presentations (pptx) into one single Office PowerPoint presentation
|
132
|
+
# @param input_file1 First input file to perform the operation on.
|
133
|
+
# @param input_file2 Second input file to perform the operation on.
|
134
|
+
# @param [Hash] opts the optional parameters
|
135
|
+
# @option opts [File] :input_file3 Third input file to perform the operation on.
|
136
|
+
# @option opts [File] :input_file4 Fourth input file to perform the operation on.
|
137
|
+
# @option opts [File] :input_file5 Fifth input file to perform the operation on.
|
138
|
+
# @option opts [File] :input_file6 Sixth input file to perform the operation on.
|
139
|
+
# @option opts [File] :input_file7 Seventh input file to perform the operation on.
|
140
|
+
# @option opts [File] :input_file8 Eighth input file to perform the operation on.
|
141
|
+
# @option opts [File] :input_file9 Ninth input file to perform the operation on.
|
142
|
+
# @option opts [File] :input_file10 Tenth input file to perform the operation on.
|
143
|
+
# @return [String]
|
144
|
+
describe 'merge_document_pptx_multi test' do
|
145
|
+
it "should work" do
|
146
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
87
150
|
# unit tests for merge_document_xlsx
|
88
|
-
# Merge
|
89
|
-
# Combine
|
151
|
+
# Merge Two Excel XLSX Together
|
152
|
+
# Combine two Office Excel spreadsheets (xlsx) into a single Office Excel spreadsheet
|
90
153
|
# @param input_file1 First input file to perform the operation on.
|
91
154
|
# @param input_file2 Second input file to perform the operation on (more than 2 can be supplied).
|
92
155
|
# @param [Hash] opts the optional parameters
|
@@ -97,4 +160,25 @@ describe 'MergeDocumentApi' do
|
|
97
160
|
end
|
98
161
|
end
|
99
162
|
|
163
|
+
# unit tests for merge_document_xlsx_multi
|
164
|
+
# Merge Multple Excel XLSX Together
|
165
|
+
# Combine multiple Office Excel spreadsheets (xlsx) into a single Office Excel spreadsheet
|
166
|
+
# @param input_file1 First input file to perform the operation on.
|
167
|
+
# @param input_file2 Second input file to perform the operation on.
|
168
|
+
# @param [Hash] opts the optional parameters
|
169
|
+
# @option opts [File] :input_file3 Third input file to perform the operation on.
|
170
|
+
# @option opts [File] :input_file4 Fourth input file to perform the operation on.
|
171
|
+
# @option opts [File] :input_file5 Fifth input file to perform the operation on.
|
172
|
+
# @option opts [File] :input_file6 Sixth input file to perform the operation on.
|
173
|
+
# @option opts [File] :input_file7 Seventh input file to perform the operation on.
|
174
|
+
# @option opts [File] :input_file8 Eighth input file to perform the operation on.
|
175
|
+
# @option opts [File] :input_file9 Ninth input file to perform the operation on.
|
176
|
+
# @option opts [File] :input_file10 Tenth input file to perform the operation on.
|
177
|
+
# @return [String]
|
178
|
+
describe 'merge_document_xlsx_multi test' do
|
179
|
+
it "should work" do
|
180
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
100
184
|
end
|
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.4.
|
4
|
+
version: 1.4.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cloudmersive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|