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 /sw/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 'sw/sdi')
-rw-r--r-- | sw/sdi/_grfsh.sdi | 4 | ||||
-rw-r--r-- | sw/sdi/swriter.sdi | 27 |
2 files changed, 2 insertions, 29 deletions
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 () |