some misc tidyup ( that was reverted )
some id and string renaming from b08e273015d72251b68bca86535cf5919dd9e40e was reverted, those parts of the changes are reapplied here
This commit is contained in:
@@ -471,43 +471,43 @@ shell BasicIDEShell
|
|||||||
StateMethod = GetState;
|
StateMethod = GetState;
|
||||||
]
|
]
|
||||||
|
|
||||||
SID_INSERT_RADIO
|
SID_INSERT_FORM_RADIO
|
||||||
[
|
[
|
||||||
ExecMethod = ExecuteDialog;
|
ExecMethod = ExecuteDialog;
|
||||||
StateMethod = GetState;
|
StateMethod = GetState;
|
||||||
]
|
]
|
||||||
|
|
||||||
SID_INSERT_CHECK
|
SID_INSERT_FORM_CHECK
|
||||||
[
|
[
|
||||||
ExecMethod = ExecuteDialog;
|
ExecMethod = ExecuteDialog;
|
||||||
StateMethod = GetState;
|
StateMethod = GetState;
|
||||||
]
|
]
|
||||||
|
|
||||||
SID_INSERT_LIST
|
SID_INSERT_FORM_LIST
|
||||||
[
|
[
|
||||||
ExecMethod = ExecuteDialog;
|
ExecMethod = ExecuteDialog;
|
||||||
StateMethod = GetState;
|
StateMethod = GetState;
|
||||||
]
|
]
|
||||||
|
|
||||||
SID_INSERT_COMBO
|
SID_INSERT_FORM_COMBO
|
||||||
[
|
[
|
||||||
ExecMethod = ExecuteDialog;
|
ExecMethod = ExecuteDialog;
|
||||||
StateMethod = GetState;
|
StateMethod = GetState;
|
||||||
]
|
]
|
||||||
|
|
||||||
SID_INSERT_VSCROLL
|
SID_INSERT_FORM_VSCROLL
|
||||||
[
|
[
|
||||||
ExecMethod = ExecuteDialog;
|
ExecMethod = ExecuteDialog;
|
||||||
StateMethod = GetState;
|
StateMethod = GetState;
|
||||||
]
|
]
|
||||||
|
|
||||||
SID_INSERT_HSCROLL
|
SID_INSERT_FORM_HSCROLL
|
||||||
[
|
[
|
||||||
ExecMethod = ExecuteDialog;
|
ExecMethod = ExecuteDialog;
|
||||||
StateMethod = GetState;
|
StateMethod = GetState;
|
||||||
]
|
]
|
||||||
|
|
||||||
SID_INSERT_SPIN
|
SID_INSERT_FORM_SPIN
|
||||||
[
|
[
|
||||||
ExecMethod = ExecuteDialog;
|
ExecMethod = ExecuteDialog;
|
||||||
StateMethod = GetState;
|
StateMethod = GetState;
|
||||||
|
@@ -401,13 +401,13 @@ void DialogWindow::GetState( SfxItemSet& rSet )
|
|||||||
rSet.DisableItem( nWh );
|
rSet.DisableItem( nWh );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case SID_INSERT_RADIO:
|
case SID_INSERT_FORM_RADIO:
|
||||||
case SID_INSERT_CHECK:
|
case SID_INSERT_FORM_CHECK:
|
||||||
case SID_INSERT_LIST:
|
case SID_INSERT_FORM_LIST:
|
||||||
case SID_INSERT_COMBO:
|
case SID_INSERT_FORM_COMBO:
|
||||||
case SID_INSERT_VSCROLL:
|
case SID_INSERT_FORM_VSCROLL:
|
||||||
case SID_INSERT_HSCROLL:
|
case SID_INSERT_FORM_HSCROLL:
|
||||||
case SID_INSERT_SPIN:
|
case SID_INSERT_FORM_SPIN:
|
||||||
{
|
{
|
||||||
if ( !bIsCalc || IsReadOnly() )
|
if ( !bIsCalc || IsReadOnly() )
|
||||||
rSet.DisableItem( nWh );
|
rSet.DisableItem( nWh );
|
||||||
@@ -453,31 +453,31 @@ void DialogWindow::ExecuteCommand( SfxRequest& rReq )
|
|||||||
pBindings->Invalidate( SID_DOC_MODIFIED );
|
pBindings->Invalidate( SID_DOC_MODIFIED );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case SID_INSERT_RADIO:
|
case SID_INSERT_FORM_RADIO:
|
||||||
GetEditor()->SetMode( DLGED_INSERT );
|
GetEditor()->SetMode( DLGED_INSERT );
|
||||||
GetEditor()->SetInsertObj( OBJ_DLG_FORMRADIO );
|
GetEditor()->SetInsertObj( OBJ_DLG_FORMRADIO );
|
||||||
break;
|
break;
|
||||||
case SID_INSERT_CHECK:
|
case SID_INSERT_FORM_CHECK:
|
||||||
GetEditor()->SetMode( DLGED_INSERT );
|
GetEditor()->SetMode( DLGED_INSERT );
|
||||||
GetEditor()->SetInsertObj( OBJ_DLG_FORMCHECK );
|
GetEditor()->SetInsertObj( OBJ_DLG_FORMCHECK );
|
||||||
break;
|
break;
|
||||||
case SID_INSERT_LIST:
|
case SID_INSERT_FORM_LIST:
|
||||||
GetEditor()->SetMode( DLGED_INSERT );
|
GetEditor()->SetMode( DLGED_INSERT );
|
||||||
GetEditor()->SetInsertObj( OBJ_DLG_FORMLIST );
|
GetEditor()->SetInsertObj( OBJ_DLG_FORMLIST );
|
||||||
break;
|
break;
|
||||||
case SID_INSERT_COMBO:
|
case SID_INSERT_FORM_COMBO:
|
||||||
GetEditor()->SetMode( DLGED_INSERT );
|
GetEditor()->SetMode( DLGED_INSERT );
|
||||||
GetEditor()->SetInsertObj( OBJ_DLG_FORMCOMBO );
|
GetEditor()->SetInsertObj( OBJ_DLG_FORMCOMBO );
|
||||||
break;
|
break;
|
||||||
case SID_INSERT_SPIN:
|
case SID_INSERT_FORM_SPIN:
|
||||||
GetEditor()->SetMode( DLGED_INSERT );
|
GetEditor()->SetMode( DLGED_INSERT );
|
||||||
GetEditor()->SetInsertObj( OBJ_DLG_FORMSPIN );
|
GetEditor()->SetInsertObj( OBJ_DLG_FORMSPIN );
|
||||||
break;
|
break;
|
||||||
case SID_INSERT_VSCROLL:
|
case SID_INSERT_FORM_VSCROLL:
|
||||||
GetEditor()->SetMode( DLGED_INSERT );
|
GetEditor()->SetMode( DLGED_INSERT );
|
||||||
GetEditor()->SetInsertObj( OBJ_DLG_FORMVSCROLL );
|
GetEditor()->SetInsertObj( OBJ_DLG_FORMVSCROLL );
|
||||||
break;
|
break;
|
||||||
case SID_INSERT_HSCROLL:
|
case SID_INSERT_FORM_HSCROLL:
|
||||||
GetEditor()->SetMode( DLGED_INSERT );
|
GetEditor()->SetMode( DLGED_INSERT );
|
||||||
GetEditor()->SetInsertObj( OBJ_DLG_FORMHSCROLL );
|
GetEditor()->SetInsertObj( OBJ_DLG_FORMHSCROLL );
|
||||||
break;
|
break;
|
||||||
|
@@ -915,13 +915,13 @@ void BasicIDEShell::GetState(SfxItemSet &rSet)
|
|||||||
break;
|
break;
|
||||||
case SID_CHOOSE_CONTROLS:
|
case SID_CHOOSE_CONTROLS:
|
||||||
case SID_DIALOG_TESTMODE:
|
case SID_DIALOG_TESTMODE:
|
||||||
case SID_INSERT_RADIO:
|
case SID_INSERT_FORM_RADIO:
|
||||||
case SID_INSERT_CHECK:
|
case SID_INSERT_FORM_CHECK:
|
||||||
case SID_INSERT_LIST:
|
case SID_INSERT_FORM_LIST:
|
||||||
case SID_INSERT_COMBO:
|
case SID_INSERT_FORM_COMBO:
|
||||||
case SID_INSERT_VSCROLL:
|
case SID_INSERT_FORM_VSCROLL:
|
||||||
case SID_INSERT_HSCROLL:
|
case SID_INSERT_FORM_HSCROLL:
|
||||||
case SID_INSERT_SPIN:
|
case SID_INSERT_FORM_SPIN:
|
||||||
{
|
{
|
||||||
if( !pCurWin || !pCurWin->IsA( TYPE( DialogWindow ) ) )
|
if( !pCurWin || !pCurWin->IsA( TYPE( DialogWindow ) ) )
|
||||||
rSet.DisableItem( nWh );
|
rSet.DisableItem( nWh );
|
||||||
|
@@ -12,5 +12,4 @@
|
|||||||
<toolbar:toolbaritem xlink:href=".uno:InsertFormHScroll" toolbar:helpid="helpid:10146" toolbar:style="radio" />
|
<toolbar:toolbaritem xlink:href=".uno:InsertFormHScroll" toolbar:helpid="helpid:10146" toolbar:style="radio" />
|
||||||
<toolbar:toolbarbreak/>
|
<toolbar:toolbarbreak/>
|
||||||
<toolbar:toolbaritem xlink:href=".uno:InsertFormSpin" toolbar:helpid="helpid:10146" toolbar:style="radio" />
|
<toolbar:toolbaritem xlink:href=".uno:InsertFormSpin" toolbar:helpid="helpid:10146" toolbar:style="radio" />
|
||||||
<toolbar:toolbarbreak/>
|
|
||||||
</toolbar:toolbar>
|
</toolbar:toolbar>
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
</node>
|
</node>
|
||||||
<node oor:name=".uno:InsertFormRadio" oor:op="replace">
|
<node oor:name=".uno:InsertFormRadio" oor:op="replace">
|
||||||
<prop oor:name="Label" oor:type="xs:string">
|
<prop oor:name="Label" oor:type="xs:string">
|
||||||
<value xml:lang="en-US">Option Button</value>
|
<value xml:lang="en-US">Form Option Button</value>
|
||||||
</prop>
|
</prop>
|
||||||
<prop oor:name="Properties" oor:type="xs:int">
|
<prop oor:name="Properties" oor:type="xs:int">
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
</node>
|
</node>
|
||||||
<node oor:name=".uno:InsertFormCheck" oor:op="replace">
|
<node oor:name=".uno:InsertFormCheck" oor:op="replace">
|
||||||
<prop oor:name="Label" oor:type="xs:string">
|
<prop oor:name="Label" oor:type="xs:string">
|
||||||
<value xml:lang="en-US">Check Box</value>
|
<value xml:lang="en-US">Form Check Box</value>
|
||||||
</prop>
|
</prop>
|
||||||
<prop oor:name="Properties" oor:type="xs:int">
|
<prop oor:name="Properties" oor:type="xs:int">
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
</node>
|
</node>
|
||||||
<node oor:name=".uno:InsertFormList" oor:op="replace">
|
<node oor:name=".uno:InsertFormList" oor:op="replace">
|
||||||
<prop oor:name="Label" oor:type="xs:string">
|
<prop oor:name="Label" oor:type="xs:string">
|
||||||
<value xml:lang="en-US">List Box</value>
|
<value xml:lang="en-US">Form List Box</value>
|
||||||
</prop>
|
</prop>
|
||||||
<prop oor:name="Properties" oor:type="xs:int">
|
<prop oor:name="Properties" oor:type="xs:int">
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
</node>
|
</node>
|
||||||
<node oor:name=".uno:InsertFormCombo" oor:op="replace">
|
<node oor:name=".uno:InsertFormCombo" oor:op="replace">
|
||||||
<prop oor:name="Label" oor:type="xs:string">
|
<prop oor:name="Label" oor:type="xs:string">
|
||||||
<value xml:lang="en-US">Combo Box</value>
|
<value xml:lang="en-US">Form Combo Box</value>
|
||||||
</prop>
|
</prop>
|
||||||
<prop oor:name="Properties" oor:type="xs:int">
|
<prop oor:name="Properties" oor:type="xs:int">
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
</node>
|
</node>
|
||||||
<node oor:name=".uno:InsertFormVScroll" oor:op="replace">
|
<node oor:name=".uno:InsertFormVScroll" oor:op="replace">
|
||||||
<prop oor:name="Label" oor:type="xs:string">
|
<prop oor:name="Label" oor:type="xs:string">
|
||||||
<value xml:lang="en-US">Vertical Scroll Bar</value>
|
<value xml:lang="en-US">Form Vertical Scroll Bar</value>
|
||||||
</prop>
|
</prop>
|
||||||
<prop oor:name="Properties" oor:type="xs:int">
|
<prop oor:name="Properties" oor:type="xs:int">
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
</node>
|
</node>
|
||||||
<node oor:name=".uno:InsertFormHScroll" oor:op="replace">
|
<node oor:name=".uno:InsertFormHScroll" oor:op="replace">
|
||||||
<prop oor:name="Label" oor:type="xs:string">
|
<prop oor:name="Label" oor:type="xs:string">
|
||||||
<value xml:lang="en-US">Horizonal Scroll Bar</value>
|
<value xml:lang="en-US">Form Horizonal Scroll Bar</value>
|
||||||
</prop>
|
</prop>
|
||||||
<prop oor:name="Properties" oor:type="xs:int">
|
<prop oor:name="Properties" oor:type="xs:int">
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
</node>
|
</node>
|
||||||
<node oor:name=".uno:InsertFormSpin" oor:op="replace">
|
<node oor:name=".uno:InsertFormSpin" oor:op="replace">
|
||||||
<prop oor:name="Label" oor:type="xs:string">
|
<prop oor:name="Label" oor:type="xs:string">
|
||||||
<value xml:lang="en-US">Spin Button</value>
|
<value xml:lang="en-US">Form Spin Button</value>
|
||||||
</prop>
|
</prop>
|
||||||
<prop oor:name="Properties" oor:type="xs:int">
|
<prop oor:name="Properties" oor:type="xs:int">
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
|
@@ -1260,16 +1260,16 @@
|
|||||||
#define SID_TRANSLITERATE_TITLE_CASE (SID_SVX_START+1103)
|
#define SID_TRANSLITERATE_TITLE_CASE (SID_SVX_START+1103)
|
||||||
#define SID_TRANSLITERATE_TOGGLE_CASE (SID_SVX_START+1104)
|
#define SID_TRANSLITERATE_TOGGLE_CASE (SID_SVX_START+1104)
|
||||||
#define SID_TRANSLITERATE_ROTATE_CASE (SID_SVX_START+1105)
|
#define SID_TRANSLITERATE_ROTATE_CASE (SID_SVX_START+1105)
|
||||||
#define SID_INSERT_RADIO (SID_SVX_START+1106)
|
#define SID_INSERT_FORM_RADIO (SID_SVX_START+1106)
|
||||||
#define SID_INSERT_CHECK (SID_SVX_START+1107)
|
#define SID_INSERT_FORM_CHECK (SID_SVX_START+1107)
|
||||||
#define SID_INSERT_LIST (SID_SVX_START+1108)
|
#define SID_INSERT_FORM_LIST (SID_SVX_START+1108)
|
||||||
#define SID_INSERT_COMBO (SID_SVX_START+1109)
|
#define SID_INSERT_FORM_COMBO (SID_SVX_START+1109)
|
||||||
#define SID_INSERT_SPIN (SID_SVX_START+1110)
|
#define SID_INSERT_FORM_SPIN (SID_SVX_START+1110)
|
||||||
#define SID_INSERT_VSCROLL (SID_SVX_START+1111)
|
#define SID_INSERT_FORM_VSCROLL (SID_SVX_START+1111)
|
||||||
#define SID_INSERT_HSCROLL (SID_SVX_START+1112)
|
#define SID_INSERT_FORM_HSCROLL (SID_SVX_START+1112)
|
||||||
|
|
||||||
// IMPORTANT NOTE: adjust SID_SVX_FIRSTFREE, when adding new slot id
|
// IMPORTANT NOTE: adjust SID_SVX_FIRSTFREE, when adding new slot id
|
||||||
#define SID_SVX_FIRSTFREE (SID_INSERT_HSCROLL + 1)
|
#define SID_SVX_FIRSTFREE (SID_INSERT_FORM_HSCROLL + 1)
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
// Overflow check for slot IDs
|
// Overflow check for slot IDs
|
||||||
|
@@ -8613,7 +8613,7 @@ SfxBoolItem InsertPushbutton SID_INSERT_PUSHBUTTON
|
|||||||
|
|
||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
|
|
||||||
SfxBoolItem InsertFormRadio SID_INSERT_RADIO
|
SfxBoolItem InsertFormRadio SID_INSERT_FORM_RADIO
|
||||||
|
|
||||||
[
|
[
|
||||||
/* flags: */
|
/* flags: */
|
||||||
@@ -8640,7 +8640,7 @@ SfxBoolItem InsertFormRadio SID_INSERT_RADIO
|
|||||||
]
|
]
|
||||||
|
|
||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
SfxBoolItem InsertFormCheck SID_INSERT_CHECK
|
SfxBoolItem InsertFormCheck SID_INSERT_FORM_CHECK
|
||||||
|
|
||||||
[
|
[
|
||||||
/* flags: */
|
/* flags: */
|
||||||
@@ -8667,7 +8667,7 @@ SfxBoolItem InsertFormCheck SID_INSERT_CHECK
|
|||||||
]
|
]
|
||||||
|
|
||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
SfxBoolItem InsertFormList SID_INSERT_LIST
|
SfxBoolItem InsertFormList SID_INSERT_FORM_LIST
|
||||||
|
|
||||||
[
|
[
|
||||||
/* flags: */
|
/* flags: */
|
||||||
@@ -8694,7 +8694,7 @@ SfxBoolItem InsertFormList SID_INSERT_LIST
|
|||||||
]
|
]
|
||||||
|
|
||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
SfxBoolItem InsertFormCombo SID_INSERT_COMBO
|
SfxBoolItem InsertFormCombo SID_INSERT_FORM_COMBO
|
||||||
|
|
||||||
[
|
[
|
||||||
/* flags: */
|
/* flags: */
|
||||||
@@ -8720,7 +8720,7 @@ SfxBoolItem InsertFormCombo SID_INSERT_COMBO
|
|||||||
GroupId = GID_CONTROLS;
|
GroupId = GID_CONTROLS;
|
||||||
]
|
]
|
||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
SfxBoolItem InsertFormSpin SID_INSERT_SPIN
|
SfxBoolItem InsertFormSpin SID_INSERT_FORM_SPIN
|
||||||
|
|
||||||
[
|
[
|
||||||
/* flags: */
|
/* flags: */
|
||||||
@@ -8747,7 +8747,7 @@ SfxBoolItem InsertFormSpin SID_INSERT_SPIN
|
|||||||
]
|
]
|
||||||
|
|
||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
SfxBoolItem InsertFormVScroll SID_INSERT_VSCROLL
|
SfxBoolItem InsertFormVScroll SID_INSERT_FORM_VSCROLL
|
||||||
|
|
||||||
[
|
[
|
||||||
/* flags: */
|
/* flags: */
|
||||||
@@ -8775,7 +8775,7 @@ SfxBoolItem InsertFormVScroll SID_INSERT_VSCROLL
|
|||||||
|
|
||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
|
|
||||||
SfxBoolItem InsertFormHScroll SID_INSERT_HSCROLL
|
SfxBoolItem InsertFormHScroll SID_INSERT_FORM_HSCROLL
|
||||||
|
|
||||||
[
|
[
|
||||||
/* flags: */
|
/* flags: */
|
||||||
|
Reference in New Issue
Block a user