mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
OfficeAutomation_demo_console: Added fast matrix retrieval operations.
git-svn-id: svn://ultimatepp.org/upp/trunk@10157 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
fba65eb446
commit
5ac0151a65
1 changed files with 5 additions and 1 deletions
|
|
@ -94,7 +94,11 @@ void TestSheetDetail(OfficeSheet &sheet)
|
|||
for (int x = 0; x < 200; ++x)
|
||||
data[y].Add(x*y);
|
||||
}
|
||||
sheet.MatrixFill(1, 11, data);
|
||||
sheet.MatrixSet(1, 11, data);
|
||||
|
||||
data.Clear();
|
||||
sheet.MatrixGet(1, 11, 10, 10, data);
|
||||
Puts(Format("Retrieved data from cell 5, 16: %s", AsString(data[5][5])));
|
||||
|
||||
sheet.SetValue(2, 2, "=A7*B5");
|
||||
sheet.SetValue(3, 21, "Hello"); Puts("Cell(3, 21) = " + sheet.GetValue(3, 21).ToString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue