aspose_pdf_cloud 20.8.0 → 20.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/PdfApi.md +2 -0
- data/docs/RedactionAnnotation.md +1 -1
- data/docs/SignatureCustomAppearance.md +1 -1
- data/docs/TextStyle.md +1 -0
- data/lib/aspose_pdf_cloud/api/pdf_api.rb +6 -0
- data/lib/aspose_pdf_cloud/models/redaction_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/signature_custom_appearance.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_style.rb +14 -4
- data/lib/aspose_pdf_cloud/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0aa51ef0822d019914bf9003d244c8e4cea437fa7f484ca00e537a668c09168f
|
4
|
+
data.tar.gz: 9b6353159c291be9eb9ee117c9dfed64896cc4ecc03f57c8791e8d345fdf25ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b17f40ec2aff700d2e21e59a771f6ad453bfa838d0816c92c2a6746ea66aeee0c5f9a5e15c2ede7f9f0071986cd59401344ef90b48c4b86c57b90a97957e0c79
|
7
|
+
data.tar.gz: aa8e122e3c8eface89b806a5ba899f5a51cbe895007f8a60b0b1c9bdfb9ae4884781640dcfbdaaf02b2644a922ea91f73e6bd40975619743eb8a063508712f0b
|
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.9.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.9.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.9.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.9.0'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
data/docs/PdfApi.md
CHANGED
@@ -6120,6 +6120,7 @@ Name | Type | Description | Notes
|
|
6120
6120
|
**annotations** | [**Array<RedactionAnnotation>**](RedactionAnnotation.md)| The array of annotation. |
|
6121
6121
|
**storage** | **String**| The document storage. | [optional]
|
6122
6122
|
**folder** | **String**| The document folder. | [optional]
|
6123
|
+
**apply** | **BOOLEAN**| Apply redaction immediately after adding. | [optional] [default to false]
|
6123
6124
|
|
6124
6125
|
### Return type
|
6125
6126
|
|
@@ -8978,6 +8979,7 @@ Name | Type | Description | Notes
|
|
8978
8979
|
**annotation** | [**RedactionAnnotation**](RedactionAnnotation.md)| Annotation. |
|
8979
8980
|
**storage** | **String**| The document storage. | [optional]
|
8980
8981
|
**folder** | **String**| The document folder. | [optional]
|
8982
|
+
**apply** | **BOOLEAN**| Apply redaction immediately after adding. | [optional] [default to false]
|
8981
8983
|
|
8982
8984
|
### Return type
|
8983
8985
|
|
data/docs/RedactionAnnotation.md
CHANGED
@@ -20,7 +20,7 @@ Name | Type | Description | Notes
|
|
20
20
|
**fill_color** | [**Color**](Color.md) | Gets or sets color to fill annotation. | [optional]
|
21
21
|
**border_color** | [**Color**](Color.md) | Gets or sets color of border which is drawn when redaction is not active. | [optional]
|
22
22
|
**overlay_text** | **String** | Text to print on redact annotation. | [optional]
|
23
|
-
**repeat** | **BOOLEAN** | If true overlay text will be
|
23
|
+
**repeat** | **BOOLEAN** | If true overlay text will be repeated on the annotation. | [optional]
|
24
24
|
**text_alignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets or sets. Alignment of Overlay Text. | [optional]
|
25
25
|
|
26
26
|
|
data/docs/TextStyle.md
CHANGED
@@ -8,5 +8,6 @@ Name | Type | Description | Notes
|
|
8
8
|
**font** | **String** | Gets or sets font of the text. | [optional]
|
9
9
|
**foreground_color** | [**Color**](Color.md) | Gets or sets foreground color of the text. | [optional]
|
10
10
|
**background_color** | [**Color**](Color.md) | Sets background color of the text. | [optional]
|
11
|
+
**font_file** | **String** | Sets path of font file in storage. | [optional]
|
11
12
|
|
12
13
|
|
@@ -17843,6 +17843,7 @@ module AsposePdfCloud
|
|
17843
17843
|
# @param [Hash] opts the optional parameters
|
17844
17844
|
# @option opts [String] :storage The document storage.
|
17845
17845
|
# @option opts [String] :folder The document folder.
|
17846
|
+
# @option opts [BOOLEAN] :apply Apply redaction immediately after adding. (default to false)
|
17846
17847
|
# @return [AsposeResponse]
|
17847
17848
|
def post_page_redaction_annotations(name, page_number, annotations, opts = {})
|
17848
17849
|
@api_client.request_token_if_needed
|
@@ -17865,6 +17866,7 @@ module AsposePdfCloud
|
|
17865
17866
|
# @param [Hash] opts the optional parameters
|
17866
17867
|
# @option opts [String] :storage The document storage.
|
17867
17868
|
# @option opts [String] :folder The document folder.
|
17869
|
+
# @option opts [BOOLEAN] :apply Apply redaction immediately after adding.
|
17868
17870
|
# @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
|
17869
17871
|
def post_page_redaction_annotations_with_http_info(name, page_number, annotations, opts = {})
|
17870
17872
|
if @api_client.config.debugging
|
@@ -17889,6 +17891,7 @@ module AsposePdfCloud
|
|
17889
17891
|
query_params = {}
|
17890
17892
|
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
17891
17893
|
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
17894
|
+
query_params[:'apply'] = opts[:'apply'] if !opts[:'apply'].nil?
|
17892
17895
|
|
17893
17896
|
# header parameters
|
17894
17897
|
header_params = {}
|
@@ -26951,6 +26954,7 @@ module AsposePdfCloud
|
|
26951
26954
|
# @param [Hash] opts the optional parameters
|
26952
26955
|
# @option opts [String] :storage The document storage.
|
26953
26956
|
# @option opts [String] :folder The document folder.
|
26957
|
+
# @option opts [BOOLEAN] :apply Apply redaction immediately after adding. (default to false)
|
26954
26958
|
# @return [RedactionAnnotationResponse]
|
26955
26959
|
def put_redaction_annotation(name, annotation_id, annotation, opts = {})
|
26956
26960
|
@api_client.request_token_if_needed
|
@@ -26973,6 +26977,7 @@ module AsposePdfCloud
|
|
26973
26977
|
# @param [Hash] opts the optional parameters
|
26974
26978
|
# @option opts [String] :storage The document storage.
|
26975
26979
|
# @option opts [String] :folder The document folder.
|
26980
|
+
# @option opts [BOOLEAN] :apply Apply redaction immediately after adding.
|
26976
26981
|
# @return [Array<(RedactionAnnotationResponse, Fixnum, Hash)>] RedactionAnnotationResponse data, response status code and response headers
|
26977
26982
|
def put_redaction_annotation_with_http_info(name, annotation_id, annotation, opts = {})
|
26978
26983
|
if @api_client.config.debugging
|
@@ -26997,6 +27002,7 @@ module AsposePdfCloud
|
|
26997
27002
|
query_params = {}
|
26998
27003
|
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
26999
27004
|
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
27005
|
+
query_params[:'apply'] = opts[:'apply'] if !opts[:'apply'].nil?
|
27000
27006
|
|
27001
27007
|
# header parameters
|
27002
27008
|
header_params = {}
|
@@ -73,7 +73,7 @@ module AsposePdfCloud
|
|
73
73
|
# Text to print on redact annotation.
|
74
74
|
attr_accessor :overlay_text
|
75
75
|
|
76
|
-
# If true overlay text will be
|
76
|
+
# If true overlay text will be repeated on the annotation.
|
77
77
|
attr_accessor :repeat
|
78
78
|
|
79
79
|
# Gets or sets. Alignment of Overlay Text.
|
@@ -23,7 +23,7 @@ require 'date'
|
|
23
23
|
require 'time'
|
24
24
|
|
25
25
|
module AsposePdfCloud
|
26
|
-
# An abstract class which represents signature
|
26
|
+
# An abstract class which represents signature custom appearance object.
|
27
27
|
class SignatureCustomAppearance
|
28
28
|
# Gets/sets font family name. It should be existed in the document. Default value: Arial.
|
29
29
|
attr_accessor :font_family_name
|
@@ -37,6 +37,9 @@ module AsposePdfCloud
|
|
37
37
|
# Sets background color of the text.
|
38
38
|
attr_accessor :background_color
|
39
39
|
|
40
|
+
# Sets path of font file in storage.
|
41
|
+
attr_accessor :font_file
|
42
|
+
|
40
43
|
|
41
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
45
|
def self.attribute_map
|
@@ -44,7 +47,8 @@ module AsposePdfCloud
|
|
44
47
|
:'font_size' => :'FontSize',
|
45
48
|
:'font' => :'Font',
|
46
49
|
:'foreground_color' => :'ForegroundColor',
|
47
|
-
:'background_color' => :'BackgroundColor'
|
50
|
+
:'background_color' => :'BackgroundColor',
|
51
|
+
:'font_file' => :'FontFile'
|
48
52
|
}
|
49
53
|
end
|
50
54
|
|
@@ -54,7 +58,8 @@ module AsposePdfCloud
|
|
54
58
|
:'font_size' => :'Float',
|
55
59
|
:'font' => :'String',
|
56
60
|
:'foreground_color' => :'Color',
|
57
|
-
:'background_color' => :'Color'
|
61
|
+
:'background_color' => :'Color',
|
62
|
+
:'font_file' => :'String'
|
58
63
|
}
|
59
64
|
end
|
60
65
|
|
@@ -82,6 +87,10 @@ module AsposePdfCloud
|
|
82
87
|
self.background_color = attributes[:'BackgroundColor']
|
83
88
|
end
|
84
89
|
|
90
|
+
if attributes.has_key?(:'FontFile')
|
91
|
+
self.font_file = attributes[:'FontFile']
|
92
|
+
end
|
93
|
+
|
85
94
|
end
|
86
95
|
|
87
96
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -110,7 +119,8 @@ module AsposePdfCloud
|
|
110
119
|
font_size == o.font_size &&
|
111
120
|
font == o.font &&
|
112
121
|
foreground_color == o.foreground_color &&
|
113
|
-
background_color == o.background_color
|
122
|
+
background_color == o.background_color &&
|
123
|
+
font_file == o.font_file
|
114
124
|
end
|
115
125
|
|
116
126
|
# @see the `==` method
|
@@ -122,7 +132,7 @@ module AsposePdfCloud
|
|
122
132
|
# Calculates hash code according to all attributes.
|
123
133
|
# @return [Fixnum] Hash code
|
124
134
|
def hash
|
125
|
-
[font_size, font, foreground_color, background_color].hash
|
135
|
+
[font_size, font, foreground_color, background_color, font_file].hash
|
126
136
|
end
|
127
137
|
|
128
138
|
# Builds the object from hash
|
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.9.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-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|