uitest: allow selecting different tabs in gridwin
Change-Id: Id8104eac183b4f7129d7f23092c52b58376ed492
This commit is contained in:
parent
e435812a1f
commit
7bffe9274e
1 changed files with 7 additions and 0 deletions
|
@ -91,6 +91,13 @@ void ScGridWinUIObject::execute(const OUString& rAction,
|
|||
pFunc->MarkRange(aRange, true, bExtend);
|
||||
mxGridWindow->CursorChanged();
|
||||
}
|
||||
else if (rParameters.find("TABLE") != rParameters.end())
|
||||
{
|
||||
auto itr = rParameters.find("TABLE");
|
||||
const OUString rStr = itr->second;
|
||||
sal_Int32 nTab = rStr.toUInt32();
|
||||
mxGridWindow->getViewData()->SetTabNo(nTab);
|
||||
}
|
||||
else
|
||||
{
|
||||
SAL_WARN("sc.uitest", "unknown selection method");
|
||||
|
|
Loading…
Reference in a new issue