summaryrefslogtreecommitdiff
path: root/sd/source/filter/ppt/pptin.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 /sd/source/filter/ppt/pptin.cxx
parent8eddddda1d8e0a9401ae16e5c1fe422b2105f42a (diff)
MS interop: support for cutblack slidetransition added
Adds CUTBLACK slide transition to ppt import and slideshow
Diffstat (limited to 'sd/source/filter/ppt/pptin.cxx')
-rwxr-xr-x[-rw-r--r--]sd/source/filter/ppt/pptin.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index 1934e7142ffb..f1df8f80750b 100644..100755
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -1622,7 +1622,11 @@ void ImplSdPPTImport::ImportPageEffect( SdPage* pPage, const sal_Bool bNewAnimat
if ( nDirection == 0 )
pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_NONE ); // Direkt
else if ( nDirection == 1 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_NONE ); // Direkt ueber Schwarz
+ {
+ pPage->setTransitionType( animations::TransitionType::BARWIPE );
+ pPage->setTransitionSubtype( animations::TransitionSubType::FADEOVERCOLOR );
+ pPage->setTransitionFadeColor( 0 );
+ }
}
else
pPage->setTransitionType( 0 );