Skip to content

Commit 7dd349f

Browse files
committed
Release Aspose.Cells Cloud SDK 25.4.0
1 parent ecf2747 commit 7dd349f

File tree

565 files changed

+3027
-25518
lines changed

Some content is hidden

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

565 files changed

+3027
-25518
lines changed

Aspose.Cells.Cloud.SDK.Examples/ExampleDeleteMetadata.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99
string book1Xlsx = "Book1.xlsx";
1010

1111
IDictionary<string, Stream> mapFiles =new Dictionary<string,Stream>();
12-
AddFileParameter(book1Xlsx,mapFiles);
1312
var request = new DeleteMetadataRequest(
14-
file: mapFiles,
13+
file: this.GetLocalFilePath(book1Xlsx) ,
1514
type: "all"
1615
);
1716
this.CellsApi.DeleteMetadata(request);

Aspose.Cells.Cloud.SDK.Examples/ExampleGetMetadata.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99
string book1Xlsx = "Book1.xlsx";
1010

1111
IDictionary<string, Stream> mapFiles =new Dictionary<string,Stream>();
12-
AddFileParameter(book1Xlsx,mapFiles);
1312
var request = new GetMetadataRequest(
14-
file: mapFiles,
13+
file: this.GetLocalFilePath(book1Xlsx) ,
1514
type: "all"
1615
);
1716
this.CellsApi.GetMetadata(request);

Aspose.Cells.Cloud.SDK.Examples/ExamplePostAssemble.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
AddFileParameter(assemblyTestXlsx,mapFiles);
1414
AddFileParameter(dataSourceXlsx,mapFiles);
1515
var request = new PostAssembleRequest(
16-
file: mapFiles,
16+
file: mapFiles ,
1717
datasource: "ds",
1818
outFormat: format
1919
);

Aspose.Cells.Cloud.SDK.Examples/ExamplePostClearObjects.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,10 @@
77

88
CellsApi cellsApi = new CellsApi("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
99
string book1Xlsx = "Book1.xlsx";
10-
string dataSourceXlsx = "datasource.xlsx";
1110

1211
IDictionary<string, Stream> mapFiles =new Dictionary<string,Stream>();
13-
AddFileParameter(book1Xlsx,mapFiles);
14-
AddFileParameter(dataSourceXlsx,mapFiles);
1512
var request = new PostClearObjectsRequest(
16-
file: mapFiles,
13+
file: this.GetLocalFilePath(book1Xlsx) ,
1714
objecttype: objecttype
1815
);
1916
this.CellsApi.PostClearObjects(request);

Aspose.Cells.Cloud.SDK.Examples/ExamplePostCompress.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,11 @@
66
using System.Collections.Generic;
77

88
CellsApi cellsApi = new CellsApi("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
9-
string assemblyTestXlsx = "assemblytest.xlsx";
109
string dataSourceXlsx = "datasource.xlsx";
1110

1211
IDictionary<string, Stream> mapFiles =new Dictionary<string,Stream>();
13-
AddFileParameter(assemblyTestXlsx,mapFiles);
14-
AddFileParameter(dataSourceXlsx,mapFiles);
1512
var request = new PostCompressRequest(
16-
file: mapFiles,
13+
file: this.GetLocalFilePath(dataSourceXlsx) ,
1714
compressLevel: compressLevel
1815
);
1916
this.CellsApi.PostCompress(request);

Aspose.Cells.Cloud.SDK.Examples/ExamplePostExport.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,11 @@
66
using System.Collections.Generic;
77

88
CellsApi cellsApi = new CellsApi("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
9-
string assemblyTestXlsx = "assemblytest.xlsx";
109
string book1Xlsx = "Book1.xlsx";
1110

1211
IDictionary<string, Stream> mapFiles =new Dictionary<string,Stream>();
13-
AddFileParameter(assemblyTestXlsx,mapFiles);
14-
AddFileParameter(book1Xlsx,mapFiles);
1512
var request = new PostExportRequest(
16-
file: mapFiles,
13+
file: this.GetLocalFilePath(book1Xlsx) ,
1714
objectType: objectType,
1815
format: format
1916
);

Aspose.Cells.Cloud.SDK.Examples/ExamplePostMerge.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
AddFileParameter(assemblyTestXlsx,mapFiles);
1414
AddFileParameter(dataSourceXlsx,mapFiles);
1515
var request = new PostMergeRequest(
16-
file: mapFiles,
16+
file: mapFiles ,
1717
outFormat: format,
1818
mergeToOneSheet: mergeToOneSheet
1919
);

Aspose.Cells.Cloud.SDK.Examples/ExamplePostMetadata.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
{
1919
cellsDocumentscellsDocument0
2020
};
21-
AddFileParameter(book1Xlsx,mapFiles);
21+
2222
var request = new PostMetadataRequest(
23-
file: mapFiles,
23+
file: this.GetLocalFilePath(book1Xlsx) ,
2424
cellsDocuments: cellsDocuments
2525
);
2626
this.CellsApi.PostMetadata(request);

Aspose.Cells.Cloud.SDK.Examples/ExamplePostProtect.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,16 @@
77

88
CellsApi cellsApi = new CellsApi("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
99
string assemblyTestXlsx = "assemblytest.xlsx";
10-
string dataSourceXlsx = "datasource.xlsx";
1110

1211
IDictionary<string, Stream> mapFiles =new Dictionary<string,Stream>();
1312
var protectWorkbookRequest = new ProtectWorkbookRequest()
1413
{
1514
AwaysOpenReadOnly = true,
1615
EncryptWithPassword = "123456"
1716
};
18-
AddFileParameter(assemblyTestXlsx,mapFiles);
19-
AddFileParameter(dataSourceXlsx,mapFiles);
17+
2018
var request = new PostProtectRequest(
21-
file: mapFiles,
19+
file: this.GetLocalFilePath(assemblyTestXlsx) ,
2220
protectWorkbookRequest: protectWorkbookRequest,
2321
password: "123456"
2422
);

Aspose.Cells.Cloud.SDK.Examples/ExamplePostRepair.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99
string book1Xlsx = "Book1.xlsx";
1010

1111
IDictionary<string, Stream> mapFiles =new Dictionary<string,Stream>();
12-
AddFileParameter(book1Xlsx,mapFiles);
1312
var request = new PostRepairRequest(
14-
file: mapFiles,
13+
file: this.GetLocalFilePath(book1Xlsx) ,
1514
outFormat: format
1615
);
1716
this.CellsApi.PostRepair(request);

0 commit comments

Comments
 (0)