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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6be1a9f0062e654d7914c1d4fcec2965fe9d00f0782a9579d6a09bfe84106648
4
- data.tar.gz: 95b75bc26385ccb734a10a98b1e97b990bb08af8f315f46a502c055279c1f001
3
+ metadata.gz: 17042f21f1dc5beb0e54e308f0d3bd29a493682c76adb507b8e0f7f936f0d525
4
+ data.tar.gz: c2f597477d6716170dd9eb0b3323899dbac788d9ef6f80571446bbc3e4f71c3c
5
5
  SHA512:
6
- metadata.gz: 125f3ab2ba223f0194c56c4b8c86981cb50619ee02cf9292deb727d0085d1cea08a8cba435b95a56a17c55a6f5dcb48d9ddce63a3740458e98351e39a646058a
7
- data.tar.gz: 8531b7796d3de1c8d70c7431ebadfe99b6cfd6d25a61f9c924100791ac969a836ab5bea6bd6648172a8015301739118b962d161b327d012ed53817a6c83a89cc
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.2
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 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.
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.2.0.gem
54
+ gem install ./aspose_pdf_cloud-22.3.0.gem
60
55
  ```
61
- (for development, run `gem install --dev ./aspose_pdf_cloud-22.2.0.gem` to install the development dependencies)
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.2.0'
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
@@ -20,5 +20,5 @@ SOFTWARE.
20
20
  =end
21
21
 
22
22
  module AsposePdfCloud
23
- VERSION = "22.2.0"
23
+ VERSION = "22.3.0"
24
24
  end
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.2.0
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-02-25 00:00:00.000000000 Z
11
+ date: 2022-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json