Using registrymodifications.xcu for storing customized uiitem data

Desktop / LibreOffice - Sumit Chauhan [gmail.com] - 10 June 2019 17:18 EDT

This patch store and render the GtkToolButton/GtkMenuButton of notebookbar*.ui show/hide property in registrymodifications.xcu. The patch also gives a solution to copy the notebookbar*.ui file in user directory from share directory provided file is absent in user directory.The patch also uses libxml2 library and write i.e change the property of uiitem(GtkToolButton/GtkMenuButton) in notebookbar*.ui files present in user directory.

Change-Id: I518f37fc858250a04fafd2a4475e3ed03185f6ff Reviewed-on: https://gerrit.libreoffice.org/72698

c473c5b462f3 Using registrymodifications.xcu for storing customized uiitem data
cui/Library_cui.mk | 2 +
.../customize/CustomNotebookbarGenerator.cxx | 299 +++++++++++++++++++++
cui/source/inc/CustomNotebookbarGenerator.hxx | 43 +++
include/sal/log-areas.dox | 1 +
.../data/org/openoffice/Office/UI/ToolbarMode.xcu | 70 +++++
.../org/openoffice/Office/UI/ToolbarMode.xcs | 11 +
6 files changed, 426 insertions(+)

Upstream: cgit.freedesktop.org


  • Share