From 7a3ae89a12b2c11e90d3f0c76293ddb63203bd2a Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Thu, 28 Jun 2012 00:19:28 +0200 Subject: Enable menu option "Edit witn External Tool.." for Calc. Currently it was only possible to use "Exit with External Tool.." menu option in Writer. Now it is also possible to use this in Calc and in future Draw and Impress. Code has been refactored and extacted out of "sw" into "svx", so other components can use it. Currently there is no cleanup of temporary images after processing was done, and also pinging for changes are still active even when editing in external tool is done. This behavior will be changed in the future. Change-Id: I09969d44dfddbf9183b30ff3fffa2d201c7ae40f --- sc/sdi/graphsh.sdi | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'sc/sdi') diff --git a/sc/sdi/graphsh.sdi b/sc/sdi/graphsh.sdi index cbf2583556b2..6eb051bc5eaf 100644 --- a/sc/sdi/graphsh.sdi +++ b/sc/sdi/graphsh.sdi @@ -128,11 +128,18 @@ interface GraphSelection ExecMethod = Execute; StateMethod = GetAttrState; ] - SID_COLOR_SETTINGS - [ - ExecMethod = Execute; - StateMethod = GetAttrState; - ] + + SID_COLOR_SETTINGS + [ + ExecMethod = Execute; + StateMethod = GetAttrState; + ] + + SID_EXTERNAL_EDIT + [ + ExecMethod = ExecuteExternalEdit; + StateMethod = GetExternalEditState; + ] } // =========================================================================== @@ -140,4 +147,3 @@ shell ScGraphicShell : ScDrawShell { import GraphSelection; } - -- cgit