Skip to content

Commit 0340ade

Browse files
committed
Release Aspose.Cells Cloud SDK 24.8.0
1 parent 8cf9a00 commit 0340ade

File tree

14 files changed

+435
-12
lines changed

14 files changed

+435
-12
lines changed

Aspose.Cells.Cloud.SDK/Api/CellsApi.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3380,6 +3380,18 @@ public FileInfo PostAddTextContent(PostAddTextContentRequest request)
33803380

33813381

33823382

3383+
/// <summary>
3384+
/// </summary>
3385+
/// <param name="request">Request. <see cref="PostTrimContentRequest" /></param>
3386+
public FileInfo PostTrimContent(PostTrimContentRequest request)
3387+
{
3388+
requestHandlers.ForEach(p => p.ProcessUrl(""));
3389+
var result = invoker.InvokeApiAsync< FileInfo >(request.CreateHttpRequest(BaseUri +"/" +Version, this.invoker.DefaultHeaderMap, this.requestHandlers)).Result;
3390+
return result;
3391+
}
3392+
3393+
3394+
33833395
/// <summary>
33843396
/// Retrieve the description of the default style for the workbook .
33853397
/// </summary>

Aspose.Cells.Cloud.SDK/Aspose.Cells.Cloud.SDK.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
<RepositoryType>GitHub</RepositoryType>
1818
<Copyright>MIT</Copyright>
1919
<StyleCopTreatErrorsAsWarnings>false</StyleCopTreatErrorsAsWarnings>
20-
<AssemblyVersion>24.7</AssemblyVersion>
21-
<FileVersion>24.7</FileVersion>
22-
<Version>24.7</Version>
20+
<AssemblyVersion>24.8</AssemblyVersion>
21+
<FileVersion>24.8</FileVersion>
22+
<Version>24.8</Version>
2323
<PackageReadmeFile>README.md</PackageReadmeFile>
2424

2525
</PropertyGroup>

Aspose.Cells.Cloud.SDK/Infrastructure/Invoker/ApiInvoker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ internal class ApiInvoker
5050
internal ApiInvoker(List<IRequestHandler> requestHandlers)
5151
{
5252
this.AddDefaultHeader(AsposeClientHeaderName, ".net sdk");
53-
this.AddDefaultHeader(AsposeClientVersionHeaderName, "24.7");
53+
this.AddDefaultHeader(AsposeClientVersionHeaderName, "24.8");
5454
this.requestHandlers = requestHandlers;
5555
}
5656

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="ScopeItem.cs">
3+
// Copyright (c) 2024 Aspose.Cells Cloud
4+
// </copyright>
5+
// <summary>
6+
// Permission is hereby granted, free of charge, to any person obtaining a copy
7+
// of this software and associated documentation files (the "Software"), to deal
8+
// in the Software without restriction, including without limitation the rights
9+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
// copies of the Software, and to permit persons to whom the Software is
11+
// furnished to do so, subject to the following conditions:
12+
//
13+
// The above copyright notice and this permission notice shall be included in all
14+
// copies or substantial portions of the Software.
15+
//
16+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
// SOFTWARE.
23+
// </summary>
24+
// --------------------------------------------------------------------------------------------------------------------
25+
26+
namespace Aspose.Cells.Cloud.SDK.Model
27+
{
28+
using System;
29+
using System.Collections;
30+
using System.Collections.Generic;
31+
using System.Runtime.Serialization;
32+
using System.Text;
33+
using System.Drawing;
34+
using Newtonsoft.Json;
35+
using Newtonsoft.Json.Converters;
36+
37+
/// <summary>
38+
/// ScopeItem.
39+
/// </summary>
40+
public class ScopeItem
41+
{
42+
/// <summary>
43+
/// Gets or sets WorksheetName.
44+
/// </summary>
45+
public virtual string WorksheetName { get; set; }
46+
47+
/// <summary>
48+
///
49+
/// </summary>
50+
public virtual List<string> Ranges { get; set; }
51+
52+
/// <summary>
53+
/// Get the string presentation of the object.
54+
/// </summary>
55+
/// <returns>String presentation of the object.</returns>
56+
public override string ToString()
57+
{
58+
var sb = new StringBuilder();
59+
sb.Append("class ScopeItem {\n");
60+
sb.Append(" WorksheetName: ").Append(this.WorksheetName).Append("\n");
61+
sb.Append(" Ranges: ").Append(this.Ranges).Append("\n");
62+
sb.Append("}\n");
63+
return sb.ToString();
64+
}
65+
}
66+
}
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="ScopeOptions.cs">
3+
// Copyright (c) 2024 Aspose.Cells Cloud
4+
// </copyright>
5+
// <summary>
6+
// Permission is hereby granted, free of charge, to any person obtaining a copy
7+
// of this software and associated documentation files (the "Software"), to deal
8+
// in the Software without restriction, including without limitation the rights
9+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
// copies of the Software, and to permit persons to whom the Software is
11+
// furnished to do so, subject to the following conditions:
12+
//
13+
// The above copyright notice and this permission notice shall be included in all
14+
// copies or substantial portions of the Software.
15+
//
16+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
// SOFTWARE.
23+
// </summary>
24+
// --------------------------------------------------------------------------------------------------------------------
25+
26+
namespace Aspose.Cells.Cloud.SDK.Model
27+
{
28+
using System;
29+
using System.Collections;
30+
using System.Collections.Generic;
31+
using System.Runtime.Serialization;
32+
using System.Text;
33+
using System.Drawing;
34+
using Newtonsoft.Json;
35+
using Newtonsoft.Json.Converters;
36+
37+
/// <summary>
38+
/// ScopeOptions.
39+
/// </summary>
40+
public class ScopeOptions
41+
{
42+
/// <summary>
43+
/// Gets or sets Scope.
44+
/// </summary>
45+
public virtual string Scope { get; set; }
46+
47+
/// <summary>
48+
///
49+
/// </summary>
50+
public virtual List<ScopeItem> ScopeItems { get; set; }
51+
52+
/// <summary>
53+
/// Get the string presentation of the object.
54+
/// </summary>
55+
/// <returns>String presentation of the object.</returns>
56+
public override string ToString()
57+
{
58+
var sb = new StringBuilder();
59+
sb.Append("class ScopeOptions {\n");
60+
sb.Append(" Scope: ").Append(this.Scope).Append("\n");
61+
sb.Append(" ScopeItems: ").Append(this.ScopeItems).Append("\n");
62+
sb.Append("}\n");
63+
return sb.ToString();
64+
}
65+
}
66+
}

Aspose.Cells.Cloud.SDK/Model/SearchScopeOptionsType.cs renamed to Aspose.Cells.Cloud.SDK/Model/ScopeOptionsType.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// --------------------------------------------------------------------------------------------------------------------
2-
// <copyright company="Aspose" file="SearchScopeOptionsType.cs">
2+
// <copyright company="Aspose" file="ScopeOptionsType.cs">
33
// Copyright (c) 2024 Aspose.Cells Cloud
44
// </copyright>
55
// <summary>
@@ -35,10 +35,10 @@ namespace Aspose.Cells.Cloud.SDK.Model
3535
using Newtonsoft.Json.Converters;
3636

3737
/// <summary>
38-
/// SearchScopeOptionsType.
38+
/// ScopeOptionsType.
3939
/// </summary>
4040
[JsonConverter(typeof(StringEnumConverter))]
41-
public enum SearchScopeOptionsType
41+
public enum ScopeOptionsType
4242
{
4343
}
4444
}
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="TrimContentOptions.cs">
3+
// Copyright (c) 2024 Aspose.Cells Cloud
4+
// </copyright>
5+
// <summary>
6+
// Permission is hereby granted, free of charge, to any person obtaining a copy
7+
// of this software and associated documentation files (the "Software"), to deal
8+
// in the Software without restriction, including without limitation the rights
9+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
// copies of the Software, and to permit persons to whom the Software is
11+
// furnished to do so, subject to the following conditions:
12+
//
13+
// The above copyright notice and this permission notice shall be included in all
14+
// copies or substantial portions of the Software.
15+
//
16+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
// SOFTWARE.
23+
// </summary>
24+
// --------------------------------------------------------------------------------------------------------------------
25+
26+
namespace Aspose.Cells.Cloud.SDK.Model
27+
{
28+
using System;
29+
using System.Collections;
30+
using System.Collections.Generic;
31+
using System.Runtime.Serialization;
32+
using System.Text;
33+
using System.Drawing;
34+
using Newtonsoft.Json;
35+
using Newtonsoft.Json.Converters;
36+
37+
/// <summary>
38+
/// TrimContentOptions.
39+
/// </summary>
40+
public class TrimContentOptions
41+
{
42+
/// <summary>
43+
/// Gets or sets DataSource.
44+
/// </summary>
45+
public virtual DataSource DataSource { get; set; }
46+
47+
/// <summary>
48+
/// Gets or sets FileInfo.
49+
/// </summary>
50+
public virtual FileInfo FileInfo { get; set; }
51+
52+
/// <summary>
53+
/// Gets or sets TrimContent.
54+
/// </summary>
55+
public virtual string TrimContent { get; set; }
56+
57+
/// <summary>
58+
/// Gets or sets TrimLeading.
59+
/// </summary>
60+
public virtual bool? TrimLeading { get; set; }
61+
62+
/// <summary>
63+
/// Gets or sets TrimTrailing.
64+
/// </summary>
65+
public virtual bool? TrimTrailing { get; set; }
66+
67+
/// <summary>
68+
/// Gets or sets TrimSpaceBetweenWordTo1.
69+
/// </summary>
70+
public virtual bool? TrimSpaceBetweenWordTo1 { get; set; }
71+
72+
/// <summary>
73+
/// Gets or sets TrimNonBreakingSpaces.
74+
/// </summary>
75+
public virtual bool? TrimNonBreakingSpaces { get; set; }
76+
77+
/// <summary>
78+
/// Gets or sets RemoveExtraLineBreaks.
79+
/// </summary>
80+
public virtual bool? RemoveExtraLineBreaks { get; set; }
81+
82+
/// <summary>
83+
/// Gets or sets RemoveAllLineBreaks.
84+
/// </summary>
85+
public virtual bool? RemoveAllLineBreaks { get; set; }
86+
87+
/// <summary>
88+
/// Gets or sets ScopeOptions.
89+
/// </summary>
90+
public virtual ScopeOptions ScopeOptions { get; set; }
91+
92+
/// <summary>
93+
/// Get the string presentation of the object.
94+
/// </summary>
95+
/// <returns>String presentation of the object.</returns>
96+
public override string ToString()
97+
{
98+
var sb = new StringBuilder();
99+
sb.Append("class TrimContentOptions {\n");
100+
sb.Append(" DataSource: ").Append(this.DataSource).Append("\n");
101+
sb.Append(" FileInfo: ").Append(this.FileInfo).Append("\n");
102+
sb.Append(" TrimContent: ").Append(this.TrimContent).Append("\n");
103+
sb.Append(" TrimLeading: ").Append(this.TrimLeading).Append("\n");
104+
sb.Append(" TrimTrailing: ").Append(this.TrimTrailing).Append("\n");
105+
sb.Append(" TrimSpaceBetweenWordTo1: ").Append(this.TrimSpaceBetweenWordTo1).Append("\n");
106+
sb.Append(" TrimNonBreakingSpaces: ").Append(this.TrimNonBreakingSpaces).Append("\n");
107+
sb.Append(" RemoveExtraLineBreaks: ").Append(this.RemoveExtraLineBreaks).Append("\n");
108+
sb.Append(" RemoveAllLineBreaks: ").Append(this.RemoveAllLineBreaks).Append("\n");
109+
sb.Append(" ScopeOptions: ").Append(this.ScopeOptions).Append("\n");
110+
sb.Append("}\n");
111+
return sb.ToString();
112+
}
113+
}
114+
}

0 commit comments

Comments
 (0)