fuinsfil.cxx (79aad27f) | fuinsfil.cxx (4b085352) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 160 unchanged lines hidden (view full) --- 169 // get femplate filter 170 if( mpDoc->GetDocumentType() == DOCUMENT_TYPE_IMPRESS ) 171 pFilter = DrawDocShell::Factory().GetTemplateFilter(); 172 else 173 pFilter = GraphicDocShell::Factory().GetTemplateFilter(); 174 if( pFilter ) 175 xFilterManager->appendFilter( pFilter->GetUIName(), pFilter->GetDefaultExtension() ); 176 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 160 unchanged lines hidden (view full) --- 169 // get femplate filter 170 if( mpDoc->GetDocumentType() == DOCUMENT_TYPE_IMPRESS ) 171 pFilter = DrawDocShell::Factory().GetTemplateFilter(); 172 else 173 pFilter = GraphicDocShell::Factory().GetTemplateFilter(); 174 if( pFilter ) 175 xFilterManager->appendFilter( pFilter->GetUIName(), pFilter->GetDefaultExtension() ); 176 |
177 // get Powerpoint filter | 177 // get PowerPoint filter |
178 aExt = UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( ".ppt" ) ); 179 pFilter = aMatch.GetFilter4Extension( aExt ); 180 if( pFilter ) 181 xFilterManager->appendFilter( pFilter->GetUIName(), pFilter->GetDefaultExtension() ); 182 183 // Get other draw/impress filters 184 pFilter = aMatch.GetFilter4ClipBoardId( SOT_FORMATSTR_ID_STARIMPRESS_60, SFX_FILTER_IMPORT, SFX_FILTER_TEMPLATEPATH ); 185 if( pFilter ) --- 635 unchanged lines hidden --- | 178 aExt = UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( ".ppt" ) ); 179 pFilter = aMatch.GetFilter4Extension( aExt ); 180 if( pFilter ) 181 xFilterManager->appendFilter( pFilter->GetUIName(), pFilter->GetDefaultExtension() ); 182 183 // Get other draw/impress filters 184 pFilter = aMatch.GetFilter4ClipBoardId( SOT_FORMATSTR_ID_STARIMPRESS_60, SFX_FILTER_IMPORT, SFX_FILTER_TEMPLATEPATH ); 185 if( pFilter ) --- 635 unchanged lines hidden --- |