diff options
author | Radek Doulik <rodo@novell.com> | 2012-12-04 15:58:21 +0100 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2012-12-10 12:09:21 +0100 |
commit | cee6d978a17b3f820f6c7c578a5a57785a10f8f8 (patch) | |
tree | f98d05ff00399e690411f657308da533c62b7dfb /svx | |
parent | 495be57b8238361297f1834c2afbf808f1e55a3d (diff) |
added Change picture menu item to graphic shape popup
Conflicts:
sd/sdi/_drvwsh.sdi
sd/source/ui/app/popup2_tmpl.src
svx/inc/globlmn_tmpl.hrc
svx/inc/svx/svxids.hrc
svx/sdi/svx.sdi
Change-Id: I6e4927b847ca6990990be1075c8371404736e27e
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/globlmn_tmpl.hrc | 5 | ||||
-rw-r--r-- | svx/inc/svx/svxids.hrc | 3 | ||||
-rw-r--r-- | svx/sdi/svx.sdi | 24 |
3 files changed, 31 insertions, 1 deletions
diff --git a/svx/inc/globlmn_tmpl.hrc b/svx/inc/globlmn_tmpl.hrc index f6b8f73b170c..119bd020e29e 100644 --- a/svx/inc/globlmn_tmpl.hrc +++ b/svx/inc/globlmn_tmpl.hrc @@ -257,6 +257,11 @@ Command = ".uno:ImageMapDialog" ; \ Text [ en-US ] = "ImageMap" ; \ +#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 f66af83d2a3c..df9aed38fc5b 100644 --- a/svx/inc/svx/svxids.hrc +++ b/svx/inc/svx/svxids.hrc @@ -1267,9 +1267,10 @@ #define SID_INSERT_FORM_SPIN (SID_SVX_START+1110) #define SID_INSERT_FORM_VSCROLL (SID_SVX_START+1111) #define SID_INSERT_FORM_HSCROLL (SID_SVX_START+1112) +#define SID_CHANGE_PICTURE (SID_SVX_START+1113) // IMPORTANT NOTE: adjust SID_SVX_FIRSTFREE, when adding new slot id -#define SID_SVX_FIRSTFREE (SID_INSERT_FORM_HSCROLL + 1) +#define SID_SVX_FIRSTFREE (SID_CHANGE_PICTURE + 1) // -------------------------------------------------------------------------- // Overflow check for slot IDs diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi index 8afec8b9e48e..7732f08df930 100644 --- a/svx/sdi/svx.sdi +++ b/svx/sdi/svx.sdi @@ -5948,6 +5948,30 @@ SfxBoolItem ImageMapExecute SID_IMAP_EXEC GroupId = GID_EDIT; ] +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; +] + //-------------------------------------------------------------------------- SfxBoolItem Init3D SID_3D_INIT |