office-gobmx/officecfg
Maxim Monastirsky 54d5b1828e tdf#105672 framework managed menu button
This adds a menu button that can use a popup menu controller
to manage its menu. It supports 2 cases:

- Use any controller that is registered in Controller.xcu,
  by specifing its .uno command.

- Manage an arbitrary popup menu with MenuBarManager
  (assuming its items have proper .uno commands in their
  MenuItemData::aCommandStr). It means that a menu that
  was defined in a .ui file, can be used inside that .ui
  file without any additional code.

This commit uses the new control to fix some currently
non-working buttons in Calc's Notebookbar (but there are
more that can be fixed the same way). It's not clear how
long we will continue to use buttons (instead of
toolboxes) for the Notebookbar, but hopefully this control
will be useful in other places too.

Change-Id: Ie00cde7cd7e39948948960ca2eff76e9db837109
Reviewed-on: https://gerrit.libreoffice.org/34103
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2017-02-09 22:49:51 +00:00
..
qa
registry tdf#105672 framework managed menu button 2017-02-09 22:49:51 +00:00
util
Configuration_officecfg.mk
CppunitTest_officecfg_cppheader_test.mk
CustomTarget_registry.mk
files.mk
Makefile
Module_officecfg.mk
Package_misc.mk
README

The schema and default settings for the OpenOffice.org configuration database.

If you change change a file in this module, then a make postprocess is needed after make officecfg.

See also:
[[configmgr]]

AcceleratorKeyChecker.fodt in the util folder is a tool written in Basic that check menues for 
entries that use the same accellerator key. The tool goes through the menues using the accessibility
api and checkes the accellerator keys. For information on how to use the tool open the fodt file
in LibreOffice.