tdf#112411 Remove all that remains of the More controls toolbars
Change-Id: I82a348c7be067e777dced15dd014b8139cc9b1dc Reviewed-on: https://gerrit.libreoffice.org/69224 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
This commit is contained in:
parent
c196d70337
commit
00f96e88a7
@ -94,7 +94,6 @@ enum class SfxShellFeature
|
|||||||
FormShowFilterNavigator = 0x0100,
|
FormShowFilterNavigator = 0x0100,
|
||||||
FormShowTextControlBar = 0x0200,
|
FormShowTextControlBar = 0x0200,
|
||||||
FormTBControls = 0x0400,
|
FormTBControls = 0x0400,
|
||||||
FormTBMoreControls = 0x0800,
|
|
||||||
FormTBDesign = 0x1000,
|
FormTBDesign = 0x1000,
|
||||||
FormShowDataNavigator = 0x2000,
|
FormShowDataNavigator = 0x2000,
|
||||||
// masks to make sure modules don't use flags from another
|
// masks to make sure modules don't use flags from another
|
||||||
|
@ -26,7 +26,6 @@ enum class ToolbarId : sal_uInt32
|
|||||||
SvxTbx_Form_Filter = 18002,
|
SvxTbx_Form_Filter = 18002,
|
||||||
SvxTbx_Text_Control_Attributes = 18003,
|
SvxTbx_Text_Control_Attributes = 18003,
|
||||||
SvxTbx_Controls = 18004,
|
SvxTbx_Controls = 18004,
|
||||||
SvxTbx_MoreControls = 18005,
|
|
||||||
SvxTbx_FormDesign = 18006,
|
SvxTbx_FormDesign = 18006,
|
||||||
Math_Toolbox = 20050,
|
Math_Toolbox = 20050,
|
||||||
Webtools_Toolbox = 20402,
|
Webtools_Toolbox = 20402,
|
||||||
|
@ -829,7 +829,6 @@ class SfxStringItem;
|
|||||||
#define SID_SHRINK_FONT_SIZE ( SID_SVX_START + 1043 )
|
#define SID_SHRINK_FONT_SIZE ( SID_SVX_START + 1043 )
|
||||||
// color subtoolbar on graphictoolbar
|
// color subtoolbar on graphictoolbar
|
||||||
#define SID_COLOR_SETTINGS ( SID_SVX_START + 1044 )
|
#define SID_COLOR_SETTINGS ( SID_SVX_START + 1044 )
|
||||||
#define SID_FM_MORE_CONTROLS ( SID_SVX_START + 1045 )
|
|
||||||
#define SID_FM_FORM_DESIGN_TOOLS ( SID_SVX_START + 1046 )
|
#define SID_FM_FORM_DESIGN_TOOLS ( SID_SVX_START + 1046 )
|
||||||
#define SID_DRAWTBX_CS_BASIC ( SID_SVX_START + 1047 )
|
#define SID_DRAWTBX_CS_BASIC ( SID_SVX_START + 1047 )
|
||||||
#define SID_DRAWTBX_CS_SYMBOL ( SID_SVX_START + 1048 )
|
#define SID_DRAWTBX_CS_SYMBOL ( SID_SVX_START + 1048 )
|
||||||
|
@ -326,20 +326,6 @@
|
|||||||
<value>false</value>
|
<value>false</value>
|
||||||
</prop>
|
</prop>
|
||||||
</node>
|
</node>
|
||||||
<node oor:name="private:resource/toolbar/moreformcontrols" oor:op="replace">
|
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
|
||||||
<value xml:lang="en-US">More Controls</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Docked" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Visible" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="HideFromToolbarMenu" oor:type="xs:boolean">
|
|
||||||
<value>true</value>
|
|
||||||
</prop>
|
|
||||||
</node>
|
|
||||||
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
<prop oor:name="UIName" oor:type="xs:string">
|
||||||
<value xml:lang="en-US">Form Design</value>
|
<value xml:lang="en-US">Form Design</value>
|
||||||
|
@ -519,20 +519,6 @@
|
|||||||
<value>false</value>
|
<value>false</value>
|
||||||
</prop>
|
</prop>
|
||||||
</node>
|
</node>
|
||||||
<node oor:name="private:resource/toolbar/moreformcontrols" oor:op="replace">
|
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
|
||||||
<value xml:lang="en-US">More Controls</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Docked" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Visible" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="HideFromToolbarMenu" oor:type="xs:boolean">
|
|
||||||
<value>true</value>
|
|
||||||
</prop>
|
|
||||||
</node>
|
|
||||||
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
<prop oor:name="UIName" oor:type="xs:string">
|
||||||
<value xml:lang="en-US">Form Design</value>
|
<value xml:lang="en-US">Form Design</value>
|
||||||
|
@ -5324,14 +5324,6 @@
|
|||||||
<value>1</value>
|
<value>1</value>
|
||||||
</prop>
|
</prop>
|
||||||
</node>
|
</node>
|
||||||
<node oor:name=".uno:MoreControls" oor:op="replace">
|
|
||||||
<prop oor:name="Label" oor:type="xs:string">
|
|
||||||
<value xml:lang="en-US">More Controls</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Properties" oor:type="xs:int">
|
|
||||||
<value>9</value>
|
|
||||||
</prop>
|
|
||||||
</node>
|
|
||||||
<node oor:name=".uno:FormDesignTools" oor:op="replace">
|
<node oor:name=".uno:FormDesignTools" oor:op="replace">
|
||||||
<prop oor:name="Label" oor:type="xs:string">
|
<prop oor:name="Label" oor:type="xs:string">
|
||||||
<value xml:lang="en-US">Form Design</value>
|
<value xml:lang="en-US">Form Design</value>
|
||||||
|
@ -402,20 +402,6 @@
|
|||||||
<value>false</value>
|
<value>false</value>
|
||||||
</prop>
|
</prop>
|
||||||
</node>
|
</node>
|
||||||
<node oor:name="private:resource/toolbar/moreformcontrols" oor:op="replace">
|
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
|
||||||
<value xml:lang="en-US">More Controls</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Docked" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Visible" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="HideFromToolbarMenu" oor:type="xs:boolean">
|
|
||||||
<value>true</value>
|
|
||||||
</prop>
|
|
||||||
</node>
|
|
||||||
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
<prop oor:name="UIName" oor:type="xs:string">
|
||||||
<value xml:lang="en-US">Form Design</value>
|
<value xml:lang="en-US">Form Design</value>
|
||||||
|
@ -366,20 +366,6 @@
|
|||||||
<value>true</value>
|
<value>true</value>
|
||||||
</prop>
|
</prop>
|
||||||
</node>
|
</node>
|
||||||
<node oor:name="private:resource/toolbar/moreformcontrols" oor:op="replace">
|
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
|
||||||
<value xml:lang="en-US">More Controls</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Docked" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Visible" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="HideFromToolbarMenu" oor:type="xs:boolean">
|
|
||||||
<value>true</value>
|
|
||||||
</prop>
|
|
||||||
</node>
|
|
||||||
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
<prop oor:name="UIName" oor:type="xs:string">
|
||||||
<value xml:lang="en-US">Form Design</value>
|
<value xml:lang="en-US">Form Design</value>
|
||||||
|
@ -360,20 +360,6 @@
|
|||||||
<value>false</value>
|
<value>false</value>
|
||||||
</prop>
|
</prop>
|
||||||
</node>
|
</node>
|
||||||
<node oor:name="private:resource/toolbar/moreformcontrols" oor:op="replace">
|
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
|
||||||
<value xml:lang="en-US">More Controls</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Docked" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Visible" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="HideFromToolbarMenu" oor:type="xs:boolean">
|
|
||||||
<value>true</value>
|
|
||||||
</prop>
|
|
||||||
</node>
|
|
||||||
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
<prop oor:name="UIName" oor:type="xs:string">
|
||||||
<value xml:lang="en-US">Form Design</value>
|
<value xml:lang="en-US">Form Design</value>
|
||||||
|
@ -363,20 +363,6 @@
|
|||||||
<value>true</value>
|
<value>true</value>
|
||||||
</prop>
|
</prop>
|
||||||
</node>
|
</node>
|
||||||
<node oor:name="private:resource/toolbar/moreformcontrols" oor:op="replace">
|
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
|
||||||
<value xml:lang="en-US">More Controls</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Docked" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Visible" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="HideFromToolbarMenu" oor:type="xs:boolean">
|
|
||||||
<value>true</value>
|
|
||||||
</prop>
|
|
||||||
</node>
|
|
||||||
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
<prop oor:name="UIName" oor:type="xs:string">
|
||||||
<value xml:lang="en-US">Form Design</value>
|
<value xml:lang="en-US">Form Design</value>
|
||||||
|
@ -407,20 +407,6 @@
|
|||||||
<value>false</value>
|
<value>false</value>
|
||||||
</prop>
|
</prop>
|
||||||
</node>
|
</node>
|
||||||
<node oor:name="private:resource/toolbar/moreformcontrols" oor:op="replace">
|
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
|
||||||
<value xml:lang="en-US">More Controls</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Docked" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Visible" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="HideFromToolbarMenu" oor:type="xs:boolean">
|
|
||||||
<value>true</value>
|
|
||||||
</prop>
|
|
||||||
</node>
|
|
||||||
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
<prop oor:name="UIName" oor:type="xs:string">
|
||||||
<value xml:lang="en-US">Form Design</value>
|
<value xml:lang="en-US">Form Design</value>
|
||||||
|
@ -438,20 +438,6 @@
|
|||||||
<value>false</value>
|
<value>false</value>
|
||||||
</prop>
|
</prop>
|
||||||
</node>
|
</node>
|
||||||
<node oor:name="private:resource/toolbar/moreformcontrols" oor:op="replace">
|
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
|
||||||
<value xml:lang="en-US">More Controls</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Docked" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Visible" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="HideFromToolbarMenu" oor:type="xs:boolean">
|
|
||||||
<value>true</value>
|
|
||||||
</prop>
|
|
||||||
</node>
|
|
||||||
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
<prop oor:name="UIName" oor:type="xs:string">
|
||||||
<value xml:lang="en-US">Form Design</value>
|
<value xml:lang="en-US">Form Design</value>
|
||||||
|
@ -357,20 +357,6 @@
|
|||||||
<value>true</value>
|
<value>true</value>
|
||||||
</prop>
|
</prop>
|
||||||
</node>
|
</node>
|
||||||
<node oor:name="private:resource/toolbar/moreformcontrols" oor:op="replace">
|
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
|
||||||
<value xml:lang="en-US">More Controls</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Docked" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="Visible" oor:type="xs:boolean">
|
|
||||||
<value>false</value>
|
|
||||||
</prop>
|
|
||||||
<prop oor:name="HideFromToolbarMenu" oor:type="xs:boolean">
|
|
||||||
<value>true</value>
|
|
||||||
</prop>
|
|
||||||
</node>
|
|
||||||
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
<node oor:name="private:resource/toolbar/formdesign" oor:op="replace">
|
||||||
<prop oor:name="UIName" oor:type="xs:string">
|
<prop oor:name="UIName" oor:type="xs:string">
|
||||||
<value xml:lang="en-US">Form Design</value>
|
<value xml:lang="en-US">Form Design</value>
|
||||||
|
@ -111,7 +111,6 @@ modules/scalc/toolbar/graphicobjectbar.xml
|
|||||||
modules/scalc/toolbar/insertbar.xml
|
modules/scalc/toolbar/insertbar.xml
|
||||||
modules/scalc/toolbar/insertcellsbar.xml
|
modules/scalc/toolbar/insertcellsbar.xml
|
||||||
modules/scalc/toolbar/mediaobjectbar.xml
|
modules/scalc/toolbar/mediaobjectbar.xml
|
||||||
modules/scalc/toolbar/moreformcontrols.xml
|
|
||||||
modules/scalc/toolbar/previewbar.xml
|
modules/scalc/toolbar/previewbar.xml
|
||||||
modules/scalc/toolbar/standardbar.xml
|
modules/scalc/toolbar/standardbar.xml
|
||||||
modules/scalc/toolbar/starshapes.xml
|
modules/scalc/toolbar/starshapes.xml
|
||||||
@ -148,7 +147,6 @@ modules/sdraw/toolbar/insertbar.xml
|
|||||||
modules/sdraw/toolbar/linesbar.xml
|
modules/sdraw/toolbar/linesbar.xml
|
||||||
modules/sdraw/toolbar/masterviewtoolbar.xml
|
modules/sdraw/toolbar/masterviewtoolbar.xml
|
||||||
modules/sdraw/toolbar/mediaobjectbar.xml
|
modules/sdraw/toolbar/mediaobjectbar.xml
|
||||||
modules/sdraw/toolbar/moreformcontrols.xml
|
|
||||||
modules/sdraw/toolbar/optionsbar.xml
|
modules/sdraw/toolbar/optionsbar.xml
|
||||||
modules/sdraw/toolbar/positionbar.xml
|
modules/sdraw/toolbar/positionbar.xml
|
||||||
modules/sdraw/toolbar/standardbar.xml
|
modules/sdraw/toolbar/standardbar.xml
|
||||||
@ -189,7 +187,6 @@ modules/simpress/toolbar/insertbar.xml
|
|||||||
modules/simpress/toolbar/linesbar.xml
|
modules/simpress/toolbar/linesbar.xml
|
||||||
modules/simpress/toolbar/masterviewtoolbar.xml
|
modules/simpress/toolbar/masterviewtoolbar.xml
|
||||||
modules/simpress/toolbar/mediaobjectbar.xml
|
modules/simpress/toolbar/mediaobjectbar.xml
|
||||||
modules/simpress/toolbar/moreformcontrols.xml
|
|
||||||
modules/simpress/toolbar/optionsbar.xml
|
modules/simpress/toolbar/optionsbar.xml
|
||||||
modules/simpress/toolbar/outlinetoolbar.xml
|
modules/simpress/toolbar/outlinetoolbar.xml
|
||||||
modules/simpress/toolbar/positionbar.xml
|
modules/simpress/toolbar/positionbar.xml
|
||||||
@ -230,7 +227,6 @@ modules/sglobal/toolbar/graffilterbar.xml
|
|||||||
modules/sglobal/toolbar/graphicobjectbar.xml
|
modules/sglobal/toolbar/graphicobjectbar.xml
|
||||||
modules/sglobal/toolbar/insertbar.xml
|
modules/sglobal/toolbar/insertbar.xml
|
||||||
modules/sglobal/toolbar/mediaobjectbar.xml
|
modules/sglobal/toolbar/mediaobjectbar.xml
|
||||||
modules/sglobal/toolbar/moreformcontrols.xml
|
|
||||||
modules/sglobal/toolbar/numobjectbar.xml
|
modules/sglobal/toolbar/numobjectbar.xml
|
||||||
modules/sglobal/toolbar/oleobjectbar.xml
|
modules/sglobal/toolbar/oleobjectbar.xml
|
||||||
modules/sglobal/toolbar/optimizetablebar.xml
|
modules/sglobal/toolbar/optimizetablebar.xml
|
||||||
@ -299,7 +295,6 @@ modules/swriter/toolbar/graffilterbar.xml
|
|||||||
modules/swriter/toolbar/graphicobjectbar.xml
|
modules/swriter/toolbar/graphicobjectbar.xml
|
||||||
modules/swriter/toolbar/insertbar.xml
|
modules/swriter/toolbar/insertbar.xml
|
||||||
modules/swriter/toolbar/mediaobjectbar.xml
|
modules/swriter/toolbar/mediaobjectbar.xml
|
||||||
modules/swriter/toolbar/moreformcontrols.xml
|
|
||||||
modules/swriter/toolbar/navigationobjectbar.xml
|
modules/swriter/toolbar/navigationobjectbar.xml
|
||||||
modules/swriter/toolbar/numobjectbar.xml
|
modules/swriter/toolbar/numobjectbar.xml
|
||||||
modules/swriter/toolbar/oleobjectbar.xml
|
modules/swriter/toolbar/oleobjectbar.xml
|
||||||
|
@ -74,7 +74,6 @@ static const ResIdToResName pToolBarResToName[] =
|
|||||||
{ ToolbarId::SvxTbx_Form_Filter, "formsfilterbar" },
|
{ ToolbarId::SvxTbx_Form_Filter, "formsfilterbar" },
|
||||||
{ ToolbarId::SvxTbx_Text_Control_Attributes, "formtextobjectbar" },
|
{ ToolbarId::SvxTbx_Text_Control_Attributes, "formtextobjectbar" },
|
||||||
{ ToolbarId::SvxTbx_Controls, "formcontrols" },
|
{ ToolbarId::SvxTbx_Controls, "formcontrols" },
|
||||||
{ ToolbarId::SvxTbx_MoreControls, "moreformcontrols" },
|
|
||||||
{ ToolbarId::SvxTbx_FormDesign, "formdesign" },
|
{ ToolbarId::SvxTbx_FormDesign, "formdesign" },
|
||||||
{ ToolbarId::Math_Toolbox, "toolbar" }, //math
|
{ ToolbarId::Math_Toolbox, "toolbar" }, //math
|
||||||
{ ToolbarId::Text_Toolbox_Sc, "textobjectbar" }, //calc
|
{ ToolbarId::Text_Toolbox_Sc, "textobjectbar" }, //calc
|
||||||
|
@ -625,11 +625,6 @@ shell FmFormShell
|
|||||||
|
|
||||||
SID_FM_CONFIG // ole : no, status : ?
|
SID_FM_CONFIG // ole : no, status : ?
|
||||||
[]
|
[]
|
||||||
SID_FM_MORE_CONTROLS
|
|
||||||
[
|
|
||||||
ExecMethod = Execute ;
|
|
||||||
StateMethod = GetState ;
|
|
||||||
]
|
|
||||||
SID_FM_FORM_DESIGN_TOOLS
|
SID_FM_FORM_DESIGN_TOOLS
|
||||||
[
|
[
|
||||||
ExecMethod = Execute ;
|
ExecMethod = Execute ;
|
||||||
|
@ -1634,25 +1634,6 @@ SfxVoidItem Config SID_FM_CONFIG
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
SfxBoolItem MoreControls SID_FM_MORE_CONTROLS
|
|
||||||
|
|
||||||
[
|
|
||||||
AutoUpdate = TRUE,
|
|
||||||
FastCall = FALSE,
|
|
||||||
ReadOnlyDoc = FALSE,
|
|
||||||
Toggle = TRUE,
|
|
||||||
Container = FALSE,
|
|
||||||
RecordAbsolute = FALSE,
|
|
||||||
RecordPerSet;
|
|
||||||
|
|
||||||
|
|
||||||
AccelConfig = FALSE,
|
|
||||||
MenuConfig = FALSE,
|
|
||||||
ToolBoxConfig = TRUE,
|
|
||||||
GroupId = SfxGroupId::Controls;
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
SfxBoolItem FormDesignTools SID_FM_FORM_DESIGN_TOOLS
|
SfxBoolItem FormDesignTools SID_FM_FORM_DESIGN_TOOLS
|
||||||
|
|
||||||
[
|
[
|
||||||
|
@ -173,10 +173,6 @@ void FmFormShell::InitInterface_Impl()
|
|||||||
ToolbarId::SvxTbx_Controls,
|
ToolbarId::SvxTbx_Controls,
|
||||||
SfxShellFeature::FormTBControls);
|
SfxShellFeature::FormTBControls);
|
||||||
|
|
||||||
GetStaticInterface()->RegisterObjectBar(SFX_OBJECTBAR_OBJECT, SfxVisibilityFlags::Standard,
|
|
||||||
ToolbarId::SvxTbx_MoreControls,
|
|
||||||
SfxShellFeature::FormTBMoreControls);
|
|
||||||
|
|
||||||
GetStaticInterface()->RegisterObjectBar(SFX_OBJECTBAR_OBJECT, SfxVisibilityFlags::Standard,
|
GetStaticInterface()->RegisterObjectBar(SFX_OBJECTBAR_OBJECT, SfxVisibilityFlags::Standard,
|
||||||
ToolbarId::SvxTbx_FormDesign,
|
ToolbarId::SvxTbx_FormDesign,
|
||||||
SfxShellFeature::FormTBDesign);
|
SfxShellFeature::FormTBDesign);
|
||||||
@ -331,7 +327,6 @@ bool FmFormShell::HasUIFeature(SfxShellFeature nFeature) const
|
|||||||
bResult = GetImpl()->isEnhancedForm_Lock();
|
bResult = GetImpl()->isEnhancedForm_Lock();
|
||||||
}
|
}
|
||||||
else if ( (nFeature & SfxShellFeature::FormTBControls)
|
else if ( (nFeature & SfxShellFeature::FormTBControls)
|
||||||
|| (nFeature & SfxShellFeature::FormTBMoreControls)
|
|
||||||
|| (nFeature & SfxShellFeature::FormTBDesign)
|
|| (nFeature & SfxShellFeature::FormTBDesign)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
@ -512,7 +507,6 @@ void FmFormShell::Execute(SfxRequest &rReq)
|
|||||||
// individual actions
|
// individual actions
|
||||||
switch( nSlot )
|
switch( nSlot )
|
||||||
{
|
{
|
||||||
case SID_FM_MORE_CONTROLS:
|
|
||||||
case SID_FM_FORM_DESIGN_TOOLS:
|
case SID_FM_FORM_DESIGN_TOOLS:
|
||||||
{
|
{
|
||||||
FormToolboxes aToolboxAccess(GetImpl()->getHostFrame_Lock());
|
FormToolboxes aToolboxAccess(GetImpl()->getHostFrame_Lock());
|
||||||
@ -809,7 +803,6 @@ void FmFormShell::GetState(SfxItemSet &rSet)
|
|||||||
{
|
{
|
||||||
switch( nWhich )
|
switch( nWhich )
|
||||||
{
|
{
|
||||||
case SID_FM_MORE_CONTROLS:
|
|
||||||
case SID_FM_FORM_DESIGN_TOOLS:
|
case SID_FM_FORM_DESIGN_TOOLS:
|
||||||
{
|
{
|
||||||
FormToolboxes aToolboxAccess(GetImpl()->getHostFrame_Lock());
|
FormToolboxes aToolboxAccess(GetImpl()->getHostFrame_Lock());
|
||||||
|
@ -79,16 +79,10 @@ namespace svxform
|
|||||||
|
|
||||||
OUString FormToolboxes::getToolboxResourceName( sal_uInt16 _nSlotId )
|
OUString FormToolboxes::getToolboxResourceName( sal_uInt16 _nSlotId )
|
||||||
{
|
{
|
||||||
OSL_ENSURE( ( _nSlotId == SID_FM_MORE_CONTROLS ) || ( _nSlotId == SID_FM_FORM_DESIGN_TOOLS ),
|
OSL_ENSURE( _nSlotId == SID_FM_FORM_DESIGN_TOOLS ,
|
||||||
"FormToolboxes::getToolboxResourceName: unsupported slot!" );
|
"FormToolboxes::getToolboxResourceName: unsupported slot!" );
|
||||||
|
|
||||||
const sal_Char* pToolBarName = "moreformcontrols";
|
return "private:resource/toolbar/formdesign";
|
||||||
if ( _nSlotId == SID_FM_FORM_DESIGN_TOOLS )
|
|
||||||
pToolBarName = "formdesign";
|
|
||||||
|
|
||||||
OUString aToolBarResStr( "private:resource/toolbar/" );
|
|
||||||
aToolBarResStr += OUString::createFromAscii( pToolBarName );
|
|
||||||
return aToolBarResStr;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1672,7 +1672,6 @@ Const cstUnoPrefix = ".uno:"
|
|||||||
Case UCase(sOOCommand) = "LISTBOX" : sDispatch = "ListBox"
|
Case UCase(sOOCommand) = "LISTBOX" : sDispatch = "ListBox"
|
||||||
Case UCase(sOOCommand) = "MACRODIALOG" : sDispatch = "MacroDialog"
|
Case UCase(sOOCommand) = "MACRODIALOG" : sDispatch = "MacroDialog"
|
||||||
Case UCase(sOOCommand) = "MACROORGANIZER" : sDispatch = "MacroOrganizer"
|
Case UCase(sOOCommand) = "MACROORGANIZER" : sDispatch = "MacroOrganizer"
|
||||||
Case UCase(sOOCommand) = "MORECONTROLS" : sDispatch = "MoreControls"
|
|
||||||
Case UCase(sOOCommand) = "NAVIGATIONBAR" : sDispatch = "NavigationBar"
|
Case UCase(sOOCommand) = "NAVIGATIONBAR" : sDispatch = "NavigationBar"
|
||||||
Case iVBACommand = acCmdObjectBrowser Or UCase(sOOCommand) = "NAVIGATOR" : sDispatch = "Navigator"
|
Case iVBACommand = acCmdObjectBrowser Or UCase(sOOCommand) = "NAVIGATOR" : sDispatch = "Navigator"
|
||||||
Case UCase(sOOCommand) = "NEWDOC" : sDispatch = "NewDoc"
|
Case UCase(sOOCommand) = "NEWDOC" : sDispatch = "NewDoc"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user