Skip to content

Commit a962f0e

Browse files
committed
Optimize operate scope options, Add protect/unprotect spreadsheet features and convert worksheet/table/range to other formats.
1 parent 0463346 commit a962f0e

File tree

72 files changed

+3813
-403
lines changed

Some content is hidden

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

72 files changed

+3813
-403
lines changed

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

Lines changed: 552 additions & 1 deletion
Large diffs are not rendered by default.

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>25.6.0</AssemblyVersion>
21-
<FileVersion>25.6.0</FileVersion>
22-
<Version>25.6.0</Version>
20+
<AssemblyVersion>25.7</AssemblyVersion>
21+
<FileVersion>25.7</FileVersion>
22+
<Version>25.7</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, "25.6.1");
53+
this.AddDefaultHeader(AsposeClientVersionHeaderName, "25.7");
5454
this.requestHandlers = requestHandlers;
5555
}
5656

Aspose.Cells.Cloud.SDK/Model/AddTextOptions.cs

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -45,42 +45,37 @@ public class AddTextOptions : BaseOperateOptions
4545
public override string Name { get; set; }
4646

4747
/// <summary>
48-
///
48+
/// Represents data source. There are three types of data, they are CloudFileSystem, RequestFiles, HttpUri.
4949
/// </summary>
5050
public virtual DataSource DataSource { get; set; }
5151

5252
/// <summary>
53-
///
53+
/// Represents file information. Include of filename, filesize, and file content(base64String).
5454
/// </summary>
5555
public virtual FileInfo FileInfo { get; set; }
5656

5757
/// <summary>
58-
///
58+
/// Specifies the range of cells within the worksheet where the spreadsheet operations will be performed. This parameter allows users to define the exact area to be processed, ensuring that operations are applied only to the designated cells.
5959
/// </summary>
60-
public virtual string Text { get; set; }
60+
public virtual ScopeOptions ScopeOptions { get; set; }
6161

6262
/// <summary>
63-
///
63+
/// Add text content.
6464
/// </summary>
65-
public virtual string Worksheet { get; set; }
66-
67-
/// <summary>
68-
///
69-
/// </summary>
70-
public virtual string Range { get; set; }
65+
public virtual string Text { get; set; }
7166

7267
/// <summary>
73-
///
68+
/// Represents where text should be inserted or selected in the spreadsheet.
7469
/// </summary>
7570
public virtual string SelectPoistion { get; set; }
7671

7772
/// <summary>
78-
///
73+
/// Selected text of cell where text should be inserted or selected in the spreadsheet.
7974
/// </summary>
8075
public virtual string SelectText { get; set; }
8176

8277
/// <summary>
83-
///
78+
/// Indicates whether empty cells should be skipped during processing.
8479
/// </summary>
8580
public virtual bool? SkipEmptyCells { get; set; }
8681

@@ -95,9 +90,8 @@ public override string ToString()
9590
sb.Append(" Name: ").Append(this.Name).Append("\n");
9691
sb.Append(" DataSource: ").Append(this.DataSource).Append("\n");
9792
sb.Append(" FileInfo: ").Append(this.FileInfo).Append("\n");
93+
sb.Append(" ScopeOptions: ").Append(this.ScopeOptions).Append("\n");
9894
sb.Append(" Text: ").Append(this.Text).Append("\n");
99-
sb.Append(" Worksheet: ").Append(this.Worksheet).Append("\n");
100-
sb.Append(" Range: ").Append(this.Range).Append("\n");
10195
sb.Append(" SelectPoistion: ").Append(this.SelectPoistion).Append("\n");
10296
sb.Append(" SelectText: ").Append(this.SelectText).Append("\n");
10397
sb.Append(" SkipEmptyCells: ").Append(this.SkipEmptyCells).Append("\n");

Aspose.Cells.Cloud.SDK/Model/CharacterCountOptions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ namespace Aspose.Cells.Cloud.SDK.Model
3535
using Newtonsoft.Json.Converters;
3636

3737
/// <summary>
38-
/// CharacterCountOptions.
38+
/// Character Count Options.
3939
/// </summary>
4040
public class CharacterCountOptions
4141
{
4242
/// <summary>
43-
/// Gets or sets DataSource.
43+
/// Represents data source. There are three types of data, they are CloudFileSystem, RequestFiles, HttpUri.
4444
/// </summary>
4545
public virtual DataSource DataSource { get; set; }
4646

4747
/// <summary>
48-
/// Gets or sets FileInfo.
48+
/// Represents file information. Include of filename, filesize, and file content(base64String).
4949
/// </summary>
5050
public virtual FileInfo FileInfo { get; set; }
5151

Aspose.Cells.Cloud.SDK/Model/ConvertTextOptions.cs

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,37 +45,32 @@ public class ConvertTextOptions : BaseOperateOptions
4545
public override string Name { get; set; }
4646

4747
/// <summary>
48-
///
48+
/// Represents data source. There are three types of data, they are CloudFileSystem, RequestFiles, HttpUri.
4949
/// </summary>
5050
public virtual DataSource DataSource { get; set; }
5151

5252
/// <summary>
53-
///
53+
/// Represents file information. Include of filename, filesize, and file content(base64String).
5454
/// </summary>
5555
public virtual FileInfo FileInfo { get; set; }
5656

5757
/// <summary>
58-
///
58+
/// Specifies the range of cells within the worksheet where the spreadsheet operations will be performed. This parameter allows users to define the exact area to be processed, ensuring that operations are applied only to the designated cells.
5959
/// </summary>
60-
public virtual string Worksheet { get; set; }
60+
public virtual ScopeOptions ScopeOptions { get; set; }
6161

6262
/// <summary>
6363
///
6464
/// </summary>
65-
public virtual string Range { get; set; }
66-
67-
/// <summary>
68-
/// Gets or sets ConvertTextType.
69-
/// </summary>
7065
public virtual string ConvertTextType { get; set; }
7166

7267
/// <summary>
73-
/// Gets or sets SourceCharacters.
68+
///
7469
/// </summary>
7570
public virtual string SourceCharacters { get; set; }
7671

7772
/// <summary>
78-
/// Gets or sets TargetCharacters.
73+
///
7974
/// </summary>
8075
public virtual string TargetCharacters { get; set; }
8176

@@ -90,8 +85,7 @@ public override string ToString()
9085
sb.Append(" Name: ").Append(this.Name).Append("\n");
9186
sb.Append(" DataSource: ").Append(this.DataSource).Append("\n");
9287
sb.Append(" FileInfo: ").Append(this.FileInfo).Append("\n");
93-
sb.Append(" Worksheet: ").Append(this.Worksheet).Append("\n");
94-
sb.Append(" Range: ").Append(this.Range).Append("\n");
88+
sb.Append(" ScopeOptions: ").Append(this.ScopeOptions).Append("\n");
9589
sb.Append(" ConvertTextType: ").Append(this.ConvertTextType).Append("\n");
9690
sb.Append(" SourceCharacters: ").Append(this.SourceCharacters).Append("\n");
9791
sb.Append(" TargetCharacters: ").Append(this.TargetCharacters).Append("\n");

Aspose.Cells.Cloud.SDK/Model/ExtractTextOptions.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ public class ExtractTextOptions : BaseOperateOptions
4545
public override string Name { get; set; }
4646

4747
/// <summary>
48-
///
48+
/// Represents data source. There are three types of data, they are CloudFileSystem, RequestFiles, HttpUri.
4949
/// </summary>
5050
public virtual DataSource DataSource { get; set; }
5151

5252
/// <summary>
53-
///
53+
/// Represents file information. Include of filename, filesize, and file content(base64String).
5454
/// </summary>
5555
public virtual FileInfo FileInfo { get; set; }
5656

@@ -65,32 +65,32 @@ public class ExtractTextOptions : BaseOperateOptions
6565
public virtual string Range { get; set; }
6666

6767
/// <summary>
68-
/// Gets or sets ExtractTextType.
68+
///
6969
/// </summary>
7070
public virtual string ExtractTextType { get; set; }
7171

7272
/// <summary>
73-
/// Gets or sets BeforeText.
73+
///
7474
/// </summary>
7575
public virtual string BeforeText { get; set; }
7676

7777
/// <summary>
78-
/// Gets or sets AfterText.
78+
///
7979
/// </summary>
8080
public virtual string AfterText { get; set; }
8181

8282
/// <summary>
83-
/// Gets or sets BeforePosition.
83+
///
8484
/// </summary>
8585
public virtual int? BeforePosition { get; set; }
8686

8787
/// <summary>
88-
/// Gets or sets AfterPosition.
88+
///
8989
/// </summary>
9090
public virtual int? AfterPosition { get; set; }
9191

9292
/// <summary>
93-
/// Gets or sets OutPositionRange.
93+
///
9494
/// </summary>
9595
public virtual string OutPositionRange { get; set; }
9696

Aspose.Cells.Cloud.SDK/Model/ExtractTextType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ namespace Aspose.Cells.Cloud.SDK.Model
3535
using Newtonsoft.Json.Converters;
3636

3737
/// <summary>
38-
/// ExtractTextType.
38+
///
3939
/// </summary>
4040
[JsonConverter(typeof(StringEnumConverter))]
4141
public enum ExtractTextType

Aspose.Cells.Cloud.SDK/Model/RemoveCharactersOptions.cs

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,24 +45,19 @@ public class RemoveCharactersOptions : BaseOperateOptions
4545
public override string Name { get; set; }
4646

4747
/// <summary>
48-
///
48+
/// Represents data source. There are three types of data, they are CloudFileSystem, RequestFiles, HttpUri.
4949
/// </summary>
5050
public virtual DataSource DataSource { get; set; }
5151

5252
/// <summary>
53-
///
53+
/// Represents file information. Include of filename, filesize, and file content(base64String).
5454
/// </summary>
5555
public virtual FileInfo FileInfo { get; set; }
5656

5757
/// <summary>
58-
///
59-
/// </summary>
60-
public virtual string Worksheet { get; set; }
61-
62-
/// <summary>
63-
///
58+
/// Specifies the range of cells within the worksheet where the spreadsheet operations will be performed. This parameter allows users to define the exact area to be processed, ensuring that operations are applied only to the designated cells.
6459
/// </summary>
65-
public virtual string Range { get; set; }
60+
public virtual ScopeOptions ScopeOptions { get; set; }
6661

6762
/// <summary>
6863
///
@@ -85,8 +80,7 @@ public override string ToString()
8580
sb.Append(" Name: ").Append(this.Name).Append("\n");
8681
sb.Append(" DataSource: ").Append(this.DataSource).Append("\n");
8782
sb.Append(" FileInfo: ").Append(this.FileInfo).Append("\n");
88-
sb.Append(" Worksheet: ").Append(this.Worksheet).Append("\n");
89-
sb.Append(" Range: ").Append(this.Range).Append("\n");
83+
sb.Append(" ScopeOptions: ").Append(this.ScopeOptions).Append("\n");
9084
sb.Append(" RemoveCharactersByCharacter: ").Append(this.RemoveCharactersByCharacter).Append("\n");
9185
sb.Append(" RemoveCharactersByPosition: ").Append(this.RemoveCharactersByPosition).Append("\n");
9286
sb.Append("}\n");

Aspose.Cells.Cloud.SDK/Model/RemoveDuplicatesOptions.cs

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -45,29 +45,19 @@ public class RemoveDuplicatesOptions : BaseOperateOptions
4545
public override string Name { get; set; }
4646

4747
/// <summary>
48-
///
48+
/// Represents data source. There are three types of data, they are CloudFileSystem, RequestFiles, HttpUri.
4949
/// </summary>
5050
public virtual DataSource DataSource { get; set; }
5151

5252
/// <summary>
53-
///
53+
/// Represents file information. Include of filename, filesize, and file content(base64String).
5454
/// </summary>
5555
public virtual FileInfo FileInfo { get; set; }
5656

5757
/// <summary>
58-
///
58+
/// Specifies the range of cells within the worksheet where the spreadsheet operations will be performed. This parameter allows users to define the exact area to be processed, ensuring that operations are applied only to the designated cells.
5959
/// </summary>
60-
public virtual string Worksheet { get; set; }
61-
62-
/// <summary>
63-
///
64-
/// </summary>
65-
public virtual string RemoveDuplicatesArea { get; set; }
66-
67-
/// <summary>
68-
///
69-
/// </summary>
70-
public virtual string RemoveDuplicatesAreaValue { get; set; }
60+
public virtual ScopeOptions ScopeOptions { get; set; }
7161

7262
/// <summary>
7363
/// Get the string presentation of the object.
@@ -80,9 +70,7 @@ public override string ToString()
8070
sb.Append(" Name: ").Append(this.Name).Append("\n");
8171
sb.Append(" DataSource: ").Append(this.DataSource).Append("\n");
8272
sb.Append(" FileInfo: ").Append(this.FileInfo).Append("\n");
83-
sb.Append(" Worksheet: ").Append(this.Worksheet).Append("\n");
84-
sb.Append(" RemoveDuplicatesArea: ").Append(this.RemoveDuplicatesArea).Append("\n");
85-
sb.Append(" RemoveDuplicatesAreaValue: ").Append(this.RemoveDuplicatesAreaValue).Append("\n");
73+
sb.Append(" ScopeOptions: ").Append(this.ScopeOptions).Append("\n");
8674
sb.Append("}\n");
8775
return sb.ToString();
8876
}

0 commit comments

Comments
 (0)