uitest: allow selecting different tabs in gridwin

Change-Id: Id8104eac183b4f7129d7f23092c52b58376ed492
This commit is contained in:
Markus Mohrhard 2016-05-05 12:55:29 +02:00
parent e435812a1f
commit 7bffe9274e

View file

@ -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");