officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu | 13 ++++++++++ 1 file changed, 13 insertions(+)
New commits: commit e04bf67bba3a6410f49fd311fe499456c2f9dc7d Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Wed Dec 9 14:04:07 2020 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Wed Dec 9 15:16:43 2020 +0100 Add some documentation for magic numbers Change-Id: Ic26a18b703408634dc6fb7582159090e0ce5d229 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107469 Tested-by: Tor Lillqvist <t...@collabora.com> Reviewed-by: Tor Lillqvist <t...@collabora.com> diff --git a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu index 14573121ab1e..64952eb92710 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu @@ -17,6 +17,19 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> <!DOCTYPE oor:component-data SYSTEM "../../../../../component-update.dtd"> + +<!-- The meaning of the bits of the magic numbers in the "Properties" things can be found: + +In framework/source/uielement/uicommanddescription.cxx: +bit 0 (0x1): const sal_Int32 COMMAND_PROPERTY_IMAGE = 1; +bit 1 (0x2): const sal_Int32 COMMAND_PROPERTY_ROTATE = 2; +bit 2 (0x4): const sal_Int32 COMMAND_PROPERTY_MIRROR = 4; + +In framework/inc/properties.h +bit 3 (0x8): #define UICOMMANDDESCRIPTION_PROPERTIES_TOGGLEBUTTON 8 + +--> + <oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:install="http://openoffice.org/2004/installation" oor:name="GenericCommands" oor:package="org.openoffice.Office.UI"> <node oor:name="UserInterface"> <node oor:name="Commands"> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits