Kaydet (Commit) 054260cc authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS effectmigration01 (1.83.52); FILE MERGED

2005/03/14 13:27:37 cl 1.83.52.1: #i44578# use old slide transition effects for OOo export
üst e40906a3
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: sdpropls.cxx,v $ * $RCSfile: sdpropls.cxx,v $
* *
* $Revision: 1.83 $ * $Revision: 1.84 $
* *
* last change: $Author: rt $ $Date: 2005-01-28 15:35:56 $ * last change: $Author: rt $ $Date: 2005-03-29 14:13:48 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -1669,31 +1669,38 @@ void XMLPageExportPropertyMapper::ContextFilter( ...@@ -1669,31 +1669,38 @@ void XMLPageExportPropertyMapper::ContextFilter(
pTransType = property; pTransType = property;
break; break;
case CTF_PAGE_TRANS_STYLE: case CTF_PAGE_TRANS_STYLE:
(*property).mnIndex = -1; if( mrExport.getExportFlags() & EXPORT_OASIS )
(*property).mnIndex = -1;
break; break;
case CTF_PAGE_TRANSITION_TYPE: case CTF_PAGE_TRANSITION_TYPE:
{ {
if( ((*property).maValue >>= nTransitionType) && (nTransitionType == 0) ) if( ((mrExport.getExportFlags() & EXPORT_OASIS) == 0) ||
(*property).mnIndex = -1; ((*property).maValue >>= nTransitionType) && (nTransitionType == 0) )
(*property).mnIndex = -1;
} }
break; break;
case CTF_PAGE_TRANSITION_SUBTYPE: case CTF_PAGE_TRANSITION_SUBTYPE:
{ {
sal_Int16 nTransitionSubtype; sal_Int16 nTransitionSubtype;
if( ((*property).maValue >>= nTransitionSubtype) && (nTransitionSubtype == 0) ) if( ((mrExport.getExportFlags() & EXPORT_OASIS) == 0) ||
(*property).mnIndex = -1; ((*property).maValue >>= nTransitionSubtype) && (nTransitionSubtype == 0) )
(*property).mnIndex = -1;
} }
break; break;
case CTF_PAGE_TRANSITION_DIRECTION: case CTF_PAGE_TRANSITION_DIRECTION:
{ {
sal_Bool bDirection; sal_Bool bDirection;
if( ((*property).maValue >>= bDirection) && bDirection ) if( ((mrExport.getExportFlags() & EXPORT_OASIS) == 0) ||
(*property).mnIndex = -1; ((*property).maValue >>= bDirection) && bDirection )
(*property).mnIndex = -1;
} }
break; break;
case CTF_PAGE_TRANSITION_FADECOLOR: case CTF_PAGE_TRANSITION_FADECOLOR:
pTransitionFadeColor = property; if( ((mrExport.getExportFlags() & EXPORT_OASIS) == 0) )
(*property).mnIndex = -1;
else
pTransitionFadeColor = property;
break; break;
case CTF_PAGE_TRANS_SPEED: case CTF_PAGE_TRANS_SPEED:
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment