summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/transitions/transitionfactorytab.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@novell.com>2010-10-26 16:25:58 +0200
committerThorsten Behrens <tbehrens@novell.com>2010-10-26 16:25:58 +0200
commit7f5ebf8baeafd72ccc1fe81c99a4effa2c357712 (patch)
tree7b8f04ede8d87805bead488d755306a326337db9 /slideshow/source/engine/transitions/transitionfactorytab.cxx
parent8eddddda1d8e0a9401ae16e5c1fe422b2105f42a (diff)
MS interop: support for cutblack slidetransition added
Adds CUTBLACK slide transition to ppt import and slideshow
Diffstat (limited to 'slideshow/source/engine/transitions/transitionfactorytab.cxx')
-rw-r--r--slideshow/source/engine/transitions/transitionfactorytab.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/slideshow/source/engine/transitions/transitionfactorytab.cxx b/slideshow/source/engine/transitions/transitionfactorytab.cxx
index 50222d9c72e6..a59c6051aa5e 100644
--- a/slideshow/source/engine/transitions/transitionfactorytab.cxx
+++ b/slideshow/source/engine/transitions/transitionfactorytab.cxx
@@ -2016,6 +2016,20 @@ static const TransitionInfo lcl_transitionInfo[] =
true, // 'out' by parameter sweep inversion
false // scale isotrophically to target size
},
+ // this is the cut through black fade (does not fade, but does a
+ // hard cut)
+ {
+ animations::TransitionType::BARWIPE,
+ animations::TransitionSubType::FADEOVERCOLOR,
+ TransitionInfo::TRANSITION_SPECIAL,
+ // TODO(F2): Setup parameters
+ 0.0, // no rotation
+ 1.0, // no scaling
+ 1.0, // no scaling
+ TransitionInfo::REVERSEMETHOD_IGNORE,
+ true, // 'out' by parameter sweep inversion
+ false // scale isotrophically to target size
+ },
{
// mapped to RandomWipe: