summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/inc/cmdid.h2
-rw-r--r--sw/sdi/_grfsh.sdi5
-rw-r--r--sw/sdi/swriter.sdi27
-rw-r--r--sw/source/ui/app/mn.src8
4 files changed, 42 insertions, 0 deletions
diff --git a/sw/inc/cmdid.h b/sw/inc/cmdid.h
index 3cddcedaae6c..c74c48403344 100644
--- a/sw/inc/cmdid.h
+++ b/sw/inc/cmdid.h
@@ -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
diff --git a/sw/sdi/_grfsh.sdi b/sw/sdi/_grfsh.sdi
index 3d7fd41af98d..d60dc39d4b36 100644
--- a/sw/sdi/_grfsh.sdi
+++ b/sw/sdi/_grfsh.sdi
@@ -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 ;
diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi
index c2fcc53bf29a..081681e025b5 100644
--- a/sw/sdi/swriter.sdi
+++ b/sw/sdi/swriter.sdi
@@ -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
()
diff --git a/sw/source/ui/app/mn.src b/sw/source/ui/app/mn.src
index d3d837f7eb74..7234a4b0f4f0 100644
--- a/sw/source/ui/app/mn.src
+++ b/sw/source/ui/app/mn.src
@@ -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