Skip to content

Commit 33ce167

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents a409345 + 38639e5 commit 33ce167

File tree

882 files changed

+177339
-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.

882 files changed

+177339
-2
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ 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.4
20+
21+
- Added 'AttachmentsEmbeddingMode' property for PdfSaveOptionsData class.
22+
- Added 'UpdateAmbiguousTextFont' property for SaveOptionsData class.
23+
- Added 'Granularity' property for CompareOptions class.
24+
25+
1926
## Enhancements in Version 25.2
2027

2128
- Added 'IdPrefix' property for HtmlFixedSaveOptionsData and SvgSaveOptionsData class.

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.3
68+
// APIClient manages communication with the Aspose.Words for Cloud API Reference API v25.4
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
@@ -53,6 +53,8 @@ type IAzw3SaveOptionsData interface {
5353
SetFileName(value *string)
5454
GetImlRenderingMode() *string
5555
SetImlRenderingMode(value *string)
56+
GetUpdateAmbiguousTextFont() *bool
57+
SetUpdateAmbiguousTextFont(value *bool)
5658
GetUpdateCreatedTimeProperty() *bool
5759
SetUpdateCreatedTimeProperty(value *bool)
5860
GetUpdateFields() *bool
@@ -169,6 +171,9 @@ type Azw3SaveOptionsData struct {
169171
// Container class for azw3 save options.
170172
ImlRenderingMode *string `json:"ImlRenderingMode,omitempty"`
171173

174+
// Container class for azw3 save options.
175+
UpdateAmbiguousTextFont *bool `json:"UpdateAmbiguousTextFont,omitempty"`
176+
172177
// Container class for azw3 save options.
173178
UpdateCreatedTimeProperty *bool `json:"UpdateCreatedTimeProperty,omitempty"`
174179

@@ -421,6 +426,18 @@ func (obj *Azw3SaveOptionsData) Deserialize(json map[string]interface{}) {
421426

422427
}
423428

429+
if jsonValue, exists := json["UpdateAmbiguousTextFont"]; exists {
430+
if parsedValue, valid := jsonValue.(bool); valid {
431+
obj.UpdateAmbiguousTextFont = &parsedValue
432+
}
433+
434+
} else if jsonValue, exists := json["updateAmbiguousTextFont"]; exists {
435+
if parsedValue, valid := jsonValue.(bool); valid {
436+
obj.UpdateAmbiguousTextFont = &parsedValue
437+
}
438+
439+
}
440+
424441
if jsonValue, exists := json["UpdateCreatedTimeProperty"]; exists {
425442
if parsedValue, valid := jsonValue.(bool); valid {
426443
obj.UpdateCreatedTimeProperty = &parsedValue
@@ -1047,6 +1064,14 @@ func (obj *Azw3SaveOptionsData) SetImlRenderingMode(value *string) {
10471064
obj.ImlRenderingMode = value
10481065
}
10491066

1067+
func (obj *Azw3SaveOptionsData) GetUpdateAmbiguousTextFont() *bool {
1068+
return obj.UpdateAmbiguousTextFont
1069+
}
1070+
1071+
func (obj *Azw3SaveOptionsData) SetUpdateAmbiguousTextFont(value *bool) {
1072+
obj.UpdateAmbiguousTextFont = value
1073+
}
1074+
10501075
func (obj *Azw3SaveOptionsData) GetUpdateCreatedTimeProperty() *bool {
10511076
return obj.UpdateCreatedTimeProperty
10521077
}

dev/api/models/bmp_save_options_data.go

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ type IBmpSaveOptionsData interface {
5353
SetFileName(value *string)
5454
GetImlRenderingMode() *string
5555
SetImlRenderingMode(value *string)
56+
GetUpdateAmbiguousTextFont() *bool
57+
SetUpdateAmbiguousTextFont(value *bool)
5658
GetUpdateCreatedTimeProperty() *bool
5759
SetUpdateCreatedTimeProperty(value *bool)
5860
GetUpdateFields() *bool
@@ -131,6 +133,9 @@ type BmpSaveOptionsData struct {
131133
// Container class for bmp save options.
132134
ImlRenderingMode *string `json:"ImlRenderingMode,omitempty"`
133135

136+
// Container class for bmp save options.
137+
UpdateAmbiguousTextFont *bool `json:"UpdateAmbiguousTextFont,omitempty"`
138+
134139
// Container class for bmp save options.
135140
UpdateCreatedTimeProperty *bool `json:"UpdateCreatedTimeProperty,omitempty"`
136141

@@ -334,6 +339,18 @@ func (obj *BmpSaveOptionsData) Deserialize(json map[string]interface{}) {
334339

335340
}
336341

342+
if jsonValue, exists := json["UpdateAmbiguousTextFont"]; exists {
343+
if parsedValue, valid := jsonValue.(bool); valid {
344+
obj.UpdateAmbiguousTextFont = &parsedValue
345+
}
346+
347+
} else if jsonValue, exists := json["updateAmbiguousTextFont"]; exists {
348+
if parsedValue, valid := jsonValue.(bool); valid {
349+
obj.UpdateAmbiguousTextFont = &parsedValue
350+
}
351+
352+
}
353+
337354
if jsonValue, exists := json["UpdateCreatedTimeProperty"]; exists {
338355
if parsedValue, valid := jsonValue.(bool); valid {
339356
obj.UpdateCreatedTimeProperty = &parsedValue
@@ -743,6 +760,14 @@ func (obj *BmpSaveOptionsData) SetImlRenderingMode(value *string) {
743760
obj.ImlRenderingMode = value
744761
}
745762

763+
func (obj *BmpSaveOptionsData) GetUpdateAmbiguousTextFont() *bool {
764+
return obj.UpdateAmbiguousTextFont
765+
}
766+
767+
func (obj *BmpSaveOptionsData) SetUpdateAmbiguousTextFont(value *bool) {
768+
obj.UpdateAmbiguousTextFont = value
769+
}
770+
746771
func (obj *BmpSaveOptionsData) GetUpdateCreatedTimeProperty() *bool {
747772
return obj.UpdateCreatedTimeProperty
748773
}

dev/api/models/compare_options.go

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ type ICompareOptions interface {
4141
Validate() error
4242
GetAcceptAllRevisionsBeforeComparison() *bool
4343
SetAcceptAllRevisionsBeforeComparison(value *bool)
44+
GetGranularity() *string
45+
SetGranularity(value *string)
4446
GetIgnoreCaseChanges() *bool
4547
SetIgnoreCaseChanges(value *bool)
4648
GetIgnoreComments() *bool
@@ -65,6 +67,9 @@ type CompareOptions struct {
6567
// DTO container with compare documents options.
6668
AcceptAllRevisionsBeforeComparison *bool `json:"AcceptAllRevisionsBeforeComparison,omitempty"`
6769

70+
// DTO container with compare documents options.
71+
Granularity *string `json:"Granularity,omitempty"`
72+
6873
// DTO container with compare documents options.
6974
IgnoreCaseChanges *bool `json:"IgnoreCaseChanges,omitempty"`
7075

@@ -114,6 +119,18 @@ func (obj *CompareOptions) Deserialize(json map[string]interface{}) {
114119

115120
}
116121

122+
if jsonValue, exists := json["Granularity"]; exists {
123+
if parsedValue, valid := jsonValue.(string); valid {
124+
obj.Granularity = &parsedValue
125+
}
126+
127+
} else if jsonValue, exists := json["granularity"]; exists {
128+
if parsedValue, valid := jsonValue.(string); valid {
129+
obj.Granularity = &parsedValue
130+
}
131+
132+
}
133+
117134
if jsonValue, exists := json["IgnoreCaseChanges"]; exists {
118135
if parsedValue, valid := jsonValue.(bool); valid {
119136
obj.IgnoreCaseChanges = &parsedValue
@@ -243,6 +260,14 @@ func (obj *CompareOptions) SetAcceptAllRevisionsBeforeComparison(value *bool) {
243260
obj.AcceptAllRevisionsBeforeComparison = value
244261
}
245262

263+
func (obj *CompareOptions) GetGranularity() *string {
264+
return obj.Granularity
265+
}
266+
267+
func (obj *CompareOptions) SetGranularity(value *string) {
268+
obj.Granularity = value
269+
}
270+
246271
func (obj *CompareOptions) GetIgnoreCaseChanges() *bool {
247272
return obj.IgnoreCaseChanges
248273
}

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

dev/api/models/doc_save_options_data.go

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ type IDocSaveOptionsData interface {
5353
SetFileName(value *string)
5454
GetImlRenderingMode() *string
5555
SetImlRenderingMode(value *string)
56+
GetUpdateAmbiguousTextFont() *bool
57+
SetUpdateAmbiguousTextFont(value *bool)
5658
GetUpdateCreatedTimeProperty() *bool
5759
SetUpdateCreatedTimeProperty(value *bool)
5860
GetUpdateFields() *bool
@@ -97,6 +99,9 @@ type DocSaveOptionsData struct {
9799
// Container class for doc/dot save options.
98100
ImlRenderingMode *string `json:"ImlRenderingMode,omitempty"`
99101

102+
// Container class for doc/dot save options.
103+
UpdateAmbiguousTextFont *bool `json:"UpdateAmbiguousTextFont,omitempty"`
104+
100105
// Container class for doc/dot save options.
101106
UpdateCreatedTimeProperty *bool `json:"UpdateCreatedTimeProperty,omitempty"`
102107

@@ -237,6 +242,18 @@ func (obj *DocSaveOptionsData) Deserialize(json map[string]interface{}) {
237242

238243
}
239244

245+
if jsonValue, exists := json["UpdateAmbiguousTextFont"]; exists {
246+
if parsedValue, valid := jsonValue.(bool); valid {
247+
obj.UpdateAmbiguousTextFont = &parsedValue
248+
}
249+
250+
} else if jsonValue, exists := json["updateAmbiguousTextFont"]; exists {
251+
if parsedValue, valid := jsonValue.(bool); valid {
252+
obj.UpdateAmbiguousTextFont = &parsedValue
253+
}
254+
255+
}
256+
240257
if jsonValue, exists := json["UpdateCreatedTimeProperty"]; exists {
241258
if parsedValue, valid := jsonValue.(bool); valid {
242259
obj.UpdateCreatedTimeProperty = &parsedValue
@@ -423,6 +440,14 @@ func (obj *DocSaveOptionsData) SetImlRenderingMode(value *string) {
423440
obj.ImlRenderingMode = value
424441
}
425442

443+
func (obj *DocSaveOptionsData) GetUpdateAmbiguousTextFont() *bool {
444+
return obj.UpdateAmbiguousTextFont
445+
}
446+
447+
func (obj *DocSaveOptionsData) SetUpdateAmbiguousTextFont(value *bool) {
448+
obj.UpdateAmbiguousTextFont = value
449+
}
450+
426451
func (obj *DocSaveOptionsData) GetUpdateCreatedTimeProperty() *bool {
427452
return obj.UpdateCreatedTimeProperty
428453
}

dev/api/models/docm_save_options_data.go

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ type IDocmSaveOptionsData interface {
5353
SetFileName(value *string)
5454
GetImlRenderingMode() *string
5555
SetImlRenderingMode(value *string)
56+
GetUpdateAmbiguousTextFont() *bool
57+
SetUpdateAmbiguousTextFont(value *bool)
5658
GetUpdateCreatedTimeProperty() *bool
5759
SetUpdateCreatedTimeProperty(value *bool)
5860
GetUpdateFields() *bool
@@ -97,6 +99,9 @@ type DocmSaveOptionsData struct {
9799
// Container class for docm save options.
98100
ImlRenderingMode *string `json:"ImlRenderingMode,omitempty"`
99101

102+
// Container class for docm save options.
103+
UpdateAmbiguousTextFont *bool `json:"UpdateAmbiguousTextFont,omitempty"`
104+
100105
// Container class for docm save options.
101106
UpdateCreatedTimeProperty *bool `json:"UpdateCreatedTimeProperty,omitempty"`
102107

@@ -241,6 +246,18 @@ func (obj *DocmSaveOptionsData) Deserialize(json map[string]interface{}) {
241246

242247
}
243248

249+
if jsonValue, exists := json["UpdateAmbiguousTextFont"]; exists {
250+
if parsedValue, valid := jsonValue.(bool); valid {
251+
obj.UpdateAmbiguousTextFont = &parsedValue
252+
}
253+
254+
} else if jsonValue, exists := json["updateAmbiguousTextFont"]; exists {
255+
if parsedValue, valid := jsonValue.(bool); valid {
256+
obj.UpdateAmbiguousTextFont = &parsedValue
257+
}
258+
259+
}
260+
244261
if jsonValue, exists := json["UpdateCreatedTimeProperty"]; exists {
245262
if parsedValue, valid := jsonValue.(bool); valid {
246263
obj.UpdateCreatedTimeProperty = &parsedValue
@@ -427,6 +444,14 @@ func (obj *DocmSaveOptionsData) SetImlRenderingMode(value *string) {
427444
obj.ImlRenderingMode = value
428445
}
429446

447+
func (obj *DocmSaveOptionsData) GetUpdateAmbiguousTextFont() *bool {
448+
return obj.UpdateAmbiguousTextFont
449+
}
450+
451+
func (obj *DocmSaveOptionsData) SetUpdateAmbiguousTextFont(value *bool) {
452+
obj.UpdateAmbiguousTextFont = value
453+
}
454+
430455
func (obj *DocmSaveOptionsData) GetUpdateCreatedTimeProperty() *bool {
431456
return obj.UpdateCreatedTimeProperty
432457
}

dev/api/models/docx_save_options_data.go

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ type IDocxSaveOptionsData interface {
5353
SetFileName(value *string)
5454
GetImlRenderingMode() *string
5555
SetImlRenderingMode(value *string)
56+
GetUpdateAmbiguousTextFont() *bool
57+
SetUpdateAmbiguousTextFont(value *bool)
5658
GetUpdateCreatedTimeProperty() *bool
5759
SetUpdateCreatedTimeProperty(value *bool)
5860
GetUpdateFields() *bool
@@ -97,6 +99,9 @@ type DocxSaveOptionsData struct {
9799
// Container class for docx save options.
98100
ImlRenderingMode *string `json:"ImlRenderingMode,omitempty"`
99101

102+
// Container class for docx save options.
103+
UpdateAmbiguousTextFont *bool `json:"UpdateAmbiguousTextFont,omitempty"`
104+
100105
// Container class for docx save options.
101106
UpdateCreatedTimeProperty *bool `json:"UpdateCreatedTimeProperty,omitempty"`
102107

@@ -241,6 +246,18 @@ func (obj *DocxSaveOptionsData) Deserialize(json map[string]interface{}) {
241246

242247
}
243248

249+
if jsonValue, exists := json["UpdateAmbiguousTextFont"]; exists {
250+
if parsedValue, valid := jsonValue.(bool); valid {
251+
obj.UpdateAmbiguousTextFont = &parsedValue
252+
}
253+
254+
} else if jsonValue, exists := json["updateAmbiguousTextFont"]; exists {
255+
if parsedValue, valid := jsonValue.(bool); valid {
256+
obj.UpdateAmbiguousTextFont = &parsedValue
257+
}
258+
259+
}
260+
244261
if jsonValue, exists := json["UpdateCreatedTimeProperty"]; exists {
245262
if parsedValue, valid := jsonValue.(bool); valid {
246263
obj.UpdateCreatedTimeProperty = &parsedValue
@@ -427,6 +444,14 @@ func (obj *DocxSaveOptionsData) SetImlRenderingMode(value *string) {
427444
obj.ImlRenderingMode = value
428445
}
429446

447+
func (obj *DocxSaveOptionsData) GetUpdateAmbiguousTextFont() *bool {
448+
return obj.UpdateAmbiguousTextFont
449+
}
450+
451+
func (obj *DocxSaveOptionsData) SetUpdateAmbiguousTextFont(value *bool) {
452+
obj.UpdateAmbiguousTextFont = value
453+
}
454+
430455
func (obj *DocxSaveOptionsData) GetUpdateCreatedTimeProperty() *bool {
431456
return obj.UpdateCreatedTimeProperty
432457
}

0 commit comments

Comments
 (0)