Skip to content

Commit e6cef95

Browse files
authored
Merge pull request #31 from aspose-pdf-cloud/develop
update to 22.3
2 parents 4e5ee8d + 98d9e67 commit e6cef95

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,15 @@ These SDKs are now fully supported. If you have any questions, see any bugs or h
99

1010
Extract Text & Images of a PDF document online https://products.aspose.app/pdf/parser.
1111

12-
## Enhancements in Version 22.2
12+
## Enhancements in Version 22.3
13+
- PDFCLOUD-2729: Add StrikeOut, Superscript, Subscript properties to TextState.
14+
- PDFCLOUD-2623: Underline property is missing in TextState.
1315
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
1416

17+
## Bugs fixed in Version 22.3
18+
- PDFCLOUD-2714: GetFields API method not extracting PDF form fields.
19+
- PDFCLOUD-2641: PostSplitDocument returns wrong path.
20+
1521
## Installation
1622
```
1723
go get -u github.com/aspose-pdf-cloud/aspose-pdf-cloud-go

api_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func (c *APIClient) prepareRequest (
176176

177177
// set custom header
178178
headerParams["x-aspose-client"] = "go sdk"
179-
headerParams["x-aspose-client-version"] = "22.2.0"
179+
headerParams["x-aspose-client-version"] = "22.3.0"
180180

181181
// Detect postBody type and post.
182182
if postBody != nil {

docs/TextState.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ Name | Type | Description | Notes
1010
**BackgroundColor** | [***Color**](Color.md) | Sets background color of the text. | [optional] [default to null]
1111
**FontStyle** | [***FontStyles**](FontStyles.md) | Sets font style of the text. | [default to null]
1212
**FontFile** | **string** | Sets path of font file in storage. | [optional] [default to null]
13+
**Underline** | **bool** | Gets or sets underline of the text. | [optional] [default to null]
14+
**StrikeOut** | **bool** | Gets or sets strikeout of the text. | [optional] [default to null]
15+
**Superscript** | **bool** | Gets or sets superscript mode of the text. | [optional] [default to null]
16+
**Subscript** | **bool** | Gets or sets subscript mode of the text. | [optional] [default to null]
1317

1418
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)[[View Source]](../text_state.go)
1519

text_state.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,12 @@ type TextState struct {
3535
FontStyle FontStyles `json:"FontStyle"`
3636
// Sets path of font file in storage.
3737
FontFile string `json:"FontFile,omitempty"`
38+
// Gets or sets underline of the text.
39+
Underline bool `json:"Underline,omitempty"`
40+
// Gets or sets strikeout of the text.
41+
StrikeOut bool `json:"StrikeOut,omitempty"`
42+
// Gets or sets superscript mode of the text.
43+
Superscript bool `json:"Superscript,omitempty"`
44+
// Gets or sets subscript mode of the text.
45+
Subscript bool `json:"Subscript,omitempty"`
3846
}

0 commit comments

Comments
 (0)