Apache OpenOffice (AOO) Bugzilla – Issue 122302
[sidebar] Color controls in text property panel have different functionality from toolbar
Last modified: 2022-10-28 12:54:21 UTC
The controls for changing font and highlight color have different functionality for text in Writer: when there is no selection then a click on the font color and highlight color buttons changes to water can mode that allows coloring text just like setting a text selection with the mouse. This water can mode is missing from the color controls in the text property panel. The reason for the different functionality is that the sidebar panel does not use the toolbox controls of the toolbar.
"af" committed SVN revision 1482384 into trunk: 122302: Use tool bar controls for color controls in text property panel.
Changed the text property panel to use the regular toolbar controls for font color and highlight. To do this in a way that allows more such changes in the future I moved some of the tool box code from InsertPropertyPanel to SidebarToolBox so that SidebarToolBox now can automatically set up its controls from a resource file. For this it needs Command = ".uno:..."; lines in the ToolBoxItem definitions. As a result the color controls in both the tool bar and the text property panel should behave identical now.
"af" committed SVN revision 1482424 into trunk: 122302: Added missing includes.