diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2005-03-29 13:13:48 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2005-03-29 13:13:48 +0000 |
commit | 054260ccb10eb1b1097f6962de19a153b0c87905 (patch) | |
tree | eea2db912601e092e25dd1f91e7a6d7ed20b744f /xmloff | |
parent | e40906a3e25a73c6fd969daa222028d423b6bf8e (diff) |
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
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/sdpropls.cxx | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/xmloff/source/draw/sdpropls.cxx b/xmloff/source/draw/sdpropls.cxx index 3006746b0ebb..ce0fb75b476f 100644 --- a/xmloff/source/draw/sdpropls.cxx +++ b/xmloff/source/draw/sdpropls.cxx @@ -2,9 +2,9 @@ * * $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 * either of the following licenses @@ -1669,31 +1669,38 @@ void XMLPageExportPropertyMapper::ContextFilter( pTransType = property; break; case CTF_PAGE_TRANS_STYLE: - (*property).mnIndex = -1; + if( mrExport.getExportFlags() & EXPORT_OASIS ) + (*property).mnIndex = -1; break; case CTF_PAGE_TRANSITION_TYPE: { - if( ((*property).maValue >>= nTransitionType) && (nTransitionType == 0) ) - (*property).mnIndex = -1; + if( ((mrExport.getExportFlags() & EXPORT_OASIS) == 0) || + ((*property).maValue >>= nTransitionType) && (nTransitionType == 0) ) + (*property).mnIndex = -1; } break; case CTF_PAGE_TRANSITION_SUBTYPE: { sal_Int16 nTransitionSubtype; - if( ((*property).maValue >>= nTransitionSubtype) && (nTransitionSubtype == 0) ) - (*property).mnIndex = -1; + if( ((mrExport.getExportFlags() & EXPORT_OASIS) == 0) || + ((*property).maValue >>= nTransitionSubtype) && (nTransitionSubtype == 0) ) + (*property).mnIndex = -1; } break; case CTF_PAGE_TRANSITION_DIRECTION: { sal_Bool bDirection; - if( ((*property).maValue >>= bDirection) && bDirection ) - (*property).mnIndex = -1; + if( ((mrExport.getExportFlags() & EXPORT_OASIS) == 0) || + ((*property).maValue >>= bDirection) && bDirection ) + (*property).mnIndex = -1; } break; case CTF_PAGE_TRANSITION_FADECOLOR: - pTransitionFadeColor = property; + if( ((mrExport.getExportFlags() & EXPORT_OASIS) == 0) ) + (*property).mnIndex = -1; + else + pTransitionFadeColor = property; break; case CTF_PAGE_TRANS_SPEED: { |