Kaydet (Commit) 980c82bf authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Impress: Add 'Duplicate slide' to the context menu of the slide sorter.

Change-Id: Ib872c1780967727924c84fc5e8b0f7c77d99280b
üst 504d3ed8
...@@ -76,6 +76,7 @@ ...@@ -76,6 +76,7 @@
#define CMD_SID_SHOW_SLIDE ".uno:ShowSlide" #define CMD_SID_SHOW_SLIDE ".uno:ShowSlide"
#define CMD_SID_INSERTLAYER ".uno:InsertLayer" #define CMD_SID_INSERTLAYER ".uno:InsertLayer"
#define CMD_SID_INSERTPAGE ".uno:InsertPage" #define CMD_SID_INSERTPAGE ".uno:InsertPage"
#define CMD_SID_DUPLICATE_PAGE ".uno:DuplicatePage"
#define CMD_SID_MEASURE_DLG ".uno:MeasureAttributes" #define CMD_SID_MEASURE_DLG ".uno:MeasureAttributes"
#define CMD_SID_HORIZONTAL ".uno:MirrorHorz" #define CMD_SID_HORIZONTAL ".uno:MirrorHorz"
#define CMD_SID_VERTICAL ".uno:MirrorVert" #define CMD_SID_VERTICAL ".uno:MirrorVert"
......
...@@ -128,6 +128,14 @@ ...@@ -128,6 +128,14 @@
Text [ en-US ] = "~New Slide" ; \ Text [ en-US ] = "~New Slide" ; \
}; };
#define MN_DUPLICATE_SLIDE \
MenuItem\
{\
Identifier = SID_DUPLICATE_PAGE ; \
HelpId = CMD_SID_DUPLICATE_PAGE ; \
Text [ en-US ] = "~Duplicate Slide" ; \
};
#define MN_INSERT_MASTER \ #define MN_INSERT_MASTER \
MenuItem\ MenuItem\
{\ {\
...@@ -205,6 +213,7 @@ ...@@ -205,6 +213,7 @@
MN_DISPLAY_MASTER_OBJECTS\ MN_DISPLAY_MASTER_OBJECTS\
SEPARATOR\ SEPARATOR\
MN_INSERT_SLIDE\ MN_INSERT_SLIDE\
MN_DUPLICATE_SLIDE\
MN_DELETE_SLIDE\ MN_DELETE_SLIDE\
};\ };\
};\ };\
......
...@@ -294,6 +294,7 @@ Menu RID_SLIDE_SORTER_IMPRESS_SEL_POPUP ...@@ -294,6 +294,7 @@ Menu RID_SLIDE_SORTER_IMPRESS_SEL_POPUP
ItemList = ItemList =
{ {
MN_INSERT_SLIDE MN_INSERT_SLIDE
MN_DUPLICATE_SLIDE
MN_DELETE_SLIDE MN_DELETE_SLIDE
MN_RENAME_SLIDE MN_RENAME_SLIDE
SEPARATOR SEPARATOR
......
...@@ -1275,23 +1275,3 @@ String STRING_DRAG_AND_DROP_SLIDES ...@@ -1275,23 +1275,3 @@ String STRING_DRAG_AND_DROP_SLIDES
{ {
Text [ en-US ] = "Drag and Drop Slides" ; Text [ en-US ] = "Drag and Drop Slides" ;
}; };
String STRING_START_SLIDESHOW
{
Text [ en-US ] = "Start Slide Show" ;
};
String STRING_HIDE_SLIDE
{
Text [ en-US ] = "Hide Slide" ;
};
String STRING_SHOW_SLIDE
{
Text [ en-US ] = "Show Slide" ;
};
String STRING_DUPLICATE_SLIDE
{
Text [ en-US ] = "Duplicate Slide" ;
};
...@@ -411,12 +411,8 @@ ...@@ -411,12 +411,8 @@
#define STRING_DRAG_AND_DROP_PAGES (RID_APP_START+726) #define STRING_DRAG_AND_DROP_PAGES (RID_APP_START+726)
#define STRING_DRAG_AND_DROP_SLIDES (RID_APP_START+727) #define STRING_DRAG_AND_DROP_SLIDES (RID_APP_START+727)
#define STRING_START_SLIDESHOW (RID_APP_START+728)
#define STRING_HIDE_SLIDE (RID_APP_START+729)
#define STRING_SHOW_SLIDE (RID_APP_START+730)
#define STRING_DUPLICATE_SLIDE (RID_APP_START+731)
#define STR_ACC_DIALOG_DESC (RID_APP_START+732) #define STR_ACC_DIALOG_DESC (RID_APP_START+728)
/****************************************************************************** /******************************************************************************
* The ids in glob.hrc start at RID_APP_START+750! * The ids in glob.hrc start at RID_APP_START+750!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment