diff options
author | Radek Doulik <rodo@novell.com> | 2012-12-04 15:58:21 +0100 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2012-12-04 16:00:45 +0100 |
commit | c349164824d7c4d467a7a9a9148a7cd6555e3684 (patch) | |
tree | 6bedbcef50c9f7459bcb3d41ae523c986a334b70 /svx | |
parent | 869031d702639852cac51cdb8306ff31420b3f3f (diff) |
added Change picture menu item to graphic shape popup
Change-Id: I6e4927b847ca6990990be1075c8371404736e27e
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/globlmn_tmpl.hrc | 5 | ||||
-rw-r--r-- | svx/inc/svx/svxids.hrc | 11 | ||||
-rw-r--r-- | svx/sdi/svx.sdi | 24 |
3 files changed, 35 insertions, 5 deletions
diff --git a/svx/inc/globlmn_tmpl.hrc b/svx/inc/globlmn_tmpl.hrc index 35a465e9755e..94413287a388 100644 --- a/svx/inc/globlmn_tmpl.hrc +++ b/svx/inc/globlmn_tmpl.hrc @@ -264,6 +264,11 @@ Command = ".uno:SaveGraphic" ; \ Text [ en-US ] = "Save Graphic..." ; \ +#define ITEM_CHANGE_PICTURE \ + Identifier = SID_CHANGE_PICTURE ; \ + Command = ".uno:ChangePicture" ; \ + Text [ en-US ] = "Change Picture..." ; \ + #define ITEM_VIEW_ATTR_ZOOM \ Identifier = SID_ATTR_ZOOM ; \ Command = ".uno:Zoom" ; \ diff --git a/svx/inc/svx/svxids.hrc b/svx/inc/svx/svxids.hrc index 8d6e56f1e8c2..2f0624666c76 100644 --- a/svx/inc/svx/svxids.hrc +++ b/svx/inc/svx/svxids.hrc @@ -922,11 +922,12 @@ #define SID_INSERT_FORM_HSCROLL (SID_SVX_START+1112) #define SID_EXTERNAL_EDIT (SID_SVX_START+1113) #define SID_ATTR_PAGE_SHARED_FIRST (SID_SVX_START+1114) -#define SID_SAVE_GRAPHIC (SID_SVX_START+1115) -#define SID_COMPRESS_GRAPHIC (SID_SVX_START+1116) -#define SID_FRAME_UP (SID_SVX_START+1117) -#define SID_FRAME_DOWN (SID_SVX_START+1118) -#define SID_ATTR_SPECIALCHAR (SID_SVX_START+1119) +#define SID_CHANGE_PICTURE (SID_SVX_START+1125) +#define SID_SAVE_GRAPHIC (SID_SVX_START+1116) +#define SID_COMPRESS_GRAPHIC (SID_SVX_START+1117) +#define SID_FRAME_UP (SID_SVX_START+1118) +#define SID_FRAME_DOWN (SID_SVX_START+1119) +#define SID_ATTR_SPECIALCHAR (SID_SVX_START+1120) // IMPORTANT NOTE: adjust SID_SVX_FIRSTFREE, when adding new slot id #define SID_SVX_FIRSTFREE (SID_COMPRESS_GRAPHIC + 1) diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi index 7fa460095544..a0b4f8546d1f 100644 --- a/svx/sdi/svx.sdi +++ b/svx/sdi/svx.sdi @@ -5913,6 +5913,30 @@ SfxVoidItem ExternalEdit SID_EXTERNAL_EDIT GroupId = GID_GRAPHIC; ] +SfxVoidItem ChangePicture SID_CHANGE_PICTURE +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_GRAPHIC; +] + SfxVoidItem SaveGraphic SID_SAVE_GRAPHIC () [ |