summaryrefslogtreecommitdiffstats
path: root/sd/inc
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/inc
parent-Werror=undef (diff)
downloadcore-7ef3b46fd5bdfb3a87e9b0a840287fdb6ff4734b.tar.gz
core-7ef3b46fd5bdfb3a87e9b0a840287fdb6ff4734b.zip
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/inc')
-rw-r--r--sd/inc/app.hrc2
-rw-r--r--sd/inc/sdabstdlg.hxx2
-rw-r--r--sd/inc/sdcommands.h1
3 files changed, 4 insertions, 1 deletions
diff --git a/sd/inc/app.hrc b/sd/inc/app.hrc
index a0a10872611a..5dc3b3d091ff 100644
--- a/sd/inc/app.hrc
+++ b/sd/inc/app.hrc
@@ -214,7 +214,6 @@
#define SID_LINE_ARROW_SQUARE (SID_SD_START+177)
#define SID_LINE_SQUARE_ARROW (SID_SD_START+178)
// and even more...
-
#define ID_VAL_ENDINTENS (SID_SD_START+197)
#define ID_VAL_STARTINTENS (SID_SD_START+198)
#define ID_VAL_BORDER (SID_SD_START+199)
@@ -356,6 +355,7 @@
#define SID_CUSTOM_ANIMATION_SCHEMES_PANEL (SID_SD_START+333)
#define SID_SLIDE_TRANSITIONS_PANEL (SID_SD_START+334)
// free
+#define SID_PHOTOALBUM (SID_SD_START+336)
#define SID_REMOTE_DLG (SID_SD_START+337)
#define SID_CONNECTION_DLG (SID_SD_START+338)
#define SID_PRESENTATION_DLG (SID_SD_START+339)
diff --git a/sd/inc/sdabstdlg.hxx b/sd/inc/sdabstdlg.hxx
index b3cde08b122b..4051149257d1 100644
--- a/sd/inc/sdabstdlg.hxx
+++ b/sd/inc/sdabstdlg.hxx
@@ -213,6 +213,8 @@ public:
virtual CreateTabPage GetSdOptionsMiscTabPageCreatorFunc() = 0;
virtual CreateTabPage GetSdOptionsSnapTabPageCreatorFunc() = 0;
+ virtual VclAbstractDialog* CreateSdPhotoAlbumDialog( ::Window* pWindow, SdDrawDocument* pDoc) = 0;
+
protected:
~SdAbstractDialogFactory() {}
};
diff --git a/sd/inc/sdcommands.h b/sd/inc/sdcommands.h
index 32a065f54585..daecfe819ffc 100644
--- a/sd/inc/sdcommands.h
+++ b/sd/inc/sdcommands.h
@@ -116,6 +116,7 @@
#define CMD_SID_TP_SHOW_LARGE_PREVIEW ".uno:TaskPaneShowLargePreview"
#define CMD_SID_TP_EDIT_MASTER ".uno:TaskPaneEditMaster"
#define CMD_SID_INSERTPAGE_LAYOUT_MENU ".uno:TaskPaneInsertPage"
+#define CMD_SID_PHOTOALBUM ".uno:PhotoAlbumDialog"
#endif