summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/ViewShell.hxx
diff options
context:
space:
mode:
authorAndre Fischer <af@openoffice.org>2010-03-11 18:35:45 +0100
committerAndre Fischer <af@openoffice.org>2010-03-11 18:35:45 +0100
commitab3853cc3cd60a0c9a98e20d00568fca99bb01dc (patch)
treebd3829e28957e83e414eb8092e27e035c649ebb2 /sd/source/ui/inc/ViewShell.hxx
parentb21a5ef9255b086a639c0d615f104062f92f4ab9 (diff)
renaissance1: #i107215# Duplicating several slides inserts them in single row after selection.
Diffstat (limited to 'sd/source/ui/inc/ViewShell.hxx')
-rw-r--r--sd/source/ui/inc/ViewShell.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx
index 130f4ed6cbcd..068968f625d9 100644
--- a/sd/source/ui/inc/ViewShell.hxx
+++ b/sd/source/ui/inc/ViewShell.hxx
@@ -461,6 +461,9 @@ public:
This page is either duplicated or becomes the predecessor of the
new slide. If NULL a duplication request is ignored. A new
slide is inserted as first slide.
+ @param nInsertPosition
+ When -1 (the default) then insert after pPage. Otherwise insert
+ before the given index (of a standard page).
@return
The new slide is returned. If for some reason a new page can
not be created then NULL is returned.
@@ -468,7 +471,8 @@ public:
virtual SdPage* CreateOrDuplicatePage (
SfxRequest& rRequest,
PageKind ePageKind,
- SdPage* pPage);
+ SdPage* pPage,
+ const sal_Int32 nInsertPosition = -1);
class Implementation;