Skip to content

Commit 38d9c04

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents 56cdb35 + f4a38c6 commit 38d9c04

File tree

843 files changed

+175361
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

843 files changed

+175361
-4
lines changed

JenkinsfileRelease

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ node('win2019_2') {
1414

1515
stage('prepare to release') {
1616
withCredentials([usernamePassword(credentialsId: '361885ba-9425-4230-950e-0af201d90547', passwordVariable: 'gitPass', usernameVariable: 'gitUsername')]) {
17-
bat 'Scripts\\createVersion.bat %SDK_VERSION% %gitUsername% %gitPass%
17+
bat 'REM Scripts\\createVersion.bat %SDK_VERSION% %gitUsername% %gitPass%'
1818
}
1919
}
2020

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ Feel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/w
1616
- Add & remove watermarks and protection.
1717
- Read & write access to Document Object Model.
1818

19+
## Enhancements in Version 24.12
20+
21+
- Added 'RenderChoiceFormFieldBorder' property for PdfSaveOptionsData class.
22+
- Added 'ApplySuperscript' property for ReplaceTextParameters class.
23+
24+
1925
## Enhancements in Version 24.11
2026

2127
- Added GetAllRevisions method to obtain all available revisions in document.

Scripts/CreateVersion.bat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
:copy files version folder
22
xcopy dev %1 /E /Y /I
3-
xcopy *.md %1/ /Y
3+
xcopy *.md %1\ /Y
44
: fix files
55
powershell -command "& { (Get-Content %1\README.md).Replace('v2007', '%1').Replace('2007', '%1') | Set-Content %1\README.md }"
66
powershell -command "& { (Get-Content %1\go.mod).Replace('/dev', '/%1') | Set-Content %1\go.mod }"
77
powershell -command "& { Get-ChildItem "%1\tests\*.go" | ForEach-Object -Process {(Get-Content $_).Replace('/dev/', '/%1/') | Set-Content $_ } }"
88
powershell -command "& { Get-ChildItem "%1\examples\*" | ForEach-Object -Process {(Get-Content $_).Replace('/dev/', '/%1/') | Set-Content $_ } }"
99
powershell -command "& { Get-ChildItem "%1\api\*.go" | ForEach-Object -Process {(Get-Content $_).Replace('/dev/', '/%1/') | Set-Content $_ } }"
1010

11+
goto end
12+
1113
: commit if any files are changed
1214
git add .
1315
git diff-index --quiet HEAD --
@@ -16,3 +18,4 @@ if %errorlevel% == 1 (
1618
git push https://%2:%3@git.auckland.dynabic.com/words-cloud/words-cloud-dotnet.git master
1719
)
1820

21+
:end

dev/api/api_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ var (
6565
xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)")
6666
)
6767

68-
// APIClient manages communication with the Aspose.Words for Cloud API Reference API v24.11
68+
// APIClient manages communication with the Aspose.Words for Cloud API Reference API v24.12
6969
// In most cases there should be only one, shared, APIClient.
7070
type APIClient struct {
7171
cfg *models.Configuration

dev/api/models/configuration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func NewConfiguration(configFilePath string) (pConfig *Configuration, err error)
9999
cfg := Configuration{
100100
BaseUrl: "https://api.aspose.cloud",
101101
DebugMode: false,
102-
DefaultHeader: map[string]string{"x-aspose-client": "go sdk", "x-aspose-client-version": "24.11"},
102+
DefaultHeader: map[string]string{"x-aspose-client": "go sdk", "x-aspose-client-version": "24.12"},
103103
}
104104
err = json.Unmarshal(data, &cfg)
105105

dev/api/models/pdf_save_options_data.go

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ type IPdfSaveOptionsData interface {
121121
SetPreblendImages(value *bool)
122122
GetPreserveFormFields() *bool
123123
SetPreserveFormFields(value *bool)
124+
GetRenderChoiceFormFieldBorder() *bool
125+
SetRenderChoiceFormFieldBorder(value *bool)
124126
GetTextCompression() *string
125127
SetTextCompression(value *string)
126128
GetUseBookFoldPrintingSettings() *bool
@@ -261,6 +263,9 @@ type PdfSaveOptionsData struct {
261263
// Container class for pdf save options.
262264
PreserveFormFields *bool `json:"PreserveFormFields,omitempty"`
263265

266+
// Container class for pdf save options.
267+
RenderChoiceFormFieldBorder *bool `json:"RenderChoiceFormFieldBorder,omitempty"`
268+
264269
// Container class for pdf save options.
265270
TextCompression *string `json:"TextCompression,omitempty"`
266271

@@ -850,6 +855,18 @@ func (obj *PdfSaveOptionsData) Deserialize(json map[string]interface{}) {
850855

851856
}
852857

858+
if jsonValue, exists := json["RenderChoiceFormFieldBorder"]; exists {
859+
if parsedValue, valid := jsonValue.(bool); valid {
860+
obj.RenderChoiceFormFieldBorder = &parsedValue
861+
}
862+
863+
} else if jsonValue, exists := json["renderChoiceFormFieldBorder"]; exists {
864+
if parsedValue, valid := jsonValue.(bool); valid {
865+
obj.RenderChoiceFormFieldBorder = &parsedValue
866+
}
867+
868+
}
869+
853870
if jsonValue, exists := json["TextCompression"]; exists {
854871
if parsedValue, valid := jsonValue.(string); valid {
855872
obj.TextCompression = &parsedValue
@@ -1299,6 +1316,14 @@ func (obj *PdfSaveOptionsData) SetPreserveFormFields(value *bool) {
12991316
obj.PreserveFormFields = value
13001317
}
13011318

1319+
func (obj *PdfSaveOptionsData) GetRenderChoiceFormFieldBorder() *bool {
1320+
return obj.RenderChoiceFormFieldBorder
1321+
}
1322+
1323+
func (obj *PdfSaveOptionsData) SetRenderChoiceFormFieldBorder(value *bool) {
1324+
obj.RenderChoiceFormFieldBorder = value
1325+
}
1326+
13021327
func (obj *PdfSaveOptionsData) GetTextCompression() *string {
13031328
return obj.TextCompression
13041329
}

dev/api/models/replace_text_parameters.go

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ type IReplaceTextParameters interface {
3939
Deserialize(json map[string]interface{})
4040
CollectFilesContent(resultFilesContent []FileReference) []FileReference
4141
Validate() error
42+
GetApplySuperscript() *bool
43+
SetApplySuperscript(value *bool)
4244
GetIsMatchCase() *bool
4345
SetIsMatchCase(value *bool)
4446
GetIsMatchWholeWord() *bool
@@ -52,6 +54,9 @@ type IReplaceTextParameters interface {
5254
}
5355

5456
type ReplaceTextParameters struct {
57+
// Class for document replace text request building.
58+
ApplySuperscript *bool `json:"ApplySuperscript,omitempty"`
59+
5560
// Class for document replace text request building.
5661
IsMatchCase *bool `json:"IsMatchCase,omitempty"`
5762

@@ -77,6 +82,18 @@ func (obj *ReplaceTextParameters) Initialize() {
7782
}
7883

7984
func (obj *ReplaceTextParameters) Deserialize(json map[string]interface{}) {
85+
if jsonValue, exists := json["ApplySuperscript"]; exists {
86+
if parsedValue, valid := jsonValue.(bool); valid {
87+
obj.ApplySuperscript = &parsedValue
88+
}
89+
90+
} else if jsonValue, exists := json["applySuperscript"]; exists {
91+
if parsedValue, valid := jsonValue.(bool); valid {
92+
obj.ApplySuperscript = &parsedValue
93+
}
94+
95+
}
96+
8097
if jsonValue, exists := json["IsMatchCase"]; exists {
8198
if parsedValue, valid := jsonValue.(bool); valid {
8299
obj.IsMatchCase = &parsedValue
@@ -165,6 +182,14 @@ func (obj *ReplaceTextParameters) Validate() error {
165182
return nil;
166183
}
167184

185+
func (obj *ReplaceTextParameters) GetApplySuperscript() *bool {
186+
return obj.ApplySuperscript
187+
}
188+
189+
func (obj *ReplaceTextParameters) SetApplySuperscript(value *bool) {
190+
obj.ApplySuperscript = value
191+
}
192+
168193
func (obj *ReplaceTextParameters) GetIsMatchCase() *bool {
169194
return obj.IsMatchCase
170195
}

v2412/.vscode/launch.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Launch",
9+
"type": "go",
10+
"request": "launch",
11+
"mode": "auto",
12+
"program": "${fileDirname}",
13+
"env": {},
14+
"args": []
15+
}
16+
]
17+
}

v2412/LICENSE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright 2020 Aspose
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)