24 OUString rsHighlightedTabsIds;
25 for (
auto const& item :
mxTabBar->maItems)
27 if (item->mxButton->get_item_active(
"toggle"))
29 if (!rsHighlightedTabsIds.isEmpty())
30 rsHighlightedTabsIds +=
",";
31 rsHighlightedTabsIds += item->msDeckId;
34 aMap[
"HighlightedTabsIds"] = rsHighlightedTabsIds;
40 if (rAction ==
"CLICK")
42 if (rParameters.find(
"POS") != rParameters.end())
43 mxTabBar->pParentSidebarController->OpenThenToggleDeck(
44 mxTabBar->GetDeckIdForIndex(rParameters.find(
"POS")->second.toInt32()));
virtual StringMap get_state() override
virtual void execute(const OUString &rAction, const StringMap &rParameters) override
HashMap_OWString_Interface aMap
std::map< OUString, OUString > StringMap