Kaydet (Commit) bc1d00dd authored tarafından Surendran Mahendran's avatar Surendran Mahendran Kaydeden (comit) Thorsten Behrens

Adding "Edit via External Tool" to Graphic Popup

1) add unique identifier to cmdid.h
2) add ExecMethod and StateMethod to _grfsh.sdi
3) add additional details for the identifier in swriter.sdi
4) add the item to the popup menu in mn.src
üst 091a1c5e
......@@ -858,6 +858,8 @@ included in c-context files, so c++ style stuff will cause problems.
#define FN_UNO_TABLE_NAME (FN_EXTRA2 + 111)
#define FN_UNO_META (FN_EXTRA2 + 112)
#define FN_UNO_NESTED_TEXT_CONTENT (FN_EXTRA2 + 113)
/* Edit Graphic with External Tool */
#define FN_EXTERNAL_EDIT (FN_EXTRA2 + 114)
/*------------------------------------------------ --------------------
Area: Help
......
......@@ -58,6 +58,11 @@ interface BaseTextGraphic
StateMethod = GetAttrState ;
]
FN_EXTERNAL_EDIT
[
ExecMethod = Execute ;
StateMethod = GetAttrState ;
]
SID_INSERT_GRAPHIC // zeigt auf FN_FORMAT_GRAFIC_DLG
[
ExecMethod = Execute ;
......
......@@ -3510,6 +3510,33 @@ SfxVoidItem SaveGraphic FN_SAVE_GRAPHIC
GroupId = GID_GRAPHIC;
]
//------------------------------------------------------------------------
SfxVoidItem ExternalEdit FN_EXTERNAL_EDIT
()
[
/* flags: */
AutoUpdate = FALSE,
Cachable = Cachable,
FastCall = FALSE,
HasCoreId = FALSE,
HasDialog = FALSE,
ReadOnlyDoc = TRUE,
Toggle = FALSE,
Container = FALSE,
RecordAbsolute = FALSE,
RecordPerSet;
Synchron;
/* config: */
AccelConfig = TRUE,
MenuConfig = TRUE,
StatusBarConfig = FALSE,
ToolBoxConfig = TRUE,
GroupId = GID_GRAPHIC;
]
//------------------------------------------------------------------------
//--------------------------------------------------------------------------
SfxVoidItem Grow FN_GROW_FONT_SIZE
()
......
......@@ -941,6 +941,14 @@ Menu MN_GRF_POPUPMENU
Text [ en-US ] = "Save Graphics..." ;
};
MN_FRM_CAPTION_ITEM
SEPARATOR;
MenuItem
{
Identifier = FN_EXTERNAL_EDIT ;
HelpID = FN_EXTERNAL_EDIT ;
Text [ en-US ] = "Edit with External Tool...";
};
SEPARATOR;
MenuItem
{
ITEM_EDIT_IMAP
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment