diff options
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/src/popup.src | 16 | ||||
-rw-r--r-- | sc/source/ui/view/editsh.cxx | 7 |
2 files changed, 22 insertions, 1 deletions
diff --git a/sc/source/ui/src/popup.src b/sc/source/ui/src/popup.src index 6e27ce38ac49..66e84bf61a64 100644 --- a/sc/source/ui/src/popup.src +++ b/sc/source/ui/src/popup.src @@ -430,6 +430,22 @@ Menu RID_POPUP_EDIT //------------------------------ MenuItem { + Text [ en-US ] = "Insert Fields" ; + Identifier = RID_MN_INSERT_FIELDS ; + SubMenu = Menu + { + ItemList = + { + MenuItem + { + Identifier = SID_INSERT_FIELD_TEST ; + Text [ en-US ] = "Test Field"; + }; + }; + }; + }; + MenuItem + { ITEM_FORMAT_CHAR_DLG }; //------------------------------ diff --git a/sc/source/ui/view/editsh.cxx b/sc/source/ui/view/editsh.cxx index 9f3dfe120497..8b05f33ce43b 100644 --- a/sc/source/ui/view/editsh.cxx +++ b/sc/source/ui/view/editsh.cxx @@ -614,6 +614,9 @@ void ScEditShell::Execute( SfxRequest& rReq ) case SID_INSERT_ZWNBSP: lclInsertCharacter( pTableView, pTopView, CHAR_ZWNBSP ); break; + case SID_INSERT_FIELD_TEST: + fprintf(stdout, "ScEditShell::Execute: SID_INSERT_FIELD_TEST\n"); + break; } pHdl->DataChanged(); @@ -714,7 +717,9 @@ void ScEditShell::GetState( SfxItemSet& rSet ) rSet.DisableItem( SID_THES ); } break; - + case SID_INSERT_FIELD_TEST: + fprintf(stdout, "ScEditShell::GetState: SID_INSERT_FIELD_TEST\n"); + break; } nWhich = aIter.NextWhich(); |