Skip to content

Commit 529436e

Browse files
committed
Release Aspose.Cells Cloud SDK 24.1.1
1 parent 697548e commit 529436e

File tree

413 files changed

+13334
-0
lines changed

Some content is hidden

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

413 files changed

+13334
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project Sdk="Microsoft.NET.Sdk">
3+
<PropertyGroup>
4+
<TargetFrameworks>Net6</TargetFrameworks>
5+
<IsTestProject>true</IsTestProject>
6+
</PropertyGroup>
7+
<ItemGroup>
8+
<Compile Remove="TestResults\**" />
9+
<EmbeddedResource Remove="TestResults\**" />
10+
<None Remove="TestResults\**" />
11+
</ItemGroup>
12+
<ItemGroup>
13+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
14+
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
15+
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
16+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
17+
</ItemGroup>
18+
<ItemGroup>
19+
<ProjectReference Include="..\Aspose.Cells.Cloud.SDK\Aspose.Cells.Cloud.SDK.csproj" />
20+
</ItemGroup>
21+
</Project>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
using Aspose.Cells.Cloud.SDK.Api;
2+
using Aspose.Cells.Cloud.SDK.Model;
3+
using Aspose.Cells.Cloud.SDK.Request;
4+
using System;
5+
using System.IO;
6+
using System.Collections.Generic;
7+
8+
CellsApi cellsApi = new CellsApi("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
9+
string remoteFolder = "TestData/In";
10+
11+
string localName = "Book1.xlsx";
12+
string remoteName = "Book1.xlsx";
13+
14+
this.UploadFile( localName, remoteFolder + "/" + remoteName, "");
15+
16+
var request = new CopyFileRequest(
17+
srcPath: remoteFolder + "/" + remoteName,
18+
destPath: "OutResult/" + remoteName,
19+
srcStorageName: "",
20+
destStorageName: "",
21+
versionId: ""
22+
);
23+
this.CellsApi.CopyFile(request);
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
using Aspose.Cells.Cloud.SDK.Api;
2+
using Aspose.Cells.Cloud.SDK.Model;
3+
using Aspose.Cells.Cloud.SDK.Request;
4+
using System;
5+
using System.IO;
6+
using System.Collections.Generic;
7+
8+
CellsApi cellsApi = new CellsApi("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
9+
string remoteFolder = "TestData/In";
10+
11+
string localName = "Book1.xlsx";
12+
string remoteName = "Book1.xlsx";
13+
14+
this.UploadFile( localName, remoteFolder + "/" + remoteName, "");
15+
16+
var request = new CopyFolderRequest(
17+
srcPath: remoteFolder,
18+
destPath: "OutResult/Create",
19+
srcStorageName: "",
20+
destStorageName: ""
21+
);
22+
this.CellsApi.CopyFolder(request);
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
using Aspose.Cells.Cloud.SDK.Api;
2+
using Aspose.Cells.Cloud.SDK.Model;
3+
using Aspose.Cells.Cloud.SDK.Request;
4+
using System;
5+
using System.IO;
6+
using System.Collections.Generic;
7+
8+
CellsApi cellsApi = new CellsApi("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
9+
string remoteFolder = "TestData/In";
10+
11+
string localName = "Book1.xlsx";
12+
string remoteName = "Book1.xlsx";
13+
14+
this.UploadFile( localName, remoteFolder + "/" + remoteName, "");
15+
16+
var request = new CreateFolderRequest(
17+
path: "OutResult/NewFolder",
18+
storageName: ""
19+
);
20+
this.CellsApi.CreateFolder(request);
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
using Aspose.Cells.Cloud.SDK.Api;
2+
using Aspose.Cells.Cloud.SDK.Model;
3+
using Aspose.Cells.Cloud.SDK.Request;
4+
using System;
5+
using System.IO;
6+
using System.Collections.Generic;
7+
8+
CellsApi cellsApi = new CellsApi("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
9+
string remoteFolder = "TestData/In";
10+
11+
string localName = "Book1.xlsx";
12+
string remoteName = "Book1.xlsx";
13+
14+
this.UploadFile( localName, remoteFolder + "/" + remoteName, "");
15+
16+
var encryption = new WorkbookEncryptionRequest()
17+
{
18+
Password = "123456",
19+
EncryptionType = "XOR",
20+
KeyLength = 128
21+
};
22+
var request = new DeleteDecryptWorkbookRequest(
23+
name: remoteName,
24+
encryption: encryption,
25+
folder: remoteFolder,
26+
storageName: ""
27+
);
28+
this.CellsApi.DeleteDecryptWorkbook(request);
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
using Aspose.Cells.Cloud.SDK.Api;
2+
using Aspose.Cells.Cloud.SDK.Model;
3+
using Aspose.Cells.Cloud.SDK.Request;
4+
using System;
5+
using System.IO;
6+
using System.Collections.Generic;
7+
8+
CellsApi cellsApi = new CellsApi("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
9+
string remoteFolder = "TestData/In";
10+
11+
string localName = "Book1.xlsx";
12+
string remoteName = "Book1.xlsx";
13+
14+
this.UploadFile( localName, remoteFolder + "/" + remoteName, "");
15+
16+
var request = new DeleteDocumentPropertiesRequest(
17+
name: remoteName,
18+
folder: remoteFolder,
19+
storageName: ""
20+
);
21+
this.CellsApi.DeleteDocumentProperties(request);
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
using Aspose.Cells.Cloud.SDK.Api;
2+
using Aspose.Cells.Cloud.SDK.Model;
3+
using Aspose.Cells.Cloud.SDK.Request;
4+
using System;
5+
using System.IO;
6+
using System.Collections.Generic;
7+
8+
CellsApi cellsApi = new CellsApi("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
9+
string remoteFolder = "TestData/In";
10+
11+
string localName = "Book1.xlsx";
12+
string remoteName = "Book1.xlsx";
13+
14+
this.UploadFile( localName, remoteFolder + "/" + remoteName, "");
15+
16+
var request = new DeleteDocumentPropertyRequest(
17+
name: remoteName,
18+
propertyName: "Author",
19+
type: "All",
20+
folder: remoteFolder,
21+
storageName: ""
22+
);
23+
this.CellsApi.DeleteDocumentProperty(request);
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
using Aspose.Cells.Cloud.SDK.Api;
2+
using Aspose.Cells.Cloud.SDK.Model;
3+
using Aspose.Cells.Cloud.SDK.Request;
4+
using System;
5+
using System.IO;
6+
using System.Collections.Generic;
7+
8+
CellsApi cellsApi = new CellsApi("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
9+
string remoteFolder = "TestData/In";
10+
11+
string localName = "Book1.xlsx";
12+
string remoteName = "Book1.xlsx";
13+
14+
this.UploadFile( localName, remoteFolder + "/" + remoteName, "");
15+
16+
var request = new DeleteDocumentUnProtectFromChangesRequest(
17+
name: remoteName,
18+
folder: remoteFolder,
19+
storageName: ""
20+
);
21+
this.CellsApi.DeleteDocumentUnProtectFromChanges(request);
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
using Aspose.Cells.Cloud.SDK.Api;
2+
using Aspose.Cells.Cloud.SDK.Model;
3+
using Aspose.Cells.Cloud.SDK.Request;
4+
using System;
5+
using System.IO;
6+
using System.Collections.Generic;
7+
8+
CellsApi cellsApi = new CellsApi("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
9+
string remoteFolder = "TestData/In";
10+
11+
string localName = "Book1.xlsx";
12+
string remoteName = "Book1.xlsx";
13+
14+
this.UploadFile( localName, remoteFolder + "/" + remoteName, "");
15+
16+
var request = new DeleteFileRequest(
17+
path: remoteFolder + "/" + remoteName,
18+
storageName: "",
19+
versionId: ""
20+
);
21+
this.CellsApi.DeleteFile(request);
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
using Aspose.Cells.Cloud.SDK.Api;
2+
using Aspose.Cells.Cloud.SDK.Model;
3+
using Aspose.Cells.Cloud.SDK.Request;
4+
using System;
5+
using System.IO;
6+
using System.Collections.Generic;
7+
8+
CellsApi cellsApi = new CellsApi("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
9+
string remoteFolder = "TestData/In";
10+
11+
string localName = "Book1.xlsx";
12+
string remoteName = "Book1.xlsx";
13+
14+
this.UploadFile( localName, remoteFolder + "/" + remoteName, "");
15+
16+
var request = new DeleteFolderRequest(
17+
path: "OutResult/Create",
18+
storageName: "",
19+
recursive: true
20+
);
21+
this.CellsApi.DeleteFolder(request);

0 commit comments

Comments
 (0)