|
LibreOffice Module sc (master) 1
|
#include <checklistmenu.hxx>#include <o3tl/safeint.hxx>#include <o3tl/string_view.hxx>#include <globstr.hrc>#include <scresid.hxx>#include <vcl/commandevent.hxx>#include <vcl/decoview.hxx>#include <vcl/event.hxx>#include <vcl/settings.hxx>#include <vcl/svapp.hxx>#include <vcl/virdev.hxx>#include <rtl/math.hxx>#include <unotools/charclass.hxx>#include <comphelper/lok.hxx>#include <LibreOfficeKit/LibreOfficeKitEnums.h>#include <tools/json_writer.hxx>#include <svl/numformat.hxx>#include <document.hxx>#include <viewdata.hxx>Go to the source code of this file.
Variables | |
| constexpr int | nBorderWidth = 4 |
| constexpr int | nCheckListVisibleRows = 9 |
| constexpr int | nColorListVisibleRows = 9 |
| IMPL_LINK | ( | ScCheckListMenuControl | , |
| ButtonHdl | , | ||
| weld::Button & | , | ||
| rBtn | , | ||
| void | |||
| ) |
Definition at line 728 of file checklistmenu.cxx.
| IMPL_LINK | ( | ScCheckListMenuControl | , |
| CheckHdl | , | ||
| const weld::TreeView::iter_col & | , | ||
| rRowCol | , | ||
| void | |||
| ) |
Definition at line 937 of file checklistmenu.cxx.
References Check.
| IMPL_LINK | ( | ScCheckListMenuControl | , |
| CommandHdl | , | ||
| const CommandEvent & | , | ||
| rCEvt | , | ||
| bool | |||
| ) |
Definition at line 699 of file checklistmenu.cxx.
| IMPL_LINK | ( | ScCheckListMenuControl | , |
| KeyInputHdl | , | ||
| const KeyEvent & | , | ||
| rKEvt | , | ||
| bool | |||
| ) |
Definition at line 1338 of file checklistmenu.cxx.
References Check, vcl::KeyCode::GetCode(), KEY_RETURN, KEY_SPACE, and TRISTATE_TRUE.
| IMPL_LINK | ( | ScCheckListMenuControl | , |
| MenuKeyInputHdl | , | ||
| const KeyEvent & | , | ||
| rKEvt | , | ||
| bool | |||
| ) |
Definition at line 78 of file checklistmenu.cxx.
References ScCheckListMenuControl::executeMenuItem(), vcl::KeyCode::GetCode(), KEY_RIGHT, ScCheckListMenuControl::maMenuItems, ScCheckListMenuControl::MENU_NOT_SELECTED, and ScCheckListMenuControl::mnSelectedMenu.
| IMPL_LINK | ( | ScCheckListMenuControl | , |
| MouseEnterHdl | , | ||
| const MouseEvent & | , | ||
| rMEvt | , | ||
| bool | |||
| ) |
Definition at line 351 of file checklistmenu.cxx.
References ScCheckListMenuControl::MENU_NOT_SELECTED, and ScCheckListMenuControl::selectMenuItem().
| IMPL_LINK | ( | ScCheckListMenuControl | , |
| TreeSizeAllocHdl | , | ||
| const Size & | , | ||
| rSize | , | ||
| void | |||
| ) |
Definition at line 141 of file checklistmenu.cxx.
References Application::GetToolkitName(), LINK, ScCheckListMenuControl::maAllocatedSize, ScCheckListMenuControl::mnAsyncSetDropdownPosId, Application::PostUserEvent(), and ScCheckListMenuControl::SetDropdownPos().
| IMPL_LINK | ( | ScListSubMenuControl | , |
| ColorSelChangedHdl | , | ||
| weld::TreeView & | , | ||
| rMenu | , | ||
| void | |||
| ) |
Definition at line 1793 of file checklistmenu.cxx.
| IMPL_LINK | ( | ScListSubMenuControl | , |
| MenuKeyInputHdl | , | ||
| const KeyEvent & | , | ||
| rKEvt | , | ||
| bool | |||
| ) |
Definition at line 1736 of file checklistmenu.cxx.
References vcl::KeyCode::GetCode(), KEY_DOWN, KEY_ESCAPE, KEY_LEFT, KEY_RETURN, KEY_SPACE, KEY_UP, and nIndex.
| IMPL_LINK | ( | ScListSubMenuControl | , |
| RowActivatedHdl | , | ||
| weld::TreeView & | , | ||
| rMenu | , | ||
| bool | |||
| ) |
Definition at line 1804 of file checklistmenu.cxx.
| IMPL_LINK_NOARG | ( | ScCheckListMenuControl | , |
| ComboChangedHdl | , | ||
| weld::ComboBox & | , | ||
| void | |||
| ) |
Definition at line 783 of file checklistmenu.cxx.
| IMPL_LINK_NOARG | ( | ScCheckListMenuControl | , |
| EdActivateHdl | , | ||
| weld::Entry & | , | ||
| bool | |||
| ) |
Definition at line 930 of file checklistmenu.cxx.
References close.
| IMPL_LINK_NOARG | ( | ScCheckListMenuControl | , |
| EdModifyHdl | , | ||
| weld::Entry & | , | ||
| void | |||
| ) |
Definition at line 925 of file checklistmenu.cxx.
| IMPL_LINK_NOARG | ( | ScCheckListMenuControl | , |
| PopupModeEndHdl | , | ||
| weld::Popover & | , | ||
| void | |||
| ) |
Definition at line 1560 of file checklistmenu.cxx.
| IMPL_LINK_NOARG | ( | ScCheckListMenuControl | , |
| PostPopdownHdl | , | ||
| void * | , | ||
| void | |||
| ) |
Definition at line 345 of file checklistmenu.cxx.
References ScCheckListMenuControl::mnAsyncPostPopdownId, and ScCheckListMenuControl::mxMenu.
| IMPL_LINK_NOARG | ( | ScCheckListMenuControl | , |
| RowActivatedHdl | , | ||
| weld::TreeView & | , | ||
| bool | |||
| ) |
Definition at line 72 of file checklistmenu.cxx.
References ScCheckListMenuControl::executeMenuItem(), and ScCheckListMenuControl::mxMenu.
| IMPL_LINK_NOARG | ( | ScCheckListMenuControl | , |
| SearchEditTimeoutHdl | , | ||
| Timer * | , | ||
| void | |||
| ) |
Definition at line 789 of file checklistmenu.cxx.
References ScCheckListMember::DAY, ScGlobal::getCharClass(), i, CharClass::lowercase(), mbVisible, ScResId(), TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.
| IMPL_LINK_NOARG | ( | ScCheckListMenuControl | , |
| SelectHdl | , | ||
| weld::TreeView & | , | ||
| void | |||
| ) |
Definition at line 100 of file checklistmenu.cxx.
References ScCheckListMenuControl::maMenuItems, ScCheckListMenuControl::MENU_NOT_SELECTED, ScCheckListMenuControl::mnSelectedMenu, ScCheckListMenuControl::mxMenu, ScCheckListMenuControl::mxScratchIter, and ScCheckListMenuControl::setSelectedMenuItem().
| IMPL_LINK_NOARG | ( | ScCheckListMenuControl | , |
| SetDropdownPosHdl | , | ||
| void * | , | ||
| void | |||
| ) |
Definition at line 163 of file checklistmenu.cxx.
References ScCheckListMenuControl::mnAsyncSetDropdownPosId, ScCheckListMenuControl::mxMenu, and ScCheckListMenuControl::SetDropdownPos().
| IMPL_LINK_NOARG | ( | ScCheckListMenuControl | , |
| TriStateHdl | , | ||
| weld::Toggleable & | , | ||
| void | |||
| ) |
Definition at line 748 of file checklistmenu.cxx.
References TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.
| IMPL_LINK_NOARG | ( | ScCheckListMenuControl::SubMenuItemData | , |
| TimeoutHdl | , | ||
| Timer * | , | ||
| void | |||
| ) |
Definition at line 67 of file checklistmenu.cxx.
References mpParent.
|
constexpr |
Definition at line 493 of file checklistmenu.cxx.
Referenced by ScCheckListMenuControl::IncreaseWindowWidthToFitText(), ScCheckListMenuControl::prepWindow(), and ScCheckListMenuControl::ScCheckListMenuControl().
|
constexpr |
Definition at line 495 of file checklistmenu.cxx.
Referenced by ScCheckListMenuControl::IncreaseWindowWidthToFitText().
|
constexpr |
Definition at line 497 of file checklistmenu.cxx.
Referenced by ScListSubMenuControl::addMenuColorItem().