Skip to content

Commit 19ab13d

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents 95d6d66 + 32aa0d0 commit 19ab13d

File tree

848 files changed

+177490
-2
lines changed

Some content is hidden

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

848 files changed

+177490
-2
lines changed

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 25.6
20+
21+
- Added support for SVG images format in Watermark API.
22+
- Added 'RemoveJavaScriptFromLinks' property for HtmlSaveOptionsData class.
23+
24+
1925
## Enhancements in Version 25.5
2026

2127
- Added data models support for classes 'CommentRangeStart', 'CommentRangeEnd'.

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 v25.5
68+
// APIClient manages communication with the Aspose.Words for Cloud API Reference API v25.6
6969
// In most cases there should be only one, shared, APIClient.
7070
type APIClient struct {
7171
cfg *models.Configuration

dev/api/models/azw3_save_options_data.go

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ type IAzw3SaveOptionsData interface {
131131
SetOfficeMathOutputMode(value *string)
132132
GetPrettyFormat() *bool
133133
SetPrettyFormat(value *bool)
134+
GetRemoveJavaScriptFromLinks() *bool
135+
SetRemoveJavaScriptFromLinks(value *bool)
134136
GetReplaceBackslashWithYenSign() *bool
135137
SetReplaceBackslashWithYenSign(value *bool)
136138
GetResolveFontNames() *bool
@@ -288,6 +290,9 @@ type Azw3SaveOptionsData struct {
288290
// Container class for azw3 save options.
289291
PrettyFormat *bool `json:"PrettyFormat,omitempty"`
290292

293+
// Container class for azw3 save options.
294+
RemoveJavaScriptFromLinks *bool `json:"RemoveJavaScriptFromLinks,omitempty"`
295+
291296
// Container class for azw3 save options.
292297
ReplaceBackslashWithYenSign *bool `json:"ReplaceBackslashWithYenSign,omitempty"`
293298

@@ -900,6 +905,18 @@ func (obj *Azw3SaveOptionsData) Deserialize(json map[string]interface{}) {
900905

901906
}
902907

908+
if jsonValue, exists := json["RemoveJavaScriptFromLinks"]; exists {
909+
if parsedValue, valid := jsonValue.(bool); valid {
910+
obj.RemoveJavaScriptFromLinks = &parsedValue
911+
}
912+
913+
} else if jsonValue, exists := json["removeJavaScriptFromLinks"]; exists {
914+
if parsedValue, valid := jsonValue.(bool); valid {
915+
obj.RemoveJavaScriptFromLinks = &parsedValue
916+
}
917+
918+
}
919+
903920
if jsonValue, exists := json["ReplaceBackslashWithYenSign"]; exists {
904921
if parsedValue, valid := jsonValue.(bool); valid {
905922
obj.ReplaceBackslashWithYenSign = &parsedValue
@@ -1376,6 +1393,14 @@ func (obj *Azw3SaveOptionsData) SetPrettyFormat(value *bool) {
13761393
obj.PrettyFormat = value
13771394
}
13781395

1396+
func (obj *Azw3SaveOptionsData) GetRemoveJavaScriptFromLinks() *bool {
1397+
return obj.RemoveJavaScriptFromLinks
1398+
}
1399+
1400+
func (obj *Azw3SaveOptionsData) SetRemoveJavaScriptFromLinks(value *bool) {
1401+
obj.RemoveJavaScriptFromLinks = value
1402+
}
1403+
13791404
func (obj *Azw3SaveOptionsData) GetReplaceBackslashWithYenSign() *bool {
13801405
return obj.ReplaceBackslashWithYenSign
13811406
}

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": "25.5"},
102+
DefaultHeader: map[string]string{"x-aspose-client": "go sdk", "x-aspose-client-version": "25.6"},
103103
}
104104
err = json.Unmarshal(data, &cfg)
105105

dev/api/models/epub_save_options_data.go

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ type IEpubSaveOptionsData interface {
131131
SetOfficeMathOutputMode(value *string)
132132
GetPrettyFormat() *bool
133133
SetPrettyFormat(value *bool)
134+
GetRemoveJavaScriptFromLinks() *bool
135+
SetRemoveJavaScriptFromLinks(value *bool)
134136
GetReplaceBackslashWithYenSign() *bool
135137
SetReplaceBackslashWithYenSign(value *bool)
136138
GetResolveFontNames() *bool
@@ -288,6 +290,9 @@ type EpubSaveOptionsData struct {
288290
// Container class for epub save options.
289291
PrettyFormat *bool `json:"PrettyFormat,omitempty"`
290292

293+
// Container class for epub save options.
294+
RemoveJavaScriptFromLinks *bool `json:"RemoveJavaScriptFromLinks,omitempty"`
295+
291296
// Container class for epub save options.
292297
ReplaceBackslashWithYenSign *bool `json:"ReplaceBackslashWithYenSign,omitempty"`
293298

@@ -900,6 +905,18 @@ func (obj *EpubSaveOptionsData) Deserialize(json map[string]interface{}) {
900905

901906
}
902907

908+
if jsonValue, exists := json["RemoveJavaScriptFromLinks"]; exists {
909+
if parsedValue, valid := jsonValue.(bool); valid {
910+
obj.RemoveJavaScriptFromLinks = &parsedValue
911+
}
912+
913+
} else if jsonValue, exists := json["removeJavaScriptFromLinks"]; exists {
914+
if parsedValue, valid := jsonValue.(bool); valid {
915+
obj.RemoveJavaScriptFromLinks = &parsedValue
916+
}
917+
918+
}
919+
903920
if jsonValue, exists := json["ReplaceBackslashWithYenSign"]; exists {
904921
if parsedValue, valid := jsonValue.(bool); valid {
905922
obj.ReplaceBackslashWithYenSign = &parsedValue
@@ -1376,6 +1393,14 @@ func (obj *EpubSaveOptionsData) SetPrettyFormat(value *bool) {
13761393
obj.PrettyFormat = value
13771394
}
13781395

1396+
func (obj *EpubSaveOptionsData) GetRemoveJavaScriptFromLinks() *bool {
1397+
return obj.RemoveJavaScriptFromLinks
1398+
}
1399+
1400+
func (obj *EpubSaveOptionsData) SetRemoveJavaScriptFromLinks(value *bool) {
1401+
obj.RemoveJavaScriptFromLinks = value
1402+
}
1403+
13791404
func (obj *EpubSaveOptionsData) GetReplaceBackslashWithYenSign() *bool {
13801405
return obj.ReplaceBackslashWithYenSign
13811406
}

dev/api/models/html_save_options_data.go

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ type IHtmlSaveOptionsData interface {
131131
SetOfficeMathOutputMode(value *string)
132132
GetPrettyFormat() *bool
133133
SetPrettyFormat(value *bool)
134+
GetRemoveJavaScriptFromLinks() *bool
135+
SetRemoveJavaScriptFromLinks(value *bool)
134136
GetReplaceBackslashWithYenSign() *bool
135137
SetReplaceBackslashWithYenSign(value *bool)
136138
GetResolveFontNames() *bool
@@ -286,6 +288,9 @@ type HtmlSaveOptionsData struct {
286288
// Container class for html save options.
287289
PrettyFormat *bool `json:"PrettyFormat,omitempty"`
288290

291+
// Container class for html save options.
292+
RemoveJavaScriptFromLinks *bool `json:"RemoveJavaScriptFromLinks,omitempty"`
293+
289294
// Container class for html save options.
290295
ReplaceBackslashWithYenSign *bool `json:"ReplaceBackslashWithYenSign,omitempty"`
291296

@@ -891,6 +896,18 @@ func (obj *HtmlSaveOptionsData) Deserialize(json map[string]interface{}) {
891896

892897
}
893898

899+
if jsonValue, exists := json["RemoveJavaScriptFromLinks"]; exists {
900+
if parsedValue, valid := jsonValue.(bool); valid {
901+
obj.RemoveJavaScriptFromLinks = &parsedValue
902+
}
903+
904+
} else if jsonValue, exists := json["removeJavaScriptFromLinks"]; exists {
905+
if parsedValue, valid := jsonValue.(bool); valid {
906+
obj.RemoveJavaScriptFromLinks = &parsedValue
907+
}
908+
909+
}
910+
894911
if jsonValue, exists := json["ReplaceBackslashWithYenSign"]; exists {
895912
if parsedValue, valid := jsonValue.(bool); valid {
896913
obj.ReplaceBackslashWithYenSign = &parsedValue
@@ -1353,6 +1370,14 @@ func (obj *HtmlSaveOptionsData) SetPrettyFormat(value *bool) {
13531370
obj.PrettyFormat = value
13541371
}
13551372

1373+
func (obj *HtmlSaveOptionsData) GetRemoveJavaScriptFromLinks() *bool {
1374+
return obj.RemoveJavaScriptFromLinks
1375+
}
1376+
1377+
func (obj *HtmlSaveOptionsData) SetRemoveJavaScriptFromLinks(value *bool) {
1378+
obj.RemoveJavaScriptFromLinks = value
1379+
}
1380+
13561381
func (obj *HtmlSaveOptionsData) GetReplaceBackslashWithYenSign() *bool {
13571382
return obj.ReplaceBackslashWithYenSign
13581383
}

dev/api/models/mhtml_save_options_data.go

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ type IMhtmlSaveOptionsData interface {
131131
SetOfficeMathOutputMode(value *string)
132132
GetPrettyFormat() *bool
133133
SetPrettyFormat(value *bool)
134+
GetRemoveJavaScriptFromLinks() *bool
135+
SetRemoveJavaScriptFromLinks(value *bool)
134136
GetReplaceBackslashWithYenSign() *bool
135137
SetReplaceBackslashWithYenSign(value *bool)
136138
GetResolveFontNames() *bool
@@ -288,6 +290,9 @@ type MhtmlSaveOptionsData struct {
288290
// Container class for mhtml save options.
289291
PrettyFormat *bool `json:"PrettyFormat,omitempty"`
290292

293+
// Container class for mhtml save options.
294+
RemoveJavaScriptFromLinks *bool `json:"RemoveJavaScriptFromLinks,omitempty"`
295+
291296
// Container class for mhtml save options.
292297
ReplaceBackslashWithYenSign *bool `json:"ReplaceBackslashWithYenSign,omitempty"`
293298

@@ -900,6 +905,18 @@ func (obj *MhtmlSaveOptionsData) Deserialize(json map[string]interface{}) {
900905

901906
}
902907

908+
if jsonValue, exists := json["RemoveJavaScriptFromLinks"]; exists {
909+
if parsedValue, valid := jsonValue.(bool); valid {
910+
obj.RemoveJavaScriptFromLinks = &parsedValue
911+
}
912+
913+
} else if jsonValue, exists := json["removeJavaScriptFromLinks"]; exists {
914+
if parsedValue, valid := jsonValue.(bool); valid {
915+
obj.RemoveJavaScriptFromLinks = &parsedValue
916+
}
917+
918+
}
919+
903920
if jsonValue, exists := json["ReplaceBackslashWithYenSign"]; exists {
904921
if parsedValue, valid := jsonValue.(bool); valid {
905922
obj.ReplaceBackslashWithYenSign = &parsedValue
@@ -1374,6 +1391,14 @@ func (obj *MhtmlSaveOptionsData) SetPrettyFormat(value *bool) {
13741391
obj.PrettyFormat = value
13751392
}
13761393

1394+
func (obj *MhtmlSaveOptionsData) GetRemoveJavaScriptFromLinks() *bool {
1395+
return obj.RemoveJavaScriptFromLinks
1396+
}
1397+
1398+
func (obj *MhtmlSaveOptionsData) SetRemoveJavaScriptFromLinks(value *bool) {
1399+
obj.RemoveJavaScriptFromLinks = value
1400+
}
1401+
13771402
func (obj *MhtmlSaveOptionsData) GetReplaceBackslashWithYenSign() *bool {
13781403
return obj.ReplaceBackslashWithYenSign
13791404
}

v2506/.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+
}

v2506/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)