summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews6.cxx
diff options
context:
space:
mode:
authorGergő Mocsi <gmocsi91@gmail.com>2013-03-07 11:57:04 +0100
committerAndras Timar <atimar@suse.com>2013-03-20 11:46:43 +0000
commit7ef3b46fd5bdfb3a87e9b0a840287fdb6ff4734b (patch)
tree0c9f908a4d834d024e1d7b91650bca28d899e6e7 /sd/source/ui/view/drviews6.cxx
parent917b57001351d839fc091eab8ea4a97a0e77914e (diff)
fdo#35546, implementing 'Create Photo Album' function
Create a slideshow from a series of image files. Created the dialog window (called photoalbum.ui). Image preview is working. Options "Fit to slide" and "1 image and title" are implemented. Added a title page with the author's full name. TODO: 2 images / 4 images per slide i18n of messages UI tweaks Change-Id: I14b337187dc5d373fcd28489098fda813b5fd5f6 Reviewed-on: https://gerrit.libreoffice.org/2582 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
Diffstat (limited to 'sd/source/ui/view/drviews6.cxx')
-rw-r--r--sd/source/ui/view/drviews6.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviews6.cxx b/sd/source/ui/view/drviews6.cxx
index 5116d1b53c05..573190b01f2b 100644
--- a/sd/source/ui/view/drviews6.cxx
+++ b/sd/source/ui/view/drviews6.cxx
@@ -685,6 +685,19 @@ void DrawViewShell::FuTemp04(SfxRequest& rReq)
}
break;
+ case SID_PHOTOALBUM:
+ {
+ SdAbstractDialogFactory* pFact = SdAbstractDialogFactory::Create();
+ VclAbstractDialog* pDlg = pFact ? pFact->CreateSdPhotoAlbumDialog(GetActiveWindow(),
+ GetDoc()
+ ) : 0;
+ if (pDlg)
+ {
+ pDlg->Execute();
+ }
+ }
+ break;
+
default:
{
DBG_ASSERT( 0, "Slot without function" );