aspose_pdf_cloud 22.2.0 → 22.5.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 -15
- 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: 3372b1ad3f80356ee2b41ed8717dba84ca9acccdbd4f4f08b6c79953441d6051
|
4
|
+
data.tar.gz: c50a8477a0840cafae0d3de1ce9086a23352962387ecf0b89c9a2d4eb9bf7ea5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4129f1322075750603b4a6450a9fbc34ae9939b277c175e0c261dd7662f0a60af08fd5dbdec3fd1f24244fad96cbcd00a3778e83f14127d408606fb5f001da18
|
7
|
+
data.tar.gz: f4a7e372c159e34d2935e21b0288010704760b6166b4b805b2cad6ce653612a2cffb78bc971220f284088ed6f34cb3b6b37f30bb250031e189b6d76c10d839e9
|
data/README.md
CHANGED
@@ -29,20 +29,9 @@ 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.5
|
33
33
|
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
|
34
34
|
|
35
|
-
## Bugs fixed in Version 22.2
|
36
|
-
- PDF to XLSX: Google sheet does not recognize output excel sheet.
|
37
|
-
- Text Replace API method throws Internal Error.
|
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.
|
45
|
-
|
46
35
|
## Installation
|
47
36
|
|
48
37
|
### Build a gem
|
@@ -56,15 +45,15 @@ gem build aspose_pdf_cloud.gemspec
|
|
56
45
|
Then either install the gem locally:
|
57
46
|
|
58
47
|
```shell
|
59
|
-
gem install ./aspose_pdf_cloud-22.
|
48
|
+
gem install ./aspose_pdf_cloud-22.5.0.gem
|
60
49
|
```
|
61
|
-
(for development, run `gem install --dev ./aspose_pdf_cloud-22.
|
50
|
+
(for development, run `gem install --dev ./aspose_pdf_cloud-22.5.0.gem` to install the development dependencies)
|
62
51
|
|
63
52
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
64
53
|
|
65
54
|
Finally add this to the Gemfile:
|
66
55
|
|
67
|
-
gem 'aspose_pdf_cloud', '~> 22.
|
56
|
+
gem 'aspose_pdf_cloud', '~> 22.5.0'
|
68
57
|
|
69
58
|
### Install from Git
|
70
59
|
|
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.5.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-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|