diff options
author | Tomaž Vajngerl <quikee@gmail.com> | 2012-06-28 00:19:28 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2012-06-28 00:27:47 +0200 |
commit | 7a3ae89a12b2c11e90d3f0c76293ddb63203bd2a (patch) | |
tree | 0882ad037d36e6d2281d22e8dbffbb635ca7c138 /sc/sdi | |
parent | e18655e47530f1e399cb546a6001fa0aa0f1873c (diff) |
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
Diffstat (limited to 'sc/sdi')
-rw-r--r-- | sc/sdi/graphsh.sdi | 18 |
1 files changed, 12 insertions, 6 deletions
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; } - |