Skip to content

Commit 42f2bce

Browse files
committed
Release Aspose.Cells Cloud SDK 22.11
1 parent 91d8853 commit 42f2bce

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

Aspose.Cells.Cloud.SDK.Test/Custom/CellsCustomTests.cs

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,37 @@ public void CellsCELLSCLOUD10927Test()
5454
fileStream.Close();
5555
}
5656
}
57+
[Test]
58+
public void CELLSCLOUD17020Test()
59+
{
60+
// TODO uncomment below to test the method and replace null with proper value
61+
instance.CellsWorkbookPutWorkbookCreate("CELLSCLOUD17020Test.xlsx", null, null, null, "Custom");
62+
instance.CellsPostWorksheetCellSetValue("CELLSCLOUD17020Test.xlsx", "Sheet1", "A1", "10", "int", null, "Custom");
63+
instance.CellsPostWorksheetCellSetValue("CELLSCLOUD17020Test.xlsx", "Sheet1", "B1", "10", "int", null, "Custom");
64+
instance.CellsPostWorksheetCellSetValue("CELLSCLOUD17020Test.xlsx", "Sheet1", "C1", "10", "int", null, "Custom");
65+
instance.CellsPostWorksheetCellSetValue("CELLSCLOUD17020Test.xlsx", "Sheet1", "D1", "10", "int", null, "Custom");
66+
instance.CellsPostWorksheetCellSetValue("CELLSCLOUD17020Test.xlsx", "Sheet1", "A2", null, null, "=Sum(A1,B1,C1,D1)", "Custom");
67+
instance.CellsWorksheetsPostRenameWorksheet("CELLSCLOUD17020Test.xlsx", "Sheet1", "Start", "Custom");
68+
instance.CellsWorksheetsPutAddNewWorksheet("CELLSCLOUD17020Test.xlsx", "Other data", null, null, "Custom");
69+
Comment comment = new Comment();
70+
comment.Note = "TEST";
71+
instance.CellsWorksheetsPutWorksheetComment("CELLSCLOUD17020Test.xlsx", "Start", "A1", comment, "Custom");
72+
comment.Link = new Link();
73+
comment.Link.Href = "CELLSCLOUD17020Test.xlsx/worksheets/Start/comments/A2/";
74+
comment.Link.Rel = "self";
75+
comment.AutoSize = true;
76+
comment.Author = "Wo_0NDeR";
77+
comment.IsVisible = true;
78+
comment.TextOrientationType = "NoRotation";
79+
comment.TextHorizontalAlignment = "Left";
80+
comment.Height = 10;
81+
comment.Width = 10;
82+
comment.TextVerticalAlignment = "Top";
83+
comment.HtmlNote = "This is a note from Wo_0NDeR";
84+
comment.Note = "This is a note from Wo_0NDeR";
85+
comment.CellName = "A2";
86+
instance.CellsWorksheetsPostWorksheetComment("CELLSCLOUD17020Test.xlsx", "Start", "A1", comment, "Custom");
87+
}
5788
}
5889

5990
}

0 commit comments

Comments
 (0)