test_kaferi_cloud 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.swagger-codegen-ignore +1 -1
- data/README.md +33 -19
- data/lib/test_kaferi_cloud/version.rb +1 -1
- data/test/pdf_tests.rb +1268 -0
- data/test_data/33539.jpg +0 -0
- data/test_data/44781.jpg +0 -0
- data/test_data/4pages.pdf +0 -0
- data/test_data/BlankWithSignature.pdf +0 -0
- data/test_data/Hello_world.pdf +0 -0
- data/test_data/HtmlExample1.html +27 -0
- data/test_data/Koala.jpg +0 -0
- data/test_data/PdfWithAcroForm.pdf +321 -0
- data/test_data/PdfWithAnnotations.pdf +720 -1
- data/test_data/PdfWithBookmarks.pdf +0 -0
- data/test_data/PdfWithEmbeddedFiles.pdf +0 -0
- data/test_data/PdfWithImages2.pdf +0 -0
- data/test_data/PdfWithLinks.pdf +0 -0
- data/test_data/Penguins.jpg +0 -0
- data/test_data/butterfly.jpg +0 -0
- data/test_data/marketing.pdf +0 -0
- data/test_data/rusdoc.pdf +0 -0
- data/test_data/test1234.pfx +0 -0
- metadata +22 -88
- data/.swagger-codegen/VERSION +0 -1
- data/spec/api/pdf_api_spec.rb +0 -956
- data/spec/api_client_spec.rb +0 -235
- data/spec/configuration_spec.rb +0 -51
- data/spec/models/annotation_response_spec.rb +0 -63
- data/spec/models/annotation_spec.rb +0 -87
- data/spec/models/annotations_response_spec.rb +0 -63
- data/spec/models/annotations_spec.rb +0 -57
- data/spec/models/append_document_spec.rb +0 -63
- data/spec/models/attachment_response_spec.rb +0 -63
- data/spec/models/attachment_spec.rb +0 -93
- data/spec/models/attachments_response_spec.rb +0 -63
- data/spec/models/attachments_spec.rb +0 -57
- data/spec/models/bookmarks_response_spec.rb +0 -63
- data/spec/models/bookmarks_spec.rb +0 -57
- data/spec/models/color_spec.rb +0 -69
- data/spec/models/document_pages_response_spec.rb +0 -63
- data/spec/models/document_properties_response_spec.rb +0 -63
- data/spec/models/document_properties_spec.rb +0 -57
- data/spec/models/document_property_response_spec.rb +0 -63
- data/spec/models/document_property_spec.rb +0 -69
- data/spec/models/document_response_spec.rb +0 -69
- data/spec/models/document_spec.rb +0 -63
- data/spec/models/document_text_replace_response_spec.rb +0 -69
- data/spec/models/field_response_spec.rb +0 -63
- data/spec/models/field_spec.rb +0 -81
- data/spec/models/field_type_spec.rb +0 -45
- data/spec/models/fields_response_spec.rb +0 -63
- data/spec/models/fields_spec.rb +0 -57
- data/spec/models/font_styles_spec.rb +0 -45
- data/spec/models/horizontal_alignment_spec.rb +0 -45
- data/spec/models/http_status_code_spec.rb +0 -45
- data/spec/models/image_response_spec.rb +0 -63
- data/spec/models/image_spec.rb +0 -63
- data/spec/models/images_list_request_spec.rb +0 -51
- data/spec/models/images_response_spec.rb +0 -63
- data/spec/models/images_spec.rb +0 -57
- data/spec/models/line_spacing_spec.rb +0 -45
- data/spec/models/link_action_type_spec.rb +0 -45
- data/spec/models/link_annotation_response_spec.rb +0 -63
- data/spec/models/link_annotation_spec.rb +0 -75
- data/spec/models/link_annotations_response_spec.rb +0 -63
- data/spec/models/link_annotations_spec.rb +0 -57
- data/spec/models/link_element_spec.rb +0 -51
- data/spec/models/link_highlighting_mode_spec.rb +0 -45
- data/spec/models/link_spec.rb +0 -69
- data/spec/models/merge_documents_spec.rb +0 -51
- data/spec/models/optimize_options_spec.rb +0 -87
- data/spec/models/page_spec.rb +0 -69
- data/spec/models/page_text_replace_response_spec.rb +0 -69
- data/spec/models/page_word_count_spec.rb +0 -57
- data/spec/models/pages_spec.rb +0 -57
- data/spec/models/paragraph_spec.rb +0 -117
- data/spec/models/rectangle_spec.rb +0 -69
- data/spec/models/rotation_spec.rb +0 -45
- data/spec/models/saa_spose_response_spec.rb +0 -57
- data/spec/models/segment_spec.rb +0 -57
- data/spec/models/signature_spec.rb +0 -123
- data/spec/models/signature_type_spec.rb +0 -45
- data/spec/models/split_result_document_spec.rb +0 -75
- data/spec/models/split_result_response_spec.rb +0 -63
- data/spec/models/split_result_spec.rb +0 -51
- data/spec/models/stamp_spec.rb +0 -177
- data/spec/models/stamp_type_spec.rb +0 -45
- data/spec/models/text_format_response_spec.rb +0 -63
- data/spec/models/text_format_spec.rb +0 -69
- data/spec/models/text_horizontal_alignment_spec.rb +0 -45
- data/spec/models/text_item_response_spec.rb +0 -63
- data/spec/models/text_item_spec.rb +0 -63
- data/spec/models/text_items_response_spec.rb +0 -63
- data/spec/models/text_items_spec.rb +0 -57
- data/spec/models/text_line_spec.rb +0 -57
- data/spec/models/text_rect_spec.rb +0 -63
- data/spec/models/text_rects_response_spec.rb +0 -63
- data/spec/models/text_rects_spec.rb +0 -51
- data/spec/models/text_replace_list_request_spec.rb +0 -69
- data/spec/models/text_replace_request_spec.rb +0 -81
- data/spec/models/text_replace_response_spec.rb +0 -63
- data/spec/models/text_replace_spec.rb +0 -75
- data/spec/models/text_state_spec.rb +0 -75
- data/spec/models/tiff_export_options_spec.rb +0 -141
- data/spec/models/vertical_alignment_spec.rb +0 -45
- data/spec/models/word_count_response_spec.rb +0 -63
- data/spec/models/word_count_spec.rb +0 -51
- data/spec/models/wrap_mode_spec.rb +0 -45
- data/spec/spec_helper.rb +0 -120
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test_kaferi_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aspose PDF for Cloud
|
@@ -89,7 +89,6 @@ extra_rdoc_files: []
|
|
89
89
|
files:
|
90
90
|
- ".gitignore"
|
91
91
|
- ".swagger-codegen-ignore"
|
92
|
-
- ".swagger-codegen/VERSION"
|
93
92
|
- LICENSE
|
94
93
|
- README.md
|
95
94
|
- lib/test_kaferi_cloud.rb
|
@@ -179,91 +178,25 @@ files:
|
|
179
178
|
- lib/test_kaferi_cloud/models/word_count_response.rb
|
180
179
|
- lib/test_kaferi_cloud/models/wrap_mode.rb
|
181
180
|
- lib/test_kaferi_cloud/version.rb
|
182
|
-
-
|
183
|
-
-
|
184
|
-
-
|
185
|
-
-
|
186
|
-
-
|
187
|
-
-
|
188
|
-
-
|
189
|
-
-
|
190
|
-
-
|
191
|
-
-
|
192
|
-
-
|
193
|
-
-
|
194
|
-
-
|
195
|
-
-
|
196
|
-
-
|
197
|
-
-
|
198
|
-
-
|
199
|
-
-
|
200
|
-
-
|
201
|
-
- spec/models/document_property_spec.rb
|
202
|
-
- spec/models/document_response_spec.rb
|
203
|
-
- spec/models/document_spec.rb
|
204
|
-
- spec/models/document_text_replace_response_spec.rb
|
205
|
-
- spec/models/field_response_spec.rb
|
206
|
-
- spec/models/field_spec.rb
|
207
|
-
- spec/models/field_type_spec.rb
|
208
|
-
- spec/models/fields_response_spec.rb
|
209
|
-
- spec/models/fields_spec.rb
|
210
|
-
- spec/models/font_styles_spec.rb
|
211
|
-
- spec/models/horizontal_alignment_spec.rb
|
212
|
-
- spec/models/http_status_code_spec.rb
|
213
|
-
- spec/models/image_response_spec.rb
|
214
|
-
- spec/models/image_spec.rb
|
215
|
-
- spec/models/images_list_request_spec.rb
|
216
|
-
- spec/models/images_response_spec.rb
|
217
|
-
- spec/models/images_spec.rb
|
218
|
-
- spec/models/line_spacing_spec.rb
|
219
|
-
- spec/models/link_action_type_spec.rb
|
220
|
-
- spec/models/link_annotation_response_spec.rb
|
221
|
-
- spec/models/link_annotation_spec.rb
|
222
|
-
- spec/models/link_annotations_response_spec.rb
|
223
|
-
- spec/models/link_annotations_spec.rb
|
224
|
-
- spec/models/link_element_spec.rb
|
225
|
-
- spec/models/link_highlighting_mode_spec.rb
|
226
|
-
- spec/models/link_spec.rb
|
227
|
-
- spec/models/merge_documents_spec.rb
|
228
|
-
- spec/models/optimize_options_spec.rb
|
229
|
-
- spec/models/page_spec.rb
|
230
|
-
- spec/models/page_text_replace_response_spec.rb
|
231
|
-
- spec/models/page_word_count_spec.rb
|
232
|
-
- spec/models/pages_spec.rb
|
233
|
-
- spec/models/paragraph_spec.rb
|
234
|
-
- spec/models/rectangle_spec.rb
|
235
|
-
- spec/models/rotation_spec.rb
|
236
|
-
- spec/models/saa_spose_response_spec.rb
|
237
|
-
- spec/models/segment_spec.rb
|
238
|
-
- spec/models/signature_spec.rb
|
239
|
-
- spec/models/signature_type_spec.rb
|
240
|
-
- spec/models/split_result_document_spec.rb
|
241
|
-
- spec/models/split_result_response_spec.rb
|
242
|
-
- spec/models/split_result_spec.rb
|
243
|
-
- spec/models/stamp_spec.rb
|
244
|
-
- spec/models/stamp_type_spec.rb
|
245
|
-
- spec/models/text_format_response_spec.rb
|
246
|
-
- spec/models/text_format_spec.rb
|
247
|
-
- spec/models/text_horizontal_alignment_spec.rb
|
248
|
-
- spec/models/text_item_response_spec.rb
|
249
|
-
- spec/models/text_item_spec.rb
|
250
|
-
- spec/models/text_items_response_spec.rb
|
251
|
-
- spec/models/text_items_spec.rb
|
252
|
-
- spec/models/text_line_spec.rb
|
253
|
-
- spec/models/text_rect_spec.rb
|
254
|
-
- spec/models/text_rects_response_spec.rb
|
255
|
-
- spec/models/text_rects_spec.rb
|
256
|
-
- spec/models/text_replace_list_request_spec.rb
|
257
|
-
- spec/models/text_replace_request_spec.rb
|
258
|
-
- spec/models/text_replace_response_spec.rb
|
259
|
-
- spec/models/text_replace_spec.rb
|
260
|
-
- spec/models/text_state_spec.rb
|
261
|
-
- spec/models/tiff_export_options_spec.rb
|
262
|
-
- spec/models/vertical_alignment_spec.rb
|
263
|
-
- spec/models/word_count_response_spec.rb
|
264
|
-
- spec/models/word_count_spec.rb
|
265
|
-
- spec/models/wrap_mode_spec.rb
|
266
|
-
- spec/spec_helper.rb
|
181
|
+
- test/pdf_tests.rb
|
182
|
+
- test_data/33539.jpg
|
183
|
+
- test_data/44781.jpg
|
184
|
+
- test_data/4pages.pdf
|
185
|
+
- test_data/BlankWithSignature.pdf
|
186
|
+
- test_data/Hello_world.pdf
|
187
|
+
- test_data/HtmlExample1.html
|
188
|
+
- test_data/Koala.jpg
|
189
|
+
- test_data/PdfWithAcroForm.pdf
|
190
|
+
- test_data/PdfWithAnnotations.pdf
|
191
|
+
- test_data/PdfWithBookmarks.pdf
|
192
|
+
- test_data/PdfWithEmbeddedFiles.pdf
|
193
|
+
- test_data/PdfWithImages2.pdf
|
194
|
+
- test_data/PdfWithLinks.pdf
|
195
|
+
- test_data/Penguins.jpg
|
196
|
+
- test_data/butterfly.jpg
|
197
|
+
- test_data/marketing.pdf
|
198
|
+
- test_data/rusdoc.pdf
|
199
|
+
- test_data/test1234.pfx
|
267
200
|
- test_kaferi_cloud.gemspec
|
268
201
|
homepage: https://products.aspose.cloud/pdf/cloud
|
269
202
|
licenses:
|
@@ -289,4 +222,5 @@ rubygems_version: 2.7.3
|
|
289
222
|
signing_key:
|
290
223
|
specification_version: 4
|
291
224
|
summary: Aspose.PDF for Cloud
|
292
|
-
test_files:
|
225
|
+
test_files:
|
226
|
+
- test/pdf_tests.rb
|
data/.swagger-codegen/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.2.3
|
data/spec/api/pdf_api_spec.rb
DELETED
@@ -1,956 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
Copyright (c) 2018 Aspose.Pdf for Cloud
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
-
of this software and associated documentation files (the "Software"), to deal
|
6
|
-
in the Software without restriction, including without limitation the rights
|
7
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
-
copies of the Software, and to permit persons to whom the Software is
|
9
|
-
furnished to do so, subject to the following conditions:
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
11
|
-
copies or substantial portions of the Software.
|
12
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
SOFTWARE.
|
19
|
-
--------------------------------------------------------------------------------------------------------------------
|
20
|
-
=end
|
21
|
-
|
22
|
-
require 'spec_helper'
|
23
|
-
require 'json'
|
24
|
-
|
25
|
-
# Unit tests for TestKaferiCloud::PdfApi
|
26
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
27
|
-
# Please update as you see appropriate
|
28
|
-
describe 'PdfApi' do
|
29
|
-
before do
|
30
|
-
# run before each test
|
31
|
-
@instance = TestKaferiCloud::PdfApi.new
|
32
|
-
end
|
33
|
-
|
34
|
-
after do
|
35
|
-
# run after each test
|
36
|
-
end
|
37
|
-
|
38
|
-
describe 'test an instance of PdfApi' do
|
39
|
-
it 'should create an instance of PdfApi' do
|
40
|
-
expect(@instance).to be_instance_of(TestKaferiCloud::PdfApi)
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
# unit tests for delete_page
|
45
|
-
# Delete document page by its number.
|
46
|
-
#
|
47
|
-
# @param name The document name.
|
48
|
-
# @param page_number The page number.
|
49
|
-
# @param [Hash] opts the optional parameters
|
50
|
-
# @option opts [String] :storage The document storage.
|
51
|
-
# @option opts [String] :folder The document folder.
|
52
|
-
# @return [SaaSposeResponse]
|
53
|
-
describe 'delete_page test' 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
|
-
# unit tests for delete_properties
|
60
|
-
# Delete custom document properties.
|
61
|
-
#
|
62
|
-
# @param name
|
63
|
-
# @param [Hash] opts the optional parameters
|
64
|
-
# @option opts [String] :storage
|
65
|
-
# @option opts [String] :folder
|
66
|
-
# @return [SaaSposeResponse]
|
67
|
-
describe 'delete_properties test' do
|
68
|
-
it "should work" do
|
69
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
# unit tests for delete_property
|
74
|
-
# Delete document property.
|
75
|
-
#
|
76
|
-
# @param name
|
77
|
-
# @param property_name
|
78
|
-
# @param [Hash] opts the optional parameters
|
79
|
-
# @option opts [String] :storage
|
80
|
-
# @option opts [String] :folder
|
81
|
-
# @return [SaaSposeResponse]
|
82
|
-
describe 'delete_property test' do
|
83
|
-
it "should work" do
|
84
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
-
end
|
86
|
-
end
|
87
|
-
|
88
|
-
# unit tests for get_document
|
89
|
-
# Read common document info or convert to some format if the format specified.
|
90
|
-
#
|
91
|
-
# @param name The document name.
|
92
|
-
# @param [Hash] opts the optional parameters
|
93
|
-
# @option opts [String] :format The format to convert.
|
94
|
-
# @option opts [String] :storage The document storage.
|
95
|
-
# @option opts [String] :folder The document folder.
|
96
|
-
# @option opts [String] :out_path Path to save result
|
97
|
-
# @return [File]
|
98
|
-
describe 'get_document test' do
|
99
|
-
it "should work" do
|
100
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
101
|
-
end
|
102
|
-
end
|
103
|
-
|
104
|
-
# unit tests for get_document_attachment_by_index
|
105
|
-
# Read document attachment info by its index.
|
106
|
-
#
|
107
|
-
# @param name The document name.
|
108
|
-
# @param attachment_index The attachment index.
|
109
|
-
# @param [Hash] opts the optional parameters
|
110
|
-
# @option opts [String] :storage The document storage.
|
111
|
-
# @option opts [String] :folder The document folder.
|
112
|
-
# @return [AttachmentResponse]
|
113
|
-
describe 'get_document_attachment_by_index test' do
|
114
|
-
it "should work" do
|
115
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
-
end
|
117
|
-
end
|
118
|
-
|
119
|
-
# unit tests for get_document_attachments
|
120
|
-
# Read document attachments info.
|
121
|
-
#
|
122
|
-
# @param name The document name.
|
123
|
-
# @param [Hash] opts the optional parameters
|
124
|
-
# @option opts [String] :storage The document storage.
|
125
|
-
# @option opts [String] :folder The document folder.
|
126
|
-
# @return [AttachmentsResponse]
|
127
|
-
describe 'get_document_attachments test' do
|
128
|
-
it "should work" do
|
129
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
130
|
-
end
|
131
|
-
end
|
132
|
-
|
133
|
-
# unit tests for get_document_bookmarks
|
134
|
-
# Read document bookmarks.
|
135
|
-
#
|
136
|
-
# @param name The document name.
|
137
|
-
# @param [Hash] opts the optional parameters
|
138
|
-
# @option opts [String] :storage The document storage.
|
139
|
-
# @option opts [String] :folder The document folder.
|
140
|
-
# @return [BookmarksResponse]
|
141
|
-
describe 'get_document_bookmarks test' do
|
142
|
-
it "should work" do
|
143
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
144
|
-
end
|
145
|
-
end
|
146
|
-
|
147
|
-
# unit tests for get_document_properties
|
148
|
-
# Read document properties.
|
149
|
-
#
|
150
|
-
# @param name
|
151
|
-
# @param [Hash] opts the optional parameters
|
152
|
-
# @option opts [String] :storage
|
153
|
-
# @option opts [String] :folder
|
154
|
-
# @return [DocumentPropertiesResponse]
|
155
|
-
describe 'get_document_properties test' do
|
156
|
-
it "should work" do
|
157
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
158
|
-
end
|
159
|
-
end
|
160
|
-
|
161
|
-
# unit tests for get_document_property
|
162
|
-
# Read document property by name.
|
163
|
-
#
|
164
|
-
# @param name
|
165
|
-
# @param property_name
|
166
|
-
# @param [Hash] opts the optional parameters
|
167
|
-
# @option opts [String] :storage
|
168
|
-
# @option opts [String] :folder
|
169
|
-
# @return [DocumentPropertyResponse]
|
170
|
-
describe 'get_document_property test' do
|
171
|
-
it "should work" do
|
172
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
173
|
-
end
|
174
|
-
end
|
175
|
-
|
176
|
-
# unit tests for get_download_document_attachment_by_index
|
177
|
-
# Download document attachment content by its index.
|
178
|
-
#
|
179
|
-
# @param name The document name.
|
180
|
-
# @param attachment_index The attachment index.
|
181
|
-
# @param [Hash] opts the optional parameters
|
182
|
-
# @option opts [String] :storage The document storage.
|
183
|
-
# @option opts [String] :folder The document folder.
|
184
|
-
# @return [File]
|
185
|
-
describe 'get_download_document_attachment_by_index 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 get_field
|
192
|
-
# Get document field by name.
|
193
|
-
#
|
194
|
-
# @param name The document name.
|
195
|
-
# @param field_name The field name/
|
196
|
-
# @param [Hash] opts the optional parameters
|
197
|
-
# @option opts [String] :storage The document storage.
|
198
|
-
# @option opts [String] :folder The document folder.
|
199
|
-
# @return [FieldResponse]
|
200
|
-
describe 'get_field test' do
|
201
|
-
it "should work" do
|
202
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
203
|
-
end
|
204
|
-
end
|
205
|
-
|
206
|
-
# unit tests for get_fields
|
207
|
-
# Get document fields.
|
208
|
-
#
|
209
|
-
# @param name The document name.
|
210
|
-
# @param [Hash] opts the optional parameters
|
211
|
-
# @option opts [String] :storage The document storage.
|
212
|
-
# @option opts [String] :folder The document folder.
|
213
|
-
# @return [FieldsResponse]
|
214
|
-
describe 'get_fields test' do
|
215
|
-
it "should work" do
|
216
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
217
|
-
end
|
218
|
-
end
|
219
|
-
|
220
|
-
# unit tests for get_fragment
|
221
|
-
# Read page fragment.
|
222
|
-
#
|
223
|
-
# @param name
|
224
|
-
# @param page_number
|
225
|
-
# @param fragment_number
|
226
|
-
# @param [Hash] opts the optional parameters
|
227
|
-
# @option opts [String] :with_empty
|
228
|
-
# @option opts [String] :storage
|
229
|
-
# @option opts [String] :folder
|
230
|
-
# @return [TextItemsResponse]
|
231
|
-
describe 'get_fragment test' do
|
232
|
-
it "should work" do
|
233
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
234
|
-
end
|
235
|
-
end
|
236
|
-
|
237
|
-
# unit tests for get_fragment_text_format
|
238
|
-
# Read page fragment text format.
|
239
|
-
#
|
240
|
-
# @param name
|
241
|
-
# @param page_number
|
242
|
-
# @param fragment_number
|
243
|
-
# @param [Hash] opts the optional parameters
|
244
|
-
# @option opts [String] :storage
|
245
|
-
# @option opts [String] :folder
|
246
|
-
# @return [TextFormatResponse]
|
247
|
-
describe 'get_fragment_text_format test' do
|
248
|
-
it "should work" do
|
249
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
250
|
-
end
|
251
|
-
end
|
252
|
-
|
253
|
-
# unit tests for get_fragments
|
254
|
-
# Read page fragments.
|
255
|
-
#
|
256
|
-
# @param name
|
257
|
-
# @param page_number
|
258
|
-
# @param [Hash] opts the optional parameters
|
259
|
-
# @option opts [String] :with_empty
|
260
|
-
# @option opts [String] :storage
|
261
|
-
# @option opts [String] :folder
|
262
|
-
# @return [TextItemsResponse]
|
263
|
-
describe 'get_fragments test' do
|
264
|
-
it "should work" do
|
265
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
266
|
-
end
|
267
|
-
end
|
268
|
-
|
269
|
-
# unit tests for get_image
|
270
|
-
# Read document image by number.
|
271
|
-
#
|
272
|
-
# @param name The document name.
|
273
|
-
# @param page_number The page number.
|
274
|
-
# @param image_number The image format.
|
275
|
-
# @param [Hash] opts the optional parameters
|
276
|
-
# @option opts [String] :storage The document storage.
|
277
|
-
# @option opts [String] :folder The document folder.
|
278
|
-
# @return [File]
|
279
|
-
describe 'get_image test' do
|
280
|
-
it "should work" do
|
281
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
282
|
-
end
|
283
|
-
end
|
284
|
-
|
285
|
-
# unit tests for get_images
|
286
|
-
# Read document images.
|
287
|
-
#
|
288
|
-
# @param name The document name.
|
289
|
-
# @param page_number The page number.
|
290
|
-
# @param [Hash] opts the optional parameters
|
291
|
-
# @option opts [String] :storage The document storage.
|
292
|
-
# @option opts [String] :folder The document folder.
|
293
|
-
# @return [ImagesResponse]
|
294
|
-
describe 'get_images test' do
|
295
|
-
it "should work" do
|
296
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
297
|
-
end
|
298
|
-
end
|
299
|
-
|
300
|
-
# unit tests for get_page
|
301
|
-
# Read document page info.
|
302
|
-
#
|
303
|
-
# @param name The document name.
|
304
|
-
# @param page_number The page number.
|
305
|
-
# @param [Hash] opts the optional parameters
|
306
|
-
# @option opts [String] :storage The document storage.
|
307
|
-
# @option opts [String] :folder The document folder.
|
308
|
-
# @return [File]
|
309
|
-
describe 'get_page test' do
|
310
|
-
it "should work" do
|
311
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
312
|
-
end
|
313
|
-
end
|
314
|
-
|
315
|
-
# unit tests for get_page_annotation
|
316
|
-
# Read document page annotation by its number.
|
317
|
-
#
|
318
|
-
# @param name The document name.
|
319
|
-
# @param page_number The page number.
|
320
|
-
# @param annotation_number The annotation number.
|
321
|
-
# @param [Hash] opts the optional parameters
|
322
|
-
# @option opts [String] :storage The document storage.
|
323
|
-
# @option opts [String] :folder The document folder.
|
324
|
-
# @return [AnnotationResponse]
|
325
|
-
describe 'get_page_annotation test' do
|
326
|
-
it "should work" do
|
327
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
328
|
-
end
|
329
|
-
end
|
330
|
-
|
331
|
-
# unit tests for get_page_annotations
|
332
|
-
# Read documant page annotations.
|
333
|
-
#
|
334
|
-
# @param name The document name.
|
335
|
-
# @param page_number The page number.
|
336
|
-
# @param [Hash] opts the optional parameters
|
337
|
-
# @option opts [String] :storage The document storage.
|
338
|
-
# @option opts [String] :folder The document folder.
|
339
|
-
# @return [AnnotationsResponse]
|
340
|
-
describe 'get_page_annotations test' do
|
341
|
-
it "should work" do
|
342
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
343
|
-
end
|
344
|
-
end
|
345
|
-
|
346
|
-
# unit tests for get_page_link_annotation_by_index
|
347
|
-
# Read document page link annotation by its index.
|
348
|
-
#
|
349
|
-
# @param name The document name.
|
350
|
-
# @param page_number The page number.
|
351
|
-
# @param link_index The link index.
|
352
|
-
# @param [Hash] opts the optional parameters
|
353
|
-
# @option opts [String] :storage The document storage.
|
354
|
-
# @option opts [String] :folder The document folder.
|
355
|
-
# @return [LinkAnnotationResponse]
|
356
|
-
describe 'get_page_link_annotation_by_index test' do
|
357
|
-
it "should work" do
|
358
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
359
|
-
end
|
360
|
-
end
|
361
|
-
|
362
|
-
# unit tests for get_page_link_annotations
|
363
|
-
# Read document page link annotations.
|
364
|
-
#
|
365
|
-
# @param name The document name.
|
366
|
-
# @param page_number The page number.
|
367
|
-
# @param [Hash] opts the optional parameters
|
368
|
-
# @option opts [String] :storage The document storage.
|
369
|
-
# @option opts [String] :folder The document folder.
|
370
|
-
# @return [LinkAnnotationsResponse]
|
371
|
-
describe 'get_page_link_annotations test' do
|
372
|
-
it "should work" do
|
373
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
374
|
-
end
|
375
|
-
end
|
376
|
-
|
377
|
-
# unit tests for get_page_text
|
378
|
-
# Read page text items.
|
379
|
-
#
|
380
|
-
# @param name
|
381
|
-
# @param page_number
|
382
|
-
# @param x
|
383
|
-
# @param y
|
384
|
-
# @param width
|
385
|
-
# @param height
|
386
|
-
# @param [Hash] opts the optional parameters
|
387
|
-
# @option opts [Array<String>] :format
|
388
|
-
# @option opts [String] :regex
|
389
|
-
# @option opts [String] :storage
|
390
|
-
# @option opts [String] :folder
|
391
|
-
# @return [TextRectsResponse]
|
392
|
-
describe 'get_page_text test' do
|
393
|
-
it "should work" do
|
394
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
395
|
-
end
|
396
|
-
end
|
397
|
-
|
398
|
-
# unit tests for get_page_text_items
|
399
|
-
# Read page text items.
|
400
|
-
#
|
401
|
-
# @param name
|
402
|
-
# @param page_number
|
403
|
-
# @param [Hash] opts the optional parameters
|
404
|
-
# @option opts [String] :with_empty
|
405
|
-
# @option opts [String] :storage
|
406
|
-
# @option opts [String] :folder
|
407
|
-
# @return [TextItemsResponse]
|
408
|
-
describe 'get_page_text_items test' do
|
409
|
-
it "should work" do
|
410
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
411
|
-
end
|
412
|
-
end
|
413
|
-
|
414
|
-
# unit tests for get_pages
|
415
|
-
# Read document pages info.
|
416
|
-
#
|
417
|
-
# @param name The document name.
|
418
|
-
# @param [Hash] opts the optional parameters
|
419
|
-
# @option opts [String] :storage The document storage.
|
420
|
-
# @option opts [String] :folder The document folder.
|
421
|
-
# @return [DocumentPagesResponse]
|
422
|
-
describe 'get_pages test' do
|
423
|
-
it "should work" do
|
424
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
425
|
-
end
|
426
|
-
end
|
427
|
-
|
428
|
-
# unit tests for get_segment
|
429
|
-
# Read segment.
|
430
|
-
#
|
431
|
-
# @param name
|
432
|
-
# @param page_number
|
433
|
-
# @param fragment_number
|
434
|
-
# @param segment_number
|
435
|
-
# @param [Hash] opts the optional parameters
|
436
|
-
# @option opts [String] :storage
|
437
|
-
# @option opts [String] :folder
|
438
|
-
# @return [TextItemResponse]
|
439
|
-
describe 'get_segment test' do
|
440
|
-
it "should work" do
|
441
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
442
|
-
end
|
443
|
-
end
|
444
|
-
|
445
|
-
# unit tests for get_segment_text_format
|
446
|
-
# Read segment text format.
|
447
|
-
#
|
448
|
-
# @param name
|
449
|
-
# @param page_number
|
450
|
-
# @param fragment_number
|
451
|
-
# @param segment_number
|
452
|
-
# @param [Hash] opts the optional parameters
|
453
|
-
# @option opts [String] :storage
|
454
|
-
# @option opts [String] :folder
|
455
|
-
# @return [TextFormatResponse]
|
456
|
-
describe 'get_segment_text_format test' do
|
457
|
-
it "should work" do
|
458
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
459
|
-
end
|
460
|
-
end
|
461
|
-
|
462
|
-
# unit tests for get_segments
|
463
|
-
# Read fragment segments.
|
464
|
-
#
|
465
|
-
# @param name
|
466
|
-
# @param page_number
|
467
|
-
# @param fragment_number
|
468
|
-
# @param [Hash] opts the optional parameters
|
469
|
-
# @option opts [String] :with_empty
|
470
|
-
# @option opts [String] :storage
|
471
|
-
# @option opts [String] :folder
|
472
|
-
# @return [TextItemsResponse]
|
473
|
-
describe 'get_segments test' do
|
474
|
-
it "should work" do
|
475
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
476
|
-
end
|
477
|
-
end
|
478
|
-
|
479
|
-
# unit tests for get_text
|
480
|
-
# Read document text.
|
481
|
-
#
|
482
|
-
# @param name
|
483
|
-
# @param x
|
484
|
-
# @param y
|
485
|
-
# @param width
|
486
|
-
# @param height
|
487
|
-
# @param [Hash] opts the optional parameters
|
488
|
-
# @option opts [Array<String>] :format
|
489
|
-
# @option opts [String] :regex
|
490
|
-
# @option opts [String] :storage
|
491
|
-
# @option opts [String] :folder
|
492
|
-
# @return [TextRectsResponse]
|
493
|
-
describe 'get_text test' do
|
494
|
-
it "should work" do
|
495
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
496
|
-
end
|
497
|
-
end
|
498
|
-
|
499
|
-
# unit tests for get_text_items
|
500
|
-
# Read document text items.
|
501
|
-
#
|
502
|
-
# @param name
|
503
|
-
# @param [Hash] opts the optional parameters
|
504
|
-
# @option opts [String] :with_empty
|
505
|
-
# @option opts [String] :storage
|
506
|
-
# @option opts [String] :folder
|
507
|
-
# @return [TextItemsResponse]
|
508
|
-
describe 'get_text_items test' do
|
509
|
-
it "should work" do
|
510
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
511
|
-
end
|
512
|
-
end
|
513
|
-
|
514
|
-
# unit tests for get_words_per_page
|
515
|
-
# Get number of words per document page.
|
516
|
-
#
|
517
|
-
# @param name The document name.
|
518
|
-
# @param [Hash] opts the optional parameters
|
519
|
-
# @option opts [String] :storage The document storage.
|
520
|
-
# @option opts [String] :folder The document folder.
|
521
|
-
# @return [WordCountResponse]
|
522
|
-
describe 'get_words_per_page test' do
|
523
|
-
it "should work" do
|
524
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
525
|
-
end
|
526
|
-
end
|
527
|
-
|
528
|
-
# unit tests for post_append_document
|
529
|
-
# Append document to existing one.
|
530
|
-
#
|
531
|
-
# @param name The original document name.
|
532
|
-
# @param [Hash] opts the optional parameters
|
533
|
-
# @option opts [AppendDocument] :append_document with the append document data.
|
534
|
-
# @option opts [String] :append_file Append file server path.
|
535
|
-
# @option opts [Integer] :start_page Appending start page.
|
536
|
-
# @option opts [Integer] :end_page Appending end page.
|
537
|
-
# @option opts [String] :storage The documents storage.
|
538
|
-
# @option opts [String] :folder The original document folder.
|
539
|
-
# @return [DocumentResponse]
|
540
|
-
describe 'post_append_document test' do
|
541
|
-
it "should work" do
|
542
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
543
|
-
end
|
544
|
-
end
|
545
|
-
|
546
|
-
# unit tests for post_create_field
|
547
|
-
# Create field.
|
548
|
-
#
|
549
|
-
# @param name The document name.
|
550
|
-
# @param page Document page number.
|
551
|
-
# @param [Hash] opts the optional parameters
|
552
|
-
# @option opts [Field] :field with the field data.
|
553
|
-
# @option opts [String] :storage The document storage.
|
554
|
-
# @option opts [String] :folder The document folder.
|
555
|
-
# @return [SaaSposeResponse]
|
556
|
-
describe 'post_create_field test' do
|
557
|
-
it "should work" do
|
558
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
559
|
-
end
|
560
|
-
end
|
561
|
-
|
562
|
-
# unit tests for post_document_replace_text
|
563
|
-
# Document's replace text method. Deprecated
|
564
|
-
#
|
565
|
-
# @param name
|
566
|
-
# @param text_replace
|
567
|
-
# @param [Hash] opts the optional parameters
|
568
|
-
# @option opts [String] :storage
|
569
|
-
# @option opts [String] :folder
|
570
|
-
# @return [DocumentTextReplaceResponse]
|
571
|
-
describe 'post_document_replace_text test' do
|
572
|
-
it "should work" do
|
573
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
574
|
-
end
|
575
|
-
end
|
576
|
-
|
577
|
-
# unit tests for post_document_replace_text_list
|
578
|
-
# Document's replace text method. Deprecated
|
579
|
-
#
|
580
|
-
# @param name
|
581
|
-
# @param text_replace_list_request
|
582
|
-
# @param [Hash] opts the optional parameters
|
583
|
-
# @option opts [String] :storage
|
584
|
-
# @option opts [String] :folder
|
585
|
-
# @return [DocumentTextReplaceResponse]
|
586
|
-
describe 'post_document_replace_text_list test' do
|
587
|
-
it "should work" do
|
588
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
589
|
-
end
|
590
|
-
end
|
591
|
-
|
592
|
-
# unit tests for post_document_text_replace
|
593
|
-
# Document's replace text method.
|
594
|
-
#
|
595
|
-
# @param name
|
596
|
-
# @param text_replace
|
597
|
-
# @param [Hash] opts the optional parameters
|
598
|
-
# @option opts [String] :storage
|
599
|
-
# @option opts [String] :folder
|
600
|
-
# @return [TextReplaceResponse]
|
601
|
-
describe 'post_document_text_replace test' do
|
602
|
-
it "should work" do
|
603
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
604
|
-
end
|
605
|
-
end
|
606
|
-
|
607
|
-
# unit tests for post_move_page
|
608
|
-
# Move page to new position.
|
609
|
-
#
|
610
|
-
# @param name The document name.
|
611
|
-
# @param page_number The page number.
|
612
|
-
# @param new_index The new page position/index.
|
613
|
-
# @param [Hash] opts the optional parameters
|
614
|
-
# @option opts [String] :storage The document storage.
|
615
|
-
# @option opts [String] :folder The document folder.
|
616
|
-
# @return [SaaSposeResponse]
|
617
|
-
describe 'post_move_page test' do
|
618
|
-
it "should work" do
|
619
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
620
|
-
end
|
621
|
-
end
|
622
|
-
|
623
|
-
# unit tests for post_optimize_document
|
624
|
-
# Optimize document.
|
625
|
-
#
|
626
|
-
# @param name The document name.
|
627
|
-
# @param [Hash] opts the optional parameters
|
628
|
-
# @option opts [OptimizeOptions] :options The optimization options.
|
629
|
-
# @option opts [String] :storage The document storage.
|
630
|
-
# @option opts [String] :folder The document folder.
|
631
|
-
# @return [SaaSposeResponse]
|
632
|
-
describe 'post_optimize_document test' do
|
633
|
-
it "should work" do
|
634
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
635
|
-
end
|
636
|
-
end
|
637
|
-
|
638
|
-
# unit tests for post_page_replace_text
|
639
|
-
# Page's replace text method. Deprecated
|
640
|
-
#
|
641
|
-
# @param name
|
642
|
-
# @param page_number
|
643
|
-
# @param text_replace
|
644
|
-
# @param [Hash] opts the optional parameters
|
645
|
-
# @option opts [String] :storage
|
646
|
-
# @option opts [String] :folder
|
647
|
-
# @return [PageTextReplaceResponse]
|
648
|
-
describe 'post_page_replace_text test' do
|
649
|
-
it "should work" do
|
650
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
651
|
-
end
|
652
|
-
end
|
653
|
-
|
654
|
-
# unit tests for post_page_replace_text_list
|
655
|
-
# Page's replace text method. Deprecated
|
656
|
-
#
|
657
|
-
# @param name
|
658
|
-
# @param page_number
|
659
|
-
# @param text_replace_list_request
|
660
|
-
# @param [Hash] opts the optional parameters
|
661
|
-
# @option opts [String] :storage
|
662
|
-
# @option opts [String] :folder
|
663
|
-
# @return [PageTextReplaceResponse]
|
664
|
-
describe 'post_page_replace_text_list test' do
|
665
|
-
it "should work" do
|
666
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
667
|
-
end
|
668
|
-
end
|
669
|
-
|
670
|
-
# unit tests for post_page_text_replace
|
671
|
-
# Page's replace text method.
|
672
|
-
#
|
673
|
-
# @param name
|
674
|
-
# @param page_number
|
675
|
-
# @param text_replace_list_request
|
676
|
-
# @param [Hash] opts the optional parameters
|
677
|
-
# @option opts [String] :storage
|
678
|
-
# @option opts [String] :folder
|
679
|
-
# @return [TextReplaceResponse]
|
680
|
-
describe 'post_page_text_replace test' do
|
681
|
-
it "should work" do
|
682
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
683
|
-
end
|
684
|
-
end
|
685
|
-
|
686
|
-
# unit tests for post_replace_image
|
687
|
-
# Replace document image.
|
688
|
-
#
|
689
|
-
# @param name The document name.
|
690
|
-
# @param page_number The page number.
|
691
|
-
# @param image_number The image number.
|
692
|
-
# @param [Hash] opts the optional parameters
|
693
|
-
# @option opts [String] :image_file Path to image file if specified. Request content is used otherwise.
|
694
|
-
# @option opts [String] :storage The document storage.
|
695
|
-
# @option opts [String] :folder The document folder.
|
696
|
-
# @return [ImageResponse]
|
697
|
-
describe 'post_replace_image test' do
|
698
|
-
it "should work" do
|
699
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
700
|
-
end
|
701
|
-
end
|
702
|
-
|
703
|
-
# unit tests for post_sign_document
|
704
|
-
# Sign document.
|
705
|
-
#
|
706
|
-
# @param name The document name.
|
707
|
-
# @param [Hash] opts the optional parameters
|
708
|
-
# @option opts [Signature] :signature Signature object containing signature data.
|
709
|
-
# @option opts [String] :storage The document storage.
|
710
|
-
# @option opts [String] :folder The document folder.
|
711
|
-
# @return [SaaSposeResponse]
|
712
|
-
describe 'post_sign_document test' do
|
713
|
-
it "should work" do
|
714
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
715
|
-
end
|
716
|
-
end
|
717
|
-
|
718
|
-
# unit tests for post_sign_page
|
719
|
-
# Sign page.
|
720
|
-
#
|
721
|
-
# @param name The document name.
|
722
|
-
# @param page_number The page number.
|
723
|
-
# @param [Hash] opts the optional parameters
|
724
|
-
# @option opts [Signature] :signature Signature object containing signature data.
|
725
|
-
# @option opts [String] :storage The document storage.
|
726
|
-
# @option opts [String] :folder The document folder.
|
727
|
-
# @return [SaaSposeResponse]
|
728
|
-
describe 'post_sign_page test' do
|
729
|
-
it "should work" do
|
730
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
731
|
-
end
|
732
|
-
end
|
733
|
-
|
734
|
-
# unit tests for post_split_document
|
735
|
-
# Split document to parts.
|
736
|
-
#
|
737
|
-
# @param name Document name.
|
738
|
-
# @param [Hash] opts the optional parameters
|
739
|
-
# @option opts [String] :format Resulting documents format.
|
740
|
-
# @option opts [Integer] :from Start page if defined.
|
741
|
-
# @option opts [Integer] :to End page if defined.
|
742
|
-
# @option opts [String] :storage The document storage.
|
743
|
-
# @option opts [String] :folder The document folder.
|
744
|
-
# @return [SplitResultResponse]
|
745
|
-
describe 'post_split_document test' do
|
746
|
-
it "should work" do
|
747
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
748
|
-
end
|
749
|
-
end
|
750
|
-
|
751
|
-
# unit tests for put_add_new_page
|
752
|
-
# Add new page to end of the document.
|
753
|
-
#
|
754
|
-
# @param name The document name.
|
755
|
-
# @param [Hash] opts the optional parameters
|
756
|
-
# @option opts [String] :storage The document storage.
|
757
|
-
# @option opts [String] :folder The document folder.
|
758
|
-
# @return [DocumentPagesResponse]
|
759
|
-
describe 'put_add_new_page test' do
|
760
|
-
it "should work" do
|
761
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
762
|
-
end
|
763
|
-
end
|
764
|
-
|
765
|
-
# unit tests for put_add_paragraph
|
766
|
-
# Add text to PDF document page. Deprecate
|
767
|
-
#
|
768
|
-
# @param name Name of the document to which text should be added.
|
769
|
-
# @param page_number Number of page (starting with 1) to which text should be added.
|
770
|
-
# @param [Hash] opts the optional parameters
|
771
|
-
# @option opts [Paragraph] :paragraph Paragraph data.
|
772
|
-
# @option opts [String] :storage File storage to be used.
|
773
|
-
# @option opts [String] :folder Document folder.
|
774
|
-
# @return [SaaSposeResponse]
|
775
|
-
describe 'put_add_paragraph test' do
|
776
|
-
it "should work" do
|
777
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
778
|
-
end
|
779
|
-
end
|
780
|
-
|
781
|
-
# unit tests for put_add_text
|
782
|
-
# Add text to PDF document page.
|
783
|
-
#
|
784
|
-
# @param name Name of the document to which text should be added.
|
785
|
-
# @param page_number Number of page (starting with 1) to which text should be added.
|
786
|
-
# @param [Hash] opts the optional parameters
|
787
|
-
# @option opts [Paragraph] :paragraph Paragraph data.
|
788
|
-
# @option opts [String] :storage File storage to be used.
|
789
|
-
# @option opts [String] :folder Document folder.
|
790
|
-
# @return [SaaSposeResponse]
|
791
|
-
describe 'put_add_text test' do
|
792
|
-
it "should work" do
|
793
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
794
|
-
end
|
795
|
-
end
|
796
|
-
|
797
|
-
# unit tests for put_convert_document
|
798
|
-
# Convert document from request content to format specified.
|
799
|
-
#
|
800
|
-
# @param [Hash] opts the optional parameters
|
801
|
-
# @option opts [String] :format The format to convert.
|
802
|
-
# @option opts [String] :url
|
803
|
-
# @option opts [String] :out_path Path to save result
|
804
|
-
# @return [File]
|
805
|
-
describe 'put_convert_document test' do
|
806
|
-
it "should work" do
|
807
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
808
|
-
end
|
809
|
-
end
|
810
|
-
|
811
|
-
# unit tests for put_create_document
|
812
|
-
# Create new document.
|
813
|
-
#
|
814
|
-
# @param name The new document name.
|
815
|
-
# @param [Hash] opts the optional parameters
|
816
|
-
# @option opts [String] :template_file The template file server path if defined.
|
817
|
-
# @option opts [String] :data_file The data file path (for xml template only).
|
818
|
-
# @option opts [String] :template_type The template type, can be xml, html, bmp, jpg, png, tiff, emf, cgm, tex.
|
819
|
-
# @option opts [String] :storage The document storage.
|
820
|
-
# @option opts [String] :folder The new document folder.
|
821
|
-
# @option opts [String] :url The url of web page if defined.
|
822
|
-
# @option opts [BOOLEAN] :fit_size Draw a margin around content in resulting pdf.
|
823
|
-
# @return [DocumentResponse]
|
824
|
-
describe 'put_create_document test' do
|
825
|
-
it "should work" do
|
826
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
827
|
-
end
|
828
|
-
end
|
829
|
-
|
830
|
-
# unit tests for put_create_document_from_images
|
831
|
-
# Create new document from images.
|
832
|
-
#
|
833
|
-
# @param name The new document name.
|
834
|
-
# @param [Hash] opts the optional parameters
|
835
|
-
# @option opts [ImagesListRequest] :images The images file paths set.
|
836
|
-
# @option opts [BOOLEAN] :ocr To create OCR layer for image or not.
|
837
|
-
# @option opts [String] :ocr_lang The language which is defined for OCR engine. Default is eng.
|
838
|
-
# @option opts [String] :storage The document storage.
|
839
|
-
# @option opts [String] :folder The new document folder.
|
840
|
-
# @return [DocumentResponse]
|
841
|
-
describe 'put_create_document_from_images test' do
|
842
|
-
it "should work" do
|
843
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
844
|
-
end
|
845
|
-
end
|
846
|
-
|
847
|
-
# unit tests for put_document_save_as_tiff
|
848
|
-
# Save document as Tiff image.
|
849
|
-
#
|
850
|
-
# @param name The document name.
|
851
|
-
# @param [Hash] opts the optional parameters
|
852
|
-
# @option opts [TiffExportOptions] :export_options with tiff export options.
|
853
|
-
# @option opts [String] :result_file The resulting file.
|
854
|
-
# @option opts [Float] :brightness The image brightness.
|
855
|
-
# @option opts [String] :compression Tiff compression. Possible values are: LZW, CCITT4, CCITT3, RLE, None.
|
856
|
-
# @option opts [String] :color_depth Image color depth. Possible valuse are: Default, Format8bpp, Format4bpp, Format1bpp.
|
857
|
-
# @option opts [Integer] :left_margin Left image margin.
|
858
|
-
# @option opts [Integer] :right_margin Right image margin.
|
859
|
-
# @option opts [Integer] :top_margin Top image margin.
|
860
|
-
# @option opts [Integer] :bottom_margin Bottom image margin.
|
861
|
-
# @option opts [String] :orientation Image orientation. Possible values are: None, Landscape, Portait.
|
862
|
-
# @option opts [BOOLEAN] :skip_blank_pages Skip blank pages flag.
|
863
|
-
# @option opts [Integer] :width Image width.
|
864
|
-
# @option opts [Integer] :height Image height.
|
865
|
-
# @option opts [Integer] :x_resolution Horizontal resolution.
|
866
|
-
# @option opts [Integer] :y_resolution Vertical resolution.
|
867
|
-
# @option opts [Integer] :page_index Start page to export.
|
868
|
-
# @option opts [Integer] :page_count Number of pages to export.
|
869
|
-
# @option opts [String] :storage The document storage.
|
870
|
-
# @option opts [String] :folder The document folder.
|
871
|
-
# @return [SaaSposeResponse]
|
872
|
-
describe 'put_document_save_as_tiff test' do
|
873
|
-
it "should work" do
|
874
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
875
|
-
end
|
876
|
-
end
|
877
|
-
|
878
|
-
# unit tests for put_merge_documents
|
879
|
-
# Merge a list of documents.
|
880
|
-
#
|
881
|
-
# @param name Resulting documen name.
|
882
|
-
# @param [Hash] opts the optional parameters
|
883
|
-
# @option opts [MergeDocuments] :merge_documents with a list of documents.
|
884
|
-
# @option opts [String] :storage Resulting document storage.
|
885
|
-
# @option opts [String] :folder Resulting document folder.
|
886
|
-
# @return [DocumentResponse]
|
887
|
-
describe 'put_merge_documents test' do
|
888
|
-
it "should work" do
|
889
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
890
|
-
end
|
891
|
-
end
|
892
|
-
|
893
|
-
# unit tests for put_page_add_stamp
|
894
|
-
# Add page stamp.
|
895
|
-
#
|
896
|
-
# @param name The document name.
|
897
|
-
# @param page_number The page number.
|
898
|
-
# @param stamp with data.
|
899
|
-
# @param [Hash] opts the optional parameters
|
900
|
-
# @option opts [String] :storage The document storage.
|
901
|
-
# @option opts [String] :folder The document folder.
|
902
|
-
# @return [SaaSposeResponse]
|
903
|
-
describe 'put_page_add_stamp test' do
|
904
|
-
it "should work" do
|
905
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
906
|
-
end
|
907
|
-
end
|
908
|
-
|
909
|
-
# unit tests for put_searchable_document
|
910
|
-
# Create searchable PDF document. Generate OCR layer for images in input PDF document.
|
911
|
-
#
|
912
|
-
# @param name The document name.
|
913
|
-
# @param [Hash] opts the optional parameters
|
914
|
-
# @option opts [String] :storage The document storage.
|
915
|
-
# @option opts [String] :folder The document folder.
|
916
|
-
# @option opts [String] :lang language for OCR engine. Possible values: eng, ara, bel, ben, bul, ces, dan, deu, ell, fin, fra, heb, hin, ind, isl, ita, jpn, kor, nld, nor, pol, por, ron, rus, spa, swe, tha, tur, ukr, vie, chi_sim, chi_tra or thier combination e.g. eng,rus
|
917
|
-
# @return [SaaSposeResponse]
|
918
|
-
describe 'put_searchable_document test' do
|
919
|
-
it "should work" do
|
920
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
921
|
-
end
|
922
|
-
end
|
923
|
-
|
924
|
-
# unit tests for put_set_property
|
925
|
-
# Add/update document property.
|
926
|
-
#
|
927
|
-
# @param name
|
928
|
-
# @param property_name
|
929
|
-
# @param [Hash] opts the optional parameters
|
930
|
-
# @option opts [DocumentProperty] :property
|
931
|
-
# @option opts [String] :storage
|
932
|
-
# @option opts [String] :folder
|
933
|
-
# @return [DocumentPropertyResponse]
|
934
|
-
describe 'put_set_property test' do
|
935
|
-
it "should work" do
|
936
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
937
|
-
end
|
938
|
-
end
|
939
|
-
|
940
|
-
# unit tests for put_update_field
|
941
|
-
# Update field.
|
942
|
-
#
|
943
|
-
# @param name The document name.
|
944
|
-
# @param field_name The field name/
|
945
|
-
# @param [Hash] opts the optional parameters
|
946
|
-
# @option opts [Field] :field with the field data.
|
947
|
-
# @option opts [String] :storage The document storage.
|
948
|
-
# @option opts [String] :folder The document folder.
|
949
|
-
# @return [FieldResponse]
|
950
|
-
describe 'put_update_field test' do
|
951
|
-
it "should work" do
|
952
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
953
|
-
end
|
954
|
-
end
|
955
|
-
|
956
|
-
end
|