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 --- sw/sdi/_grfsh.sdi | 4 ++-- sw/sdi/swriter.sdi | 27 --------------------------- 2 files changed, 2 insertions(+), 29 deletions(-) (limited to 'sw/sdi') diff --git a/sw/sdi/_grfsh.sdi b/sw/sdi/_grfsh.sdi index d60dc39d4b36..42d9666a7105 100644 --- a/sw/sdi/_grfsh.sdi +++ b/sw/sdi/_grfsh.sdi @@ -58,11 +58,12 @@ interface BaseTextGraphic StateMethod = GetAttrState ; ] - FN_EXTERNAL_EDIT + SID_EXTERNAL_EDIT [ ExecMethod = Execute ; StateMethod = GetAttrState ; ] + SID_INSERT_GRAPHIC // zeigt auf FN_FORMAT_GRAFIC_DLG [ ExecMethod = Execute ; @@ -218,4 +219,3 @@ interface BaseTextGraphic ] } - diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index bab0c1b7442f..7e9680e58f80 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -3462,33 +3462,6 @@ 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 () -- cgit