Skip to content

Commit 2c0442b

Browse files
committed
update files
1 parent 7dd349f commit 2c0442b

File tree

163 files changed

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

163 files changed

+25235
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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 localBook1 = "Book1.xlsx";
12+
string remoteBook1 = "Book1.xlsx";
13+
string localMyDoc = "myDocument.xlsx";
14+
string remoteMyDoc = "myDocument.xlsx";
15+
16+
this.UploadFile( localBook1, remoteFolder + "/" + remoteBook1, "");
17+
this.UploadFile( localMyDoc, remoteFolder + "/" + remoteMyDoc, "");
18+
19+
var batchSplitRequestMatchCondition = new MatchConditionRequest()
20+
{
21+
RegexPattern = "(^Book)(.+)(xlsx$)"
22+
};
23+
var batchSplitRequest = new BatchSplitRequest()
24+
{
25+
SourceFolder = remoteFolder,
26+
Format = "Pdf",
27+
OutFolder = "OutResult",
28+
MatchCondition = batchSplitRequestMatchCondition
29+
};
30+
var request = new PostBatchSplitRequest(
31+
batchSplitRequest: batchSplitRequest
32+
);
33+
this.CellsApi.PostBatchSplit(request);
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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 needlockXlsx = "needlock.xlsx";
10+
11+
IDictionary<string, Stream> mapFiles =new Dictionary<string,Stream>();
12+
var request = new PostLockRequest(
13+
file: this.GetLocalFilePath(needlockXlsx) ,
14+
password: "123456"
15+
);
16+
this.CellsApi.PostLock(request);
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="CheckExternalReferenceOptions.cs">
3+
// Copyright (c) 2025 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+
/// CheckExternalReferenceOptions.
39+
/// </summary>
40+
public class CheckExternalReferenceOptions
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 Worksheet.
54+
/// </summary>
55+
public virtual string Worksheet { get; set; }
56+
57+
/// <summary>
58+
/// Gets or sets Ranged_Table.
59+
/// </summary>
60+
public virtual string Ranged_Table { get; set; }
61+
62+
/// <summary>
63+
/// Gets or sets ChartIndex.
64+
/// </summary>
65+
public virtual int? ChartIndex { get; set; }
66+
67+
/// <summary>
68+
/// Get the string presentation of the object.
69+
/// </summary>
70+
/// <returns>String presentation of the object.</returns>
71+
public override string ToString()
72+
{
73+
var sb = new StringBuilder();
74+
sb.Append("class CheckExternalReferenceOptions {\n");
75+
sb.Append(" DataSource: ").Append(this.DataSource).Append("\n");
76+
sb.Append(" FileInfo: ").Append(this.FileInfo).Append("\n");
77+
sb.Append(" Worksheet: ").Append(this.Worksheet).Append("\n");
78+
sb.Append(" Ranged_Table: ").Append(this.Ranged_Table).Append("\n");
79+
sb.Append(" ChartIndex: ").Append(this.ChartIndex).Append("\n");
80+
sb.Append("}\n");
81+
return sb.ToString();
82+
}
83+
}
84+
}
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="CheckFormulaErrorOptions.cs">
3+
// Copyright (c) 2025 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+
/// CheckFormulaErrorOptions.
39+
/// </summary>
40+
public class CheckFormulaErrorOptions
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 SheetName.
54+
/// </summary>
55+
public virtual string SheetName { get; set; }
56+
57+
/// <summary>
58+
/// Gets or sets ChartIndex.
59+
/// </summary>
60+
public virtual int? ChartIndex { get; set; }
61+
62+
/// <summary>
63+
/// Gets or sets Names.
64+
/// </summary>
65+
public virtual IList<string> Names { get; set; }
66+
67+
/// <summary>
68+
/// Get the string presentation of the object.
69+
/// </summary>
70+
/// <returns>String presentation of the object.</returns>
71+
public override string ToString()
72+
{
73+
var sb = new StringBuilder();
74+
sb.Append("class CheckFormulaErrorOptions {\n");
75+
sb.Append(" DataSource: ").Append(this.DataSource).Append("\n");
76+
sb.Append(" FileInfo: ").Append(this.FileInfo).Append("\n");
77+
sb.Append(" SheetName: ").Append(this.SheetName).Append("\n");
78+
sb.Append(" ChartIndex: ").Append(this.ChartIndex).Append("\n");
79+
sb.Append(" Names: ").Append(this.Names).Append("\n");
80+
sb.Append("}\n");
81+
return sb.ToString();
82+
}
83+
}
84+
}
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="CheckedExternalReferenceResponse.cs">
3+
// Copyright (c) 2025 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+
///
39+
/// </summary>
40+
public class CheckedExternalReferenceResponse : CellsCloudResponse
41+
{
42+
/// <summary>
43+
///
44+
/// </summary>
45+
public virtual bool? ReferenceOtherWorkbook { get; set; }
46+
47+
/// <summary>
48+
///
49+
/// </summary>
50+
public virtual bool? ReferenceOtherWorksheet { get; set; }
51+
52+
/// <summary>
53+
///
54+
/// </summary>
55+
public virtual IList<string> Formulas { get; set; }
56+
57+
/// <summary>
58+
/// Gets or sets Code.
59+
/// </summary>
60+
public override int? Code { get; set; }
61+
62+
/// <summary>
63+
/// Gets or sets Status.
64+
/// </summary>
65+
public override string Status { get; set; }
66+
67+
/// <summary>
68+
/// Get the string presentation of the object.
69+
/// </summary>
70+
/// <returns>String presentation of the object.</returns>
71+
public override string ToString()
72+
{
73+
var sb = new StringBuilder();
74+
sb.Append("class CheckedExternalReferenceResponse {\n");
75+
sb.Append(" ReferenceOtherWorkbook: ").Append(this.ReferenceOtherWorkbook).Append("\n");
76+
sb.Append(" ReferenceOtherWorksheet: ").Append(this.ReferenceOtherWorksheet).Append("\n");
77+
sb.Append(" Formulas: ").Append(this.Formulas).Append("\n");
78+
sb.Append(" Code: ").Append(this.Code).Append("\n");
79+
sb.Append(" Status: ").Append(this.Status).Append("\n");
80+
sb.Append("}\n");
81+
return sb.ToString();
82+
}
83+
}
84+
}
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="CheckedFormulaErrorsResponse.cs">
3+
// Copyright (c) 2025 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+
///
39+
/// </summary>
40+
public class CheckedFormulaErrorsResponse : CellsCloudResponse
41+
{
42+
/// <summary>
43+
///
44+
/// </summary>
45+
public virtual bool? IsFormulasErrors { get; set; }
46+
47+
/// <summary>
48+
///
49+
/// </summary>
50+
public virtual IList<string> FormulasErrors { get; set; }
51+
52+
/// <summary>
53+
/// Gets or sets Code.
54+
/// </summary>
55+
public override int? Code { get; set; }
56+
57+
/// <summary>
58+
/// Gets or sets Status.
59+
/// </summary>
60+
public override string Status { get; set; }
61+
62+
/// <summary>
63+
/// Get the string presentation of the object.
64+
/// </summary>
65+
/// <returns>String presentation of the object.</returns>
66+
public override string ToString()
67+
{
68+
var sb = new StringBuilder();
69+
sb.Append("class CheckedFormulaErrorsResponse {\n");
70+
sb.Append(" IsFormulasErrors: ").Append(this.IsFormulasErrors).Append("\n");
71+
sb.Append(" FormulasErrors: ").Append(this.FormulasErrors).Append("\n");
72+
sb.Append(" Code: ").Append(this.Code).Append("\n");
73+
sb.Append(" Status: ").Append(this.Status).Append("\n");
74+
sb.Append("}\n");
75+
return sb.ToString();
76+
}
77+
}
78+
}

0 commit comments

Comments
 (0)