summaryrefslogtreecommitdiff
path: root/sd/sdi
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/sdi
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/sdi')
-rw-r--r--sd/sdi/SlideSorterController.sdi4
-rw-r--r--sd/sdi/drviewsh.sdi4
-rw-r--r--sd/sdi/outlnvsh.sdi4
-rw-r--r--sd/sdi/sdraw.sdi24
4 files changed, 36 insertions, 0 deletions
diff --git a/sd/sdi/SlideSorterController.sdi b/sd/sdi/SlideSorterController.sdi
index 85a0d801fd81..d1af8d0fdab8 100644
--- a/sd/sdi/SlideSorterController.sdi
+++ b/sd/sdi/SlideSorterController.sdi
@@ -294,6 +294,10 @@ interface SlideSorterView
ExecMethod = FuTemporary;
StateMethod = GetMenuState;
]
+ SID_PHOTOALBUM
+ [
+ ExecMethod = FuTemporary ;
+ ]
}
shell SlideSorterController
diff --git a/sd/sdi/drviewsh.sdi b/sd/sdi/drviewsh.sdi
index 5c1e2c3c197c..d4aab0e52965 100644
--- a/sd/sdi/drviewsh.sdi
+++ b/sd/sdi/drviewsh.sdi
@@ -213,6 +213,10 @@ interface ImpressEditView : DrawView
ExecMethod = ExecuteAnnotation;
StateMethod = GetAnnotationState;
]
+ SID_PHOTOALBUM
+ [
+ ExecMethod = FuTemporary ;
+ ]
}
shell DrawViewShell
diff --git a/sd/sdi/outlnvsh.sdi b/sd/sdi/outlnvsh.sdi
index 68c3b52278c9..9d2db2b11e47 100644
--- a/sd/sdi/outlnvsh.sdi
+++ b/sd/sdi/outlnvsh.sdi
@@ -527,6 +527,10 @@ interface OutlineView
ExecMethod = Execute ;
StateMethod = GetMenuState ;
]
+ SID_PHOTOALBUM
+ [
+ ExecMethod = FuTemporary;
+ ]
}
shell OutlineViewShell
diff --git a/sd/sdi/sdraw.sdi b/sd/sdi/sdraw.sdi
index d59d62d8df49..83b4d04d67a0 100644
--- a/sd/sdi/sdraw.sdi
+++ b/sd/sdi/sdraw.sdi
@@ -7227,3 +7227,27 @@ SfxVoidItem TaskPaneShowPanel SID_SHOW_TOOL_PANEL (
ToolBoxConfig = FALSE,
GroupId = GID_VIEW;
]
+//--------------------------------------------------------------------------
+SfxVoidItem PhotoAlbumDialog SID_PHOTOALBUM
+()
+[
+ /* flags: */
+ AutoUpdate = FALSE,
+ Cachable = Cachable,
+ FastCall = TRUE,
+ HasCoreId = FALSE,
+ HasDialog = TRUE,
+ ReadOnlyDoc = FALSE,
+ Toggle = FALSE,
+ Container = FALSE,
+ RecordAbsolute = FALSE,
+ RecordPerItem;
+ Synchron;
+
+ /* config: */
+ AccelConfig = FALSE,
+ MenuConfig = TRUE,
+ StatusBarConfig = FALSE,
+ ToolBoxConfig = TRUE,
+ GroupId = GID_OPTIONS;
+]