aspose_pdf_cloud 22.2.0 → 22.3.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 +9 -14
- data/docs/TextState.md +4 -0
- data/lib/aspose_pdf_cloud/models/text_state.rb +44 -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: 17042f21f1dc5beb0e54e308f0d3bd29a493682c76adb507b8e0f7f936f0d525
|
4
|
+
data.tar.gz: c2f597477d6716170dd9eb0b3323899dbac788d9ef6f80571446bbc3e4f71c3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cdb6467b1dc7225d2af7c80fe118536a6644cf03bdcdb8c1632ef1d73408fb2f08a7f759c2d648827ae9efb5e5e61ca30e1d5c833c4ae1feff62b5f5d110fd5
|
7
|
+
data.tar.gz: 24c54379eaeea9b6f8b6ec96cb19977dcb807ba365bf130de27499c9a4b0ff3cb9e30ab9dbd908f7acf62397167518193fb9bc1aa9c200d5f3f873e77a53c908
|
data/README.md
CHANGED
@@ -29,19 +29,14 @@ XLS, XLSX, PPTX, DOC, DOCX, MobiXML, JPEG, EMF, PNG, BMP, GIF, TIFF, Text
|
|
29
29
|
## Read PDF Formats
|
30
30
|
MHT, PCL, PS, XSLFO, MD
|
31
31
|
|
32
|
-
## Enhancements in Version 22.
|
32
|
+
## Enhancements in Version 22.3
|
33
|
+
- PDFCLOUD-2729: Add StrikeOut, Superscript, Subscript properties to TextState.
|
34
|
+
- PDFCLOUD-2623: Underline property is missing in TextState.
|
33
35
|
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
|
34
36
|
|
35
|
-
## Bugs fixed
|
36
|
-
-
|
37
|
-
-
|
38
|
-
|
39
|
-
## Enhancements in Version 20.9
|
40
|
-
* Implemented custom fonts for Text API.
|
41
|
-
* Added custom fonts for Table API.
|
42
|
-
* Added support for custom fonts for Stamps API.
|
43
|
-
* Support for custom fonts for Header/Footer API.
|
44
|
-
* Included custom fonts for Replace Text API.
|
37
|
+
## Bugs fixed in Version 22.3
|
38
|
+
- PDFCLOUD-2714: GetFields API method not extracting PDF form fields.
|
39
|
+
- PDFCLOUD-2641: PostSplitDocument returns wrong path.
|
45
40
|
|
46
41
|
## Installation
|
47
42
|
|
@@ -56,15 +51,15 @@ gem build aspose_pdf_cloud.gemspec
|
|
56
51
|
Then either install the gem locally:
|
57
52
|
|
58
53
|
```shell
|
59
|
-
gem install ./aspose_pdf_cloud-22.
|
54
|
+
gem install ./aspose_pdf_cloud-22.3.0.gem
|
60
55
|
```
|
61
|
-
(for development, run `gem install --dev ./aspose_pdf_cloud-22.
|
56
|
+
(for development, run `gem install --dev ./aspose_pdf_cloud-22.3.0.gem` to install the development dependencies)
|
62
57
|
|
63
58
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
64
59
|
|
65
60
|
Finally add this to the Gemfile:
|
66
61
|
|
67
|
-
gem 'aspose_pdf_cloud', '~> 22.
|
62
|
+
gem 'aspose_pdf_cloud', '~> 22.3.0'
|
68
63
|
|
69
64
|
### Install from Git
|
70
65
|
|
data/docs/TextState.md
CHANGED
@@ -10,5 +10,9 @@ Name | Type | Description | Notes
|
|
10
10
|
**background_color** | [**Color**](Color.md) | Sets background color of the text. | [optional]
|
11
11
|
**font_style** | [**FontStyles**](FontStyles.md) | Sets font style of the text. |
|
12
12
|
**font_file** | **String** | Sets path of font file in storage. | [optional]
|
13
|
+
**underline** | **BOOLEAN** | Gets or sets underline of the text. | [optional]
|
14
|
+
**strike_out** | **BOOLEAN** | Gets or sets strikeout of the text. | [optional]
|
15
|
+
**superscript** | **BOOLEAN** | Gets or sets superscript mode of the text. | [optional]
|
16
|
+
**subscript** | **BOOLEAN** | Gets or sets subscript mode of the text. | [optional]
|
13
17
|
|
14
18
|
|
@@ -43,6 +43,18 @@ module AsposePdfCloud
|
|
43
43
|
# Sets path of font file in storage.
|
44
44
|
attr_accessor :font_file
|
45
45
|
|
46
|
+
# Gets or sets underline of the text.
|
47
|
+
attr_accessor :underline
|
48
|
+
|
49
|
+
# Gets or sets strikeout of the text.
|
50
|
+
attr_accessor :strike_out
|
51
|
+
|
52
|
+
# Gets or sets superscript mode of the text.
|
53
|
+
attr_accessor :superscript
|
54
|
+
|
55
|
+
# Gets or sets subscript mode of the text.
|
56
|
+
attr_accessor :subscript
|
57
|
+
|
46
58
|
|
47
59
|
# Attribute mapping from ruby-style variable name to JSON key.
|
48
60
|
def self.attribute_map
|
@@ -52,7 +64,11 @@ module AsposePdfCloud
|
|
52
64
|
:'foreground_color' => :'ForegroundColor',
|
53
65
|
:'background_color' => :'BackgroundColor',
|
54
66
|
:'font_style' => :'FontStyle',
|
55
|
-
:'font_file' => :'FontFile'
|
67
|
+
:'font_file' => :'FontFile',
|
68
|
+
:'underline' => :'Underline',
|
69
|
+
:'strike_out' => :'StrikeOut',
|
70
|
+
:'superscript' => :'Superscript',
|
71
|
+
:'subscript' => :'Subscript'
|
56
72
|
}
|
57
73
|
end
|
58
74
|
|
@@ -64,7 +80,11 @@ module AsposePdfCloud
|
|
64
80
|
:'foreground_color' => :'Color',
|
65
81
|
:'background_color' => :'Color',
|
66
82
|
:'font_style' => :'FontStyles',
|
67
|
-
:'font_file' => :'String'
|
83
|
+
:'font_file' => :'String',
|
84
|
+
:'underline' => :'BOOLEAN',
|
85
|
+
:'strike_out' => :'BOOLEAN',
|
86
|
+
:'superscript' => :'BOOLEAN',
|
87
|
+
:'subscript' => :'BOOLEAN'
|
68
88
|
}
|
69
89
|
end
|
70
90
|
|
@@ -100,6 +120,22 @@ module AsposePdfCloud
|
|
100
120
|
self.font_file = attributes[:'FontFile']
|
101
121
|
end
|
102
122
|
|
123
|
+
if attributes.has_key?(:'Underline')
|
124
|
+
self.underline = attributes[:'Underline']
|
125
|
+
end
|
126
|
+
|
127
|
+
if attributes.has_key?(:'StrikeOut')
|
128
|
+
self.strike_out = attributes[:'StrikeOut']
|
129
|
+
end
|
130
|
+
|
131
|
+
if attributes.has_key?(:'Superscript')
|
132
|
+
self.superscript = attributes[:'Superscript']
|
133
|
+
end
|
134
|
+
|
135
|
+
if attributes.has_key?(:'Subscript')
|
136
|
+
self.subscript = attributes[:'Subscript']
|
137
|
+
end
|
138
|
+
|
103
139
|
end
|
104
140
|
|
105
141
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -135,7 +171,11 @@ module AsposePdfCloud
|
|
135
171
|
foreground_color == o.foreground_color &&
|
136
172
|
background_color == o.background_color &&
|
137
173
|
font_style == o.font_style &&
|
138
|
-
font_file == o.font_file
|
174
|
+
font_file == o.font_file &&
|
175
|
+
underline == o.underline &&
|
176
|
+
strike_out == o.strike_out &&
|
177
|
+
superscript == o.superscript &&
|
178
|
+
subscript == o.subscript
|
139
179
|
end
|
140
180
|
|
141
181
|
# @see the `==` method
|
@@ -147,7 +187,7 @@ module AsposePdfCloud
|
|
147
187
|
# Calculates hash code according to all attributes.
|
148
188
|
# @return [Fixnum] Hash code
|
149
189
|
def hash
|
150
|
-
[font_size, font, foreground_color, background_color, font_style, font_file].hash
|
190
|
+
[font_size, font, foreground_color, background_color, font_style, font_file, underline, strike_out, superscript, subscript].hash
|
151
191
|
end
|
152
192
|
|
153
193
|
# 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: 22.
|
4
|
+
version: 22.3.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: 2022-
|
11
|
+
date: 2022-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|