aspose_pdf_cloud 20.5.0 → 20.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/CheckBoxField.md +1 -0
- data/docs/ChoiceField.md +1 -0
- data/docs/ComboBoxField.md +1 -0
- data/docs/FormField.md +1 -0
- data/docs/ListBoxField.md +1 -0
- data/docs/OutputFormat.md +11 -0
- data/docs/PdfApi.md +2 -0
- data/docs/RadioButtonField.md +1 -0
- data/docs/RadioButtonOptionField.md +1 -0
- data/docs/SignatureField.md +1 -0
- data/docs/TextBoxField.md +1 -0
- data/lib/aspose_pdf_cloud.rb +1 -0
- data/lib/aspose_pdf_cloud/api/pdf_api.rb +12 -0
- data/lib/aspose_pdf_cloud/models/check_box_field.rb +11 -1
- data/lib/aspose_pdf_cloud/models/choice_field.rb +11 -1
- data/lib/aspose_pdf_cloud/models/combo_box_field.rb +11 -1
- data/lib/aspose_pdf_cloud/models/form_field.rb +11 -1
- data/lib/aspose_pdf_cloud/models/list_box_field.rb +11 -1
- data/lib/aspose_pdf_cloud/models/output_format.rb +44 -0
- data/lib/aspose_pdf_cloud/models/radio_button_field.rb +11 -1
- data/lib/aspose_pdf_cloud/models/radio_button_option_field.rb +11 -1
- data/lib/aspose_pdf_cloud/models/signature_field.rb +11 -1
- data/lib/aspose_pdf_cloud/models/text_box_field.rb +11 -1
- data/lib/aspose_pdf_cloud/version.rb +1 -1
- data/test/pdf_tests.rb +3 -2
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e59695f8f626cb20c664d20c909440fb6b6c336214c36dbbfe125bf9bfff8731
|
4
|
+
data.tar.gz: c105fe514b6d1024a4f6a1fea8e0862fdae4ab3d71fe1869dafa40eda40427bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb43817c81ebfa222c6f7c4c8dd82279a9ae7240b89b439cd606069c40a0cf1f049156a08d25a01eb866bd4e3ab89d7a28d2a71c42deb6767cfbcc919f3e8392
|
7
|
+
data.tar.gz: 0cf8634c4cb305360fea86c270c3fae37e529846f32b9fa6984b2cb2649955a9a136a9436b36d8d1229f33227b5e5925c04690f95d0fb7d451b0e930d82a27ab
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Aspose.PDF Cloud
|
2
2
|
|
3
3
|
- API version: 3.0
|
4
|
-
- Package version: 20.
|
4
|
+
- Package version: 20.6.0
|
5
5
|
|
6
6
|
[Aspose.PDF Cloud](https://products.aspose.cloud/pdf) is a true REST API that enables you to perform a wide range of document processing operations including creation, manipulation, conversion and rendering of Pdf documents in the cloud.
|
7
7
|
|
@@ -24,15 +24,15 @@ gem build aspose_pdf_cloud.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./aspose_pdf_cloud-20.
|
27
|
+
gem install ./aspose_pdf_cloud-20.6.0.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./aspose_pdf_cloud-20.
|
29
|
+
(for development, run `gem install --dev ./aspose_pdf_cloud-20.6.0.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'aspose_pdf_cloud', '~> 20.
|
35
|
+
gem 'aspose_pdf_cloud', '~> 20.6.0'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -521,6 +521,7 @@ Class | Method | HTTP request | Description
|
|
521
521
|
- [AsposePdfCloud::ObjectExist](docs/ObjectExist.md)
|
522
522
|
- [AsposePdfCloud::OptimizeOptions](docs/OptimizeOptions.md)
|
523
523
|
- [AsposePdfCloud::Option](docs/Option.md)
|
524
|
+
- [AsposePdfCloud::OutputFormat](docs/OutputFormat.md)
|
524
525
|
- [AsposePdfCloud::PageLayout](docs/PageLayout.md)
|
525
526
|
- [AsposePdfCloud::PageMode](docs/PageMode.md)
|
526
527
|
- [AsposePdfCloud::PageWordCount](docs/PageWordCount.md)
|
data/docs/CheckBoxField.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**links** | [**Array<Link>**](Link.md) | Link to the document. | [optional]
|
8
8
|
**partial_name** | **String** | Field name. | [optional]
|
9
|
+
**full_name** | **String** | Full Field name. | [optional]
|
9
10
|
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional]
|
10
11
|
**value** | **String** | Field value. | [optional]
|
11
12
|
**page_index** | **Integer** | Page index. |
|
data/docs/ChoiceField.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**links** | [**Array<Link>**](Link.md) | Link to the document. | [optional]
|
8
8
|
**partial_name** | **String** | Field name. | [optional]
|
9
|
+
**full_name** | **String** | Full Field name. | [optional]
|
9
10
|
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional]
|
10
11
|
**value** | **String** | Field value. | [optional]
|
11
12
|
**page_index** | **Integer** | Page index. |
|
data/docs/ComboBoxField.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**links** | [**Array<Link>**](Link.md) | Link to the document. | [optional]
|
8
8
|
**partial_name** | **String** | Field name. | [optional]
|
9
|
+
**full_name** | **String** | Full Field name. | [optional]
|
9
10
|
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional]
|
10
11
|
**value** | **String** | Field value. | [optional]
|
11
12
|
**page_index** | **Integer** | Page index. |
|
data/docs/FormField.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**links** | [**Array<Link>**](Link.md) | Link to the document. | [optional]
|
8
8
|
**partial_name** | **String** | Field name. | [optional]
|
9
|
+
**full_name** | **String** | Full Field name. | [optional]
|
9
10
|
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional]
|
10
11
|
**value** | **String** | Field value. | [optional]
|
11
12
|
**page_index** | **Integer** | Page index. |
|
data/docs/ListBoxField.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**links** | [**Array<Link>**](Link.md) | Link to the document. | [optional]
|
8
8
|
**partial_name** | **String** | Field name. | [optional]
|
9
|
+
**full_name** | **String** | Full Field name. | [optional]
|
9
10
|
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional]
|
10
11
|
**value** | **String** | Field value. | [optional]
|
11
12
|
**page_index** | **Integer** | Page index. |
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# AsposePdfCloud::OutputFormat
|
2
|
+
Enumeration for output type format.
|
3
|
+
|
4
|
+
## Enum
|
5
|
+
Name | Type | Value | Description
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**ZIP** | **String** | 'Zip' | Zip archive.
|
8
|
+
**FOLDER** | **String** | 'Folder' | Folder.
|
9
|
+
|
10
|
+
|
11
|
+
|
data/docs/PdfApi.md
CHANGED
@@ -8071,6 +8071,7 @@ Name | Type | Description | Notes
|
|
8071
8071
|
**try_save_text_underlining_and_strikeouting_in_css** | **BOOLEAN**| PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically. | [optional]
|
8072
8072
|
**storage** | **String**| The document storage. | [optional]
|
8073
8073
|
**flow_layout_paragraph_full_width** | **BOOLEAN**| This attribute specifies full width paragraph text for Flow mode, FixedLayout = false. | [optional]
|
8074
|
+
**output_format** | **String**| This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is "Zip" or missed (default). In case of the "Folder", all resulting files and directories will be uploaded to the folder of the resulting HTML file. | [optional] [default to Zip]
|
8074
8075
|
**file** | **File**| A file to be converted. | [optional]
|
8075
8076
|
|
8076
8077
|
### Return type
|
@@ -8475,6 +8476,7 @@ Name | Type | Description | Notes
|
|
8475
8476
|
**folder** | **String**| The document folder. | [optional]
|
8476
8477
|
**storage** | **String**| The document storage. | [optional]
|
8477
8478
|
**flow_layout_paragraph_full_width** | **BOOLEAN**| This attribute specifies full width paragraph text for Flow mode, FixedLayout = false. | [optional]
|
8479
|
+
**output_format** | **String**| This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is "Zip" or missed (default). In case of the "Folder", all resulting files and directories will be uploaded to the folder of the resulting HTML file. | [optional] [default to Zip]
|
8478
8480
|
|
8479
8481
|
### Return type
|
8480
8482
|
|
data/docs/RadioButtonField.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**links** | [**Array<Link>**](Link.md) | Link to the document. | [optional]
|
8
8
|
**partial_name** | **String** | Field name. | [optional]
|
9
|
+
**full_name** | **String** | Full Field name. | [optional]
|
9
10
|
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional]
|
10
11
|
**value** | **String** | Field value. | [optional]
|
11
12
|
**page_index** | **Integer** | Page index. |
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**links** | [**Array<Link>**](Link.md) | Link to the document. | [optional]
|
8
8
|
**partial_name** | **String** | Field name. | [optional]
|
9
|
+
**full_name** | **String** | Full Field name. | [optional]
|
9
10
|
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional]
|
10
11
|
**value** | **String** | Field value. | [optional]
|
11
12
|
**page_index** | **Integer** | Page index. |
|
data/docs/SignatureField.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**links** | [**Array<Link>**](Link.md) | Link to the document. | [optional]
|
8
8
|
**partial_name** | **String** | Field name. | [optional]
|
9
|
+
**full_name** | **String** | Full Field name. | [optional]
|
9
10
|
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional]
|
10
11
|
**value** | **String** | Field value. | [optional]
|
11
12
|
**page_index** | **Integer** | Page index. |
|
data/docs/TextBoxField.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**links** | [**Array<Link>**](Link.md) | Link to the document. | [optional]
|
8
8
|
**partial_name** | **String** | Field name. | [optional]
|
9
|
+
**full_name** | **String** | Full Field name. | [optional]
|
9
10
|
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional]
|
10
11
|
**value** | **String** | Field value. | [optional]
|
11
12
|
**page_index** | **Integer** | Page index. |
|
data/lib/aspose_pdf_cloud.rb
CHANGED
@@ -90,6 +90,7 @@ require_relative 'aspose_pdf_cloud/models/merge_documents'
|
|
90
90
|
require_relative 'aspose_pdf_cloud/models/object_exist'
|
91
91
|
require_relative 'aspose_pdf_cloud/models/optimize_options'
|
92
92
|
require_relative 'aspose_pdf_cloud/models/option'
|
93
|
+
require_relative 'aspose_pdf_cloud/models/output_format'
|
93
94
|
require_relative 'aspose_pdf_cloud/models/page_layout'
|
94
95
|
require_relative 'aspose_pdf_cloud/models/page_mode'
|
95
96
|
require_relative 'aspose_pdf_cloud/models/page_word_count'
|
@@ -23975,6 +23975,7 @@ module AsposePdfCloud
|
|
23975
23975
|
# @option opts [BOOLEAN] :try_save_text_underlining_and_strikeouting_in_css PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically.
|
23976
23976
|
# @option opts [String] :storage The document storage.
|
23977
23977
|
# @option opts [BOOLEAN] :flow_layout_paragraph_full_width This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
|
23978
|
+
# @option opts [String] :output_format This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is \"Zip\" or missed (default). In case of the \"Folder\", all resulting files and directories will be uploaded to the folder of the resulting HTML file. (default to Zip)
|
23978
23979
|
# @option opts [File] :file A file to be converted.
|
23979
23980
|
# @return [AsposeResponse]
|
23980
23981
|
def put_pdf_in_request_to_html(out_path, opts = {})
|
@@ -24024,6 +24025,7 @@ module AsposePdfCloud
|
|
24024
24025
|
# @option opts [BOOLEAN] :try_save_text_underlining_and_strikeouting_in_css PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically.
|
24025
24026
|
# @option opts [String] :storage The document storage.
|
24026
24027
|
# @option opts [BOOLEAN] :flow_layout_paragraph_full_width This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
|
24028
|
+
# @option opts [String] :output_format This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is \"Zip\" or missed (default). In case of the \"Folder\", all resulting files and directories will be uploaded to the folder of the resulting HTML file.
|
24027
24029
|
# @option opts [File] :file A file to be converted.
|
24028
24030
|
# @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
|
24029
24031
|
def put_pdf_in_request_to_html_with_http_info(out_path, opts = {})
|
@@ -24058,6 +24060,9 @@ module AsposePdfCloud
|
|
24058
24060
|
if @api_client.config.client_side_validation && opts[:'raster_images_saving_mode'] && !['AsPngImagesEmbeddedIntoSvg', 'AsExternalPngFilesReferencedViaSvg', 'AsEmbeddedPartsOfPngPageBackground'].include?(opts[:'raster_images_saving_mode'])
|
24059
24061
|
fail ArgumentError, 'invalid value for "raster_images_saving_mode", must be one of AsPngImagesEmbeddedIntoSvg, AsExternalPngFilesReferencedViaSvg, AsEmbeddedPartsOfPngPageBackground'
|
24060
24062
|
end
|
24063
|
+
if @api_client.config.client_side_validation && opts[:'output_format'] && !['Zip', 'Folder'].include?(opts[:'output_format'])
|
24064
|
+
fail ArgumentError, 'invalid value for "output_format", must be one of Zip, Folder'
|
24065
|
+
end
|
24061
24066
|
# resource path
|
24062
24067
|
local_var_path = "/pdf/convert/html"
|
24063
24068
|
|
@@ -24094,6 +24099,7 @@ module AsposePdfCloud
|
|
24094
24099
|
query_params[:'trySaveTextUnderliningAndStrikeoutingInCss'] = opts[:'try_save_text_underlining_and_strikeouting_in_css'] if !opts[:'try_save_text_underlining_and_strikeouting_in_css'].nil?
|
24095
24100
|
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
24096
24101
|
query_params[:'flowLayoutParagraphFullWidth'] = opts[:'flow_layout_paragraph_full_width'] if !opts[:'flow_layout_paragraph_full_width'].nil?
|
24102
|
+
query_params[:'outputFormat'] = opts[:'output_format'] if !opts[:'output_format'].nil?
|
24097
24103
|
|
24098
24104
|
# header parameters
|
24099
24105
|
header_params = {}
|
@@ -25265,6 +25271,7 @@ module AsposePdfCloud
|
|
25265
25271
|
# @option opts [String] :folder The document folder.
|
25266
25272
|
# @option opts [String] :storage The document storage.
|
25267
25273
|
# @option opts [BOOLEAN] :flow_layout_paragraph_full_width This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
|
25274
|
+
# @option opts [String] :output_format This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is \"Zip\" or missed (default). In case of the \"Folder\", all resulting files and directories will be uploaded to the folder of the resulting HTML file. (default to Zip)
|
25268
25275
|
# @return [AsposeResponse]
|
25269
25276
|
def put_pdf_in_storage_to_html(name, out_path, opts = {})
|
25270
25277
|
@api_client.request_token_if_needed
|
@@ -25315,6 +25322,7 @@ module AsposePdfCloud
|
|
25315
25322
|
# @option opts [String] :folder The document folder.
|
25316
25323
|
# @option opts [String] :storage The document storage.
|
25317
25324
|
# @option opts [BOOLEAN] :flow_layout_paragraph_full_width This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
|
25325
|
+
# @option opts [String] :output_format This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is \"Zip\" or missed (default). In case of the \"Folder\", all resulting files and directories will be uploaded to the folder of the resulting HTML file.
|
25318
25326
|
# @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
|
25319
25327
|
def put_pdf_in_storage_to_html_with_http_info(name, out_path, opts = {})
|
25320
25328
|
if @api_client.config.debugging
|
@@ -25352,6 +25360,9 @@ module AsposePdfCloud
|
|
25352
25360
|
if @api_client.config.client_side_validation && opts[:'raster_images_saving_mode'] && !['AsPngImagesEmbeddedIntoSvg', 'AsExternalPngFilesReferencedViaSvg', 'AsEmbeddedPartsOfPngPageBackground'].include?(opts[:'raster_images_saving_mode'])
|
25353
25361
|
fail ArgumentError, 'invalid value for "raster_images_saving_mode", must be one of AsPngImagesEmbeddedIntoSvg, AsExternalPngFilesReferencedViaSvg, AsEmbeddedPartsOfPngPageBackground'
|
25354
25362
|
end
|
25363
|
+
if @api_client.config.client_side_validation && opts[:'output_format'] && !['Zip', 'Folder'].include?(opts[:'output_format'])
|
25364
|
+
fail ArgumentError, 'invalid value for "output_format", must be one of Zip, Folder'
|
25365
|
+
end
|
25355
25366
|
# resource path
|
25356
25367
|
local_var_path = "/pdf/{name}/convert/html".sub('{' + 'name' + '}', name.to_s)
|
25357
25368
|
|
@@ -25389,6 +25400,7 @@ module AsposePdfCloud
|
|
25389
25400
|
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
25390
25401
|
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
25391
25402
|
query_params[:'flowLayoutParagraphFullWidth'] = opts[:'flow_layout_paragraph_full_width'] if !opts[:'flow_layout_paragraph_full_width'].nil?
|
25403
|
+
query_params[:'outputFormat'] = opts[:'output_format'] if !opts[:'output_format'].nil?
|
25392
25404
|
|
25393
25405
|
# header parameters
|
25394
25406
|
header_params = {}
|
@@ -31,6 +31,9 @@ module AsposePdfCloud
|
|
31
31
|
# Field name.
|
32
32
|
attr_accessor :partial_name
|
33
33
|
|
34
|
+
# Full Field name.
|
35
|
+
attr_accessor :full_name
|
36
|
+
|
34
37
|
# Field rectangle.
|
35
38
|
attr_accessor :rect
|
36
39
|
|
@@ -103,6 +106,7 @@ module AsposePdfCloud
|
|
103
106
|
{
|
104
107
|
:'links' => :'Links',
|
105
108
|
:'partial_name' => :'PartialName',
|
109
|
+
:'full_name' => :'FullName',
|
106
110
|
:'rect' => :'Rect',
|
107
111
|
:'value' => :'Value',
|
108
112
|
:'page_index' => :'PageIndex',
|
@@ -133,6 +137,7 @@ module AsposePdfCloud
|
|
133
137
|
{
|
134
138
|
:'links' => :'Array<Link>',
|
135
139
|
:'partial_name' => :'String',
|
140
|
+
:'full_name' => :'String',
|
136
141
|
:'rect' => :'Rectangle',
|
137
142
|
:'value' => :'String',
|
138
143
|
:'page_index' => :'Integer',
|
@@ -176,6 +181,10 @@ module AsposePdfCloud
|
|
176
181
|
self.partial_name = attributes[:'PartialName']
|
177
182
|
end
|
178
183
|
|
184
|
+
if attributes.has_key?(:'FullName')
|
185
|
+
self.full_name = attributes[:'FullName']
|
186
|
+
end
|
187
|
+
|
179
188
|
if attributes.has_key?(:'Rect')
|
180
189
|
self.rect = attributes[:'Rect']
|
181
190
|
end
|
@@ -300,6 +309,7 @@ module AsposePdfCloud
|
|
300
309
|
self.class == o.class &&
|
301
310
|
links == o.links &&
|
302
311
|
partial_name == o.partial_name &&
|
312
|
+
full_name == o.full_name &&
|
303
313
|
rect == o.rect &&
|
304
314
|
value == o.value &&
|
305
315
|
page_index == o.page_index &&
|
@@ -333,7 +343,7 @@ module AsposePdfCloud
|
|
333
343
|
# Calculates hash code according to all attributes.
|
334
344
|
# @return [Fixnum] Hash code
|
335
345
|
def hash
|
336
|
-
[links, partial_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border, allowed_states, style, active_state, checked, export_value].hash
|
346
|
+
[links, partial_name, full_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border, allowed_states, style, active_state, checked, export_value].hash
|
337
347
|
end
|
338
348
|
|
339
349
|
# Builds the object from hash
|
@@ -31,6 +31,9 @@ module AsposePdfCloud
|
|
31
31
|
# Field name.
|
32
32
|
attr_accessor :partial_name
|
33
33
|
|
34
|
+
# Full Field name.
|
35
|
+
attr_accessor :full_name
|
36
|
+
|
34
37
|
# Field rectangle.
|
35
38
|
attr_accessor :rect
|
36
39
|
|
@@ -94,6 +97,7 @@ module AsposePdfCloud
|
|
94
97
|
{
|
95
98
|
:'links' => :'Links',
|
96
99
|
:'partial_name' => :'PartialName',
|
100
|
+
:'full_name' => :'FullName',
|
97
101
|
:'rect' => :'Rect',
|
98
102
|
:'value' => :'Value',
|
99
103
|
:'page_index' => :'PageIndex',
|
@@ -121,6 +125,7 @@ module AsposePdfCloud
|
|
121
125
|
{
|
122
126
|
:'links' => :'Array<Link>',
|
123
127
|
:'partial_name' => :'String',
|
128
|
+
:'full_name' => :'String',
|
124
129
|
:'rect' => :'Rectangle',
|
125
130
|
:'value' => :'String',
|
126
131
|
:'page_index' => :'Integer',
|
@@ -161,6 +166,10 @@ module AsposePdfCloud
|
|
161
166
|
self.partial_name = attributes[:'PartialName']
|
162
167
|
end
|
163
168
|
|
169
|
+
if attributes.has_key?(:'FullName')
|
170
|
+
self.full_name = attributes[:'FullName']
|
171
|
+
end
|
172
|
+
|
164
173
|
if attributes.has_key?(:'Rect')
|
165
174
|
self.rect = attributes[:'Rect']
|
166
175
|
end
|
@@ -266,6 +275,7 @@ module AsposePdfCloud
|
|
266
275
|
self.class == o.class &&
|
267
276
|
links == o.links &&
|
268
277
|
partial_name == o.partial_name &&
|
278
|
+
full_name == o.full_name &&
|
269
279
|
rect == o.rect &&
|
270
280
|
value == o.value &&
|
271
281
|
page_index == o.page_index &&
|
@@ -296,7 +306,7 @@ module AsposePdfCloud
|
|
296
306
|
# Calculates hash code according to all attributes.
|
297
307
|
# @return [Fixnum] Hash code
|
298
308
|
def hash
|
299
|
-
[links, partial_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border, multi_select, selected].hash
|
309
|
+
[links, partial_name, full_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border, multi_select, selected].hash
|
300
310
|
end
|
301
311
|
|
302
312
|
# Builds the object from hash
|
@@ -31,6 +31,9 @@ module AsposePdfCloud
|
|
31
31
|
# Field name.
|
32
32
|
attr_accessor :partial_name
|
33
33
|
|
34
|
+
# Full Field name.
|
35
|
+
attr_accessor :full_name
|
36
|
+
|
34
37
|
# Field rectangle.
|
35
38
|
attr_accessor :rect
|
36
39
|
|
@@ -106,6 +109,7 @@ module AsposePdfCloud
|
|
106
109
|
{
|
107
110
|
:'links' => :'Links',
|
108
111
|
:'partial_name' => :'PartialName',
|
112
|
+
:'full_name' => :'FullName',
|
109
113
|
:'rect' => :'Rect',
|
110
114
|
:'value' => :'Value',
|
111
115
|
:'page_index' => :'PageIndex',
|
@@ -137,6 +141,7 @@ module AsposePdfCloud
|
|
137
141
|
{
|
138
142
|
:'links' => :'Array<Link>',
|
139
143
|
:'partial_name' => :'String',
|
144
|
+
:'full_name' => :'String',
|
140
145
|
:'rect' => :'Rectangle',
|
141
146
|
:'value' => :'String',
|
142
147
|
:'page_index' => :'Integer',
|
@@ -181,6 +186,10 @@ module AsposePdfCloud
|
|
181
186
|
self.partial_name = attributes[:'PartialName']
|
182
187
|
end
|
183
188
|
|
189
|
+
if attributes.has_key?(:'FullName')
|
190
|
+
self.full_name = attributes[:'FullName']
|
191
|
+
end
|
192
|
+
|
184
193
|
if attributes.has_key?(:'Rect')
|
185
194
|
self.rect = attributes[:'Rect']
|
186
195
|
end
|
@@ -304,6 +313,7 @@ module AsposePdfCloud
|
|
304
313
|
self.class == o.class &&
|
305
314
|
links == o.links &&
|
306
315
|
partial_name == o.partial_name &&
|
316
|
+
full_name == o.full_name &&
|
307
317
|
rect == o.rect &&
|
308
318
|
value == o.value &&
|
309
319
|
page_index == o.page_index &&
|
@@ -338,7 +348,7 @@ module AsposePdfCloud
|
|
338
348
|
# Calculates hash code according to all attributes.
|
339
349
|
# @return [Fixnum] Hash code
|
340
350
|
def hash
|
341
|
-
[links, partial_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border, multi_select, selected, options, active_state, editable, spell_check].hash
|
351
|
+
[links, partial_name, full_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border, multi_select, selected, options, active_state, editable, spell_check].hash
|
342
352
|
end
|
343
353
|
|
344
354
|
# Builds the object from hash
|
@@ -31,6 +31,9 @@ module AsposePdfCloud
|
|
31
31
|
# Field name.
|
32
32
|
attr_accessor :partial_name
|
33
33
|
|
34
|
+
# Full Field name.
|
35
|
+
attr_accessor :full_name
|
36
|
+
|
34
37
|
# Field rectangle.
|
35
38
|
attr_accessor :rect
|
36
39
|
|
@@ -88,6 +91,7 @@ module AsposePdfCloud
|
|
88
91
|
{
|
89
92
|
:'links' => :'Links',
|
90
93
|
:'partial_name' => :'PartialName',
|
94
|
+
:'full_name' => :'FullName',
|
91
95
|
:'rect' => :'Rect',
|
92
96
|
:'value' => :'Value',
|
93
97
|
:'page_index' => :'PageIndex',
|
@@ -113,6 +117,7 @@ module AsposePdfCloud
|
|
113
117
|
{
|
114
118
|
:'links' => :'Array<Link>',
|
115
119
|
:'partial_name' => :'String',
|
120
|
+
:'full_name' => :'String',
|
116
121
|
:'rect' => :'Rectangle',
|
117
122
|
:'value' => :'String',
|
118
123
|
:'page_index' => :'Integer',
|
@@ -151,6 +156,10 @@ module AsposePdfCloud
|
|
151
156
|
self.partial_name = attributes[:'PartialName']
|
152
157
|
end
|
153
158
|
|
159
|
+
if attributes.has_key?(:'FullName')
|
160
|
+
self.full_name = attributes[:'FullName']
|
161
|
+
end
|
162
|
+
|
154
163
|
if attributes.has_key?(:'Rect')
|
155
164
|
self.rect = attributes[:'Rect']
|
156
165
|
end
|
@@ -248,6 +257,7 @@ module AsposePdfCloud
|
|
248
257
|
self.class == o.class &&
|
249
258
|
links == o.links &&
|
250
259
|
partial_name == o.partial_name &&
|
260
|
+
full_name == o.full_name &&
|
251
261
|
rect == o.rect &&
|
252
262
|
value == o.value &&
|
253
263
|
page_index == o.page_index &&
|
@@ -276,7 +286,7 @@ module AsposePdfCloud
|
|
276
286
|
# Calculates hash code according to all attributes.
|
277
287
|
# @return [Fixnum] Hash code
|
278
288
|
def hash
|
279
|
-
[links, partial_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border].hash
|
289
|
+
[links, partial_name, full_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border].hash
|
280
290
|
end
|
281
291
|
|
282
292
|
# Builds the object from hash
|
@@ -31,6 +31,9 @@ module AsposePdfCloud
|
|
31
31
|
# Field name.
|
32
32
|
attr_accessor :partial_name
|
33
33
|
|
34
|
+
# Full Field name.
|
35
|
+
attr_accessor :full_name
|
36
|
+
|
34
37
|
# Field rectangle.
|
35
38
|
attr_accessor :rect
|
36
39
|
|
@@ -106,6 +109,7 @@ module AsposePdfCloud
|
|
106
109
|
{
|
107
110
|
:'links' => :'Links',
|
108
111
|
:'partial_name' => :'PartialName',
|
112
|
+
:'full_name' => :'FullName',
|
109
113
|
:'rect' => :'Rect',
|
110
114
|
:'value' => :'Value',
|
111
115
|
:'page_index' => :'PageIndex',
|
@@ -137,6 +141,7 @@ module AsposePdfCloud
|
|
137
141
|
{
|
138
142
|
:'links' => :'Array<Link>',
|
139
143
|
:'partial_name' => :'String',
|
144
|
+
:'full_name' => :'String',
|
140
145
|
:'rect' => :'Rectangle',
|
141
146
|
:'value' => :'String',
|
142
147
|
:'page_index' => :'Integer',
|
@@ -181,6 +186,10 @@ module AsposePdfCloud
|
|
181
186
|
self.partial_name = attributes[:'PartialName']
|
182
187
|
end
|
183
188
|
|
189
|
+
if attributes.has_key?(:'FullName')
|
190
|
+
self.full_name = attributes[:'FullName']
|
191
|
+
end
|
192
|
+
|
184
193
|
if attributes.has_key?(:'Rect')
|
185
194
|
self.rect = attributes[:'Rect']
|
186
195
|
end
|
@@ -306,6 +315,7 @@ module AsposePdfCloud
|
|
306
315
|
self.class == o.class &&
|
307
316
|
links == o.links &&
|
308
317
|
partial_name == o.partial_name &&
|
318
|
+
full_name == o.full_name &&
|
309
319
|
rect == o.rect &&
|
310
320
|
value == o.value &&
|
311
321
|
page_index == o.page_index &&
|
@@ -340,7 +350,7 @@ module AsposePdfCloud
|
|
340
350
|
# Calculates hash code according to all attributes.
|
341
351
|
# @return [Fixnum] Hash code
|
342
352
|
def hash
|
343
|
-
[links, partial_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border, multi_select, selected, options, active_state, top_index, selected_items].hash
|
353
|
+
[links, partial_name, full_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border, multi_select, selected, options, active_state, top_index, selected_items].hash
|
344
354
|
end
|
345
355
|
|
346
356
|
# Builds the object from hash
|
@@ -0,0 +1,44 @@
|
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
Copyright (c) 2020 Aspose.PDF 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 'date'
|
23
|
+
require 'time'
|
24
|
+
|
25
|
+
module AsposePdfCloud
|
26
|
+
class OutputFormat
|
27
|
+
|
28
|
+
ZIP = "Zip".freeze
|
29
|
+
FOLDER = "Folder".freeze
|
30
|
+
|
31
|
+
# Builds the enum from string
|
32
|
+
# @param [String] The enum value in the form of the string
|
33
|
+
# @return [String] The enum value
|
34
|
+
def build_from_hash(value)
|
35
|
+
# resolve issue with Concstant Name modification (ex: "FooName" to :FOO_NAME)
|
36
|
+
# consantValues = OutputFormat.constants.select{|c| c.to_s == value}
|
37
|
+
constantValues = OutputFormat.constants.select{ |const_name| OutputFormat.const_get(const_name) == value}
|
38
|
+
|
39
|
+
raise "Invalid ENUM value #{value} for class #OutputFormat" if constantValues.empty?
|
40
|
+
value
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
@@ -31,6 +31,9 @@ module AsposePdfCloud
|
|
31
31
|
# Field name.
|
32
32
|
attr_accessor :partial_name
|
33
33
|
|
34
|
+
# Full Field name.
|
35
|
+
attr_accessor :full_name
|
36
|
+
|
34
37
|
# Field rectangle.
|
35
38
|
attr_accessor :rect
|
36
39
|
|
@@ -103,6 +106,7 @@ module AsposePdfCloud
|
|
103
106
|
{
|
104
107
|
:'links' => :'Links',
|
105
108
|
:'partial_name' => :'PartialName',
|
109
|
+
:'full_name' => :'FullName',
|
106
110
|
:'rect' => :'Rect',
|
107
111
|
:'value' => :'Value',
|
108
112
|
:'page_index' => :'PageIndex',
|
@@ -133,6 +137,7 @@ module AsposePdfCloud
|
|
133
137
|
{
|
134
138
|
:'links' => :'Array<Link>',
|
135
139
|
:'partial_name' => :'String',
|
140
|
+
:'full_name' => :'String',
|
136
141
|
:'rect' => :'Rectangle',
|
137
142
|
:'value' => :'String',
|
138
143
|
:'page_index' => :'Integer',
|
@@ -176,6 +181,10 @@ module AsposePdfCloud
|
|
176
181
|
self.partial_name = attributes[:'PartialName']
|
177
182
|
end
|
178
183
|
|
184
|
+
if attributes.has_key?(:'FullName')
|
185
|
+
self.full_name = attributes[:'FullName']
|
186
|
+
end
|
187
|
+
|
179
188
|
if attributes.has_key?(:'Rect')
|
180
189
|
self.rect = attributes[:'Rect']
|
181
190
|
end
|
@@ -297,6 +306,7 @@ module AsposePdfCloud
|
|
297
306
|
self.class == o.class &&
|
298
307
|
links == o.links &&
|
299
308
|
partial_name == o.partial_name &&
|
309
|
+
full_name == o.full_name &&
|
300
310
|
rect == o.rect &&
|
301
311
|
value == o.value &&
|
302
312
|
page_index == o.page_index &&
|
@@ -330,7 +340,7 @@ module AsposePdfCloud
|
|
330
340
|
# Calculates hash code according to all attributes.
|
331
341
|
# @return [Fixnum] Hash code
|
332
342
|
def hash
|
333
|
-
[links, partial_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border, multi_select, selected, options, radio_button_options_field, style].hash
|
343
|
+
[links, partial_name, full_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border, multi_select, selected, options, radio_button_options_field, style].hash
|
334
344
|
end
|
335
345
|
|
336
346
|
# Builds the object from hash
|
@@ -31,6 +31,9 @@ module AsposePdfCloud
|
|
31
31
|
# Field name.
|
32
32
|
attr_accessor :partial_name
|
33
33
|
|
34
|
+
# Full Field name.
|
35
|
+
attr_accessor :full_name
|
36
|
+
|
34
37
|
# Field rectangle.
|
35
38
|
attr_accessor :rect
|
36
39
|
|
@@ -94,6 +97,7 @@ module AsposePdfCloud
|
|
94
97
|
{
|
95
98
|
:'links' => :'Links',
|
96
99
|
:'partial_name' => :'PartialName',
|
100
|
+
:'full_name' => :'FullName',
|
97
101
|
:'rect' => :'Rect',
|
98
102
|
:'value' => :'Value',
|
99
103
|
:'page_index' => :'PageIndex',
|
@@ -121,6 +125,7 @@ module AsposePdfCloud
|
|
121
125
|
{
|
122
126
|
:'links' => :'Array<Link>',
|
123
127
|
:'partial_name' => :'String',
|
128
|
+
:'full_name' => :'String',
|
124
129
|
:'rect' => :'Rectangle',
|
125
130
|
:'value' => :'String',
|
126
131
|
:'page_index' => :'Integer',
|
@@ -161,6 +166,10 @@ module AsposePdfCloud
|
|
161
166
|
self.partial_name = attributes[:'PartialName']
|
162
167
|
end
|
163
168
|
|
169
|
+
if attributes.has_key?(:'FullName')
|
170
|
+
self.full_name = attributes[:'FullName']
|
171
|
+
end
|
172
|
+
|
164
173
|
if attributes.has_key?(:'Rect')
|
165
174
|
self.rect = attributes[:'Rect']
|
166
175
|
end
|
@@ -266,6 +275,7 @@ module AsposePdfCloud
|
|
266
275
|
self.class == o.class &&
|
267
276
|
links == o.links &&
|
268
277
|
partial_name == o.partial_name &&
|
278
|
+
full_name == o.full_name &&
|
269
279
|
rect == o.rect &&
|
270
280
|
value == o.value &&
|
271
281
|
page_index == o.page_index &&
|
@@ -296,7 +306,7 @@ module AsposePdfCloud
|
|
296
306
|
# Calculates hash code according to all attributes.
|
297
307
|
# @return [Fixnum] Hash code
|
298
308
|
def hash
|
299
|
-
[links, partial_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border, option_name, style].hash
|
309
|
+
[links, partial_name, full_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border, option_name, style].hash
|
300
310
|
end
|
301
311
|
|
302
312
|
# Builds the object from hash
|
@@ -31,6 +31,9 @@ module AsposePdfCloud
|
|
31
31
|
# Field name.
|
32
32
|
attr_accessor :partial_name
|
33
33
|
|
34
|
+
# Full Field name.
|
35
|
+
attr_accessor :full_name
|
36
|
+
|
34
37
|
# Field rectangle.
|
35
38
|
attr_accessor :rect
|
36
39
|
|
@@ -91,6 +94,7 @@ module AsposePdfCloud
|
|
91
94
|
{
|
92
95
|
:'links' => :'Links',
|
93
96
|
:'partial_name' => :'PartialName',
|
97
|
+
:'full_name' => :'FullName',
|
94
98
|
:'rect' => :'Rect',
|
95
99
|
:'value' => :'Value',
|
96
100
|
:'page_index' => :'PageIndex',
|
@@ -117,6 +121,7 @@ module AsposePdfCloud
|
|
117
121
|
{
|
118
122
|
:'links' => :'Array<Link>',
|
119
123
|
:'partial_name' => :'String',
|
124
|
+
:'full_name' => :'String',
|
120
125
|
:'rect' => :'Rectangle',
|
121
126
|
:'value' => :'String',
|
122
127
|
:'page_index' => :'Integer',
|
@@ -156,6 +161,10 @@ module AsposePdfCloud
|
|
156
161
|
self.partial_name = attributes[:'PartialName']
|
157
162
|
end
|
158
163
|
|
164
|
+
if attributes.has_key?(:'FullName')
|
165
|
+
self.full_name = attributes[:'FullName']
|
166
|
+
end
|
167
|
+
|
159
168
|
if attributes.has_key?(:'Rect')
|
160
169
|
self.rect = attributes[:'Rect']
|
161
170
|
end
|
@@ -257,6 +266,7 @@ module AsposePdfCloud
|
|
257
266
|
self.class == o.class &&
|
258
267
|
links == o.links &&
|
259
268
|
partial_name == o.partial_name &&
|
269
|
+
full_name == o.full_name &&
|
260
270
|
rect == o.rect &&
|
261
271
|
value == o.value &&
|
262
272
|
page_index == o.page_index &&
|
@@ -286,7 +296,7 @@ module AsposePdfCloud
|
|
286
296
|
# Calculates hash code according to all attributes.
|
287
297
|
# @return [Fixnum] Hash code
|
288
298
|
def hash
|
289
|
-
[links, partial_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border, signature].hash
|
299
|
+
[links, partial_name, full_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border, signature].hash
|
290
300
|
end
|
291
301
|
|
292
302
|
# Builds the object from hash
|
@@ -31,6 +31,9 @@ module AsposePdfCloud
|
|
31
31
|
# Field name.
|
32
32
|
attr_accessor :partial_name
|
33
33
|
|
34
|
+
# Full Field name.
|
35
|
+
attr_accessor :full_name
|
36
|
+
|
34
37
|
# Field rectangle.
|
35
38
|
attr_accessor :rect
|
36
39
|
|
@@ -106,6 +109,7 @@ module AsposePdfCloud
|
|
106
109
|
{
|
107
110
|
:'links' => :'Links',
|
108
111
|
:'partial_name' => :'PartialName',
|
112
|
+
:'full_name' => :'FullName',
|
109
113
|
:'rect' => :'Rect',
|
110
114
|
:'value' => :'Value',
|
111
115
|
:'page_index' => :'PageIndex',
|
@@ -137,6 +141,7 @@ module AsposePdfCloud
|
|
137
141
|
{
|
138
142
|
:'links' => :'Array<Link>',
|
139
143
|
:'partial_name' => :'String',
|
144
|
+
:'full_name' => :'String',
|
140
145
|
:'rect' => :'Rectangle',
|
141
146
|
:'value' => :'String',
|
142
147
|
:'page_index' => :'Integer',
|
@@ -181,6 +186,10 @@ module AsposePdfCloud
|
|
181
186
|
self.partial_name = attributes[:'PartialName']
|
182
187
|
end
|
183
188
|
|
189
|
+
if attributes.has_key?(:'FullName')
|
190
|
+
self.full_name = attributes[:'FullName']
|
191
|
+
end
|
192
|
+
|
184
193
|
if attributes.has_key?(:'Rect')
|
185
194
|
self.rect = attributes[:'Rect']
|
186
195
|
end
|
@@ -302,6 +311,7 @@ module AsposePdfCloud
|
|
302
311
|
self.class == o.class &&
|
303
312
|
links == o.links &&
|
304
313
|
partial_name == o.partial_name &&
|
314
|
+
full_name == o.full_name &&
|
305
315
|
rect == o.rect &&
|
306
316
|
value == o.value &&
|
307
317
|
page_index == o.page_index &&
|
@@ -336,7 +346,7 @@ module AsposePdfCloud
|
|
336
346
|
# Calculates hash code according to all attributes.
|
337
347
|
# @return [Fixnum] Hash code
|
338
348
|
def hash
|
339
|
-
[links, partial_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border, multiline, spell_check, scrollable, force_combs, max_len, barcode].hash
|
349
|
+
[links, partial_name, full_name, rect, value, page_index, height, width, z_index, is_group, parent, is_shared_field, flags, color, contents, margin, highlighting, horizontal_alignment, vertical_alignment, border, multiline, spell_check, scrollable, force_combs, max_len, barcode].hash
|
340
350
|
end
|
341
351
|
|
342
352
|
# Builds the object from hash
|
data/test/pdf_tests.rb
CHANGED
@@ -3050,10 +3050,11 @@ class PdfTests < Minitest::Test
|
|
3050
3050
|
def test_put_pdf_in_storage_to_html
|
3051
3051
|
file_name = '4pages.pdf'
|
3052
3052
|
upload_file(file_name)
|
3053
|
-
res_file = '
|
3053
|
+
res_file = 'result_4pages.html'
|
3054
3054
|
|
3055
3055
|
opts = {
|
3056
|
-
:folder => @temp_folder
|
3056
|
+
:folder => @temp_folder,
|
3057
|
+
:output_format => OutputFormat::FOLDER
|
3057
3058
|
}
|
3058
3059
|
response = @pdf_api.put_pdf_in_storage_to_html(file_name, @temp_folder + '/' + res_file, opts)
|
3059
3060
|
assert(response, 'Filed to convert PDF to HTML.')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aspose_pdf_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 20.
|
4
|
+
version: 20.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aspose PDF Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -220,6 +220,7 @@ files:
|
|
220
220
|
- docs/ObjectExist.md
|
221
221
|
- docs/OptimizeOptions.md
|
222
222
|
- docs/Option.md
|
223
|
+
- docs/OutputFormat.md
|
223
224
|
- docs/Page.md
|
224
225
|
- docs/PageLayout.md
|
225
226
|
- docs/PageMode.md
|
@@ -503,6 +504,7 @@ files:
|
|
503
504
|
- lib/aspose_pdf_cloud/models/object_exist.rb
|
504
505
|
- lib/aspose_pdf_cloud/models/optimize_options.rb
|
505
506
|
- lib/aspose_pdf_cloud/models/option.rb
|
507
|
+
- lib/aspose_pdf_cloud/models/output_format.rb
|
506
508
|
- lib/aspose_pdf_cloud/models/page.rb
|
507
509
|
- lib/aspose_pdf_cloud/models/page_layout.rb
|
508
510
|
- lib/aspose_pdf_cloud/models/page_mode.rb
|