/trunk/main/sd/source/ui/func/ |
H A D | fuinsfil.cxx | 157 if( pFilter ) in DoExecute() 162 if( pFilter ) in DoExecute() 174 if( pFilter ) in DoExecute() 180 if( pFilter ) in DoExecute() 185 if( pFilter ) in DoExecute() 189 if( pFilter ) in DoExecute() 193 if( pFilter ) in DoExecute() 197 if( pFilter ) in DoExecute() 201 if( pFilter ) in DoExecute() 205 if( pFilter ) in DoExecute() [all …]
|
/trunk/main/sfx2/source/bastyp/ |
H A D | fltfnc.cxx | 230 pFilter = 0; in GetDefaultFilter_Impl() 235 if (!pFilter) in GetDefaultFilter_Impl() 252 return pFilter; in GetDefaultFilter_Impl() 559 if ( !pFilter ) in DetectFilter() 615 …if ( !pFilter || (pFilter->GetFilterFlags() & nMust) != nMust || (pFilter->GetFilterFlags() & nDon… in GetFilterForProps() 655 return pFilter; in GetFilter4Mime() 719 return pFilter; in GetFilter4Extension() 831 if( pFilter && !pFilter->GetWildcard().Matches( String() ) && in IMPL_STATIC_LINK() 861 pFilter = 0; in Find_Impl() 864 return pFilter; in Find_Impl() [all …]
|
/trunk/main/filter/source/xsltdialog/ |
H A D | typedetectionimport.cxx | 99 if( pFilter ) in fillFilterVector() 100 rFilters.push_back( pFilter ); in fillFilterVector() 161 pFilter->maFilterName = pNode->maName; in createFilterForNode() 205 if( pFilter->maFilterName.getLength() == 0 ) in createFilterForNode() 208 if( pFilter->maInterfaceName.getLength() == 0 ) in createFilterForNode() 211 if( pFilter->maType.getLength() == 0 ) in createFilterForNode() 214 if( pFilter->maFlags == 0 ) in createFilterForNode() 223 if( pFilter->maExtension.getLength() == 0 ) in createFilterForNode() 228 delete pFilter; in createFilterForNode() 229 pFilter = NULL; in createFilterForNode() [all …]
|
H A D | typedetectionexport.cxx | 132 const filter_info_impl* pFilter = (*aIter); in doExport() local 141 if( pFilter->maDocType.getLength() ) in doExport() 144 sValue += pFilter->maDocType; in doExport() 148 sValue += pFilter->maExtension; in doExport() 185 sValue += pFilter->maType; in doExport() 187 sValue += pFilter->maDocumentService; in doExport() 203 sValue += createRelativeURL( pFilter->maFilterName, pFilter->maImportXSLT ); in doExport() 205 sValue += createRelativeURL( pFilter->maFilterName, pFilter->maExportXSLT ); in doExport() 207 sValue += createRelativeURL( pFilter->maFilterName, pFilter->maDTD ); in doExport() 209 sValue += pFilter->maComment; in doExport() [all …]
|
H A D | xmlfilterjar.cxx | 202 const filter_info_impl* pFilter = (*aIter); in savePackage() local 208 if( pFilter->maDTD.getLength() ) in savePackage() 209 addFile( xFilterRoot, xFactory, pFilter->maDTD ); in savePackage() 211 if( pFilter->maExportXSLT.getLength() ) in savePackage() 212 addFile( xFilterRoot, xFactory, pFilter->maExportXSLT ); in savePackage() 215 if( pFilter->maImportXSLT.getLength() ) in savePackage() 216 addFile( xFilterRoot, xFactory, pFilter->maImportXSLT ); in savePackage() 225 if( pFilter->maImportTemplate.getLength() ) in savePackage() 342 bool bOk = copyFile( xIfc, pFilter->maDTD, sDTDPath ); in copyFiles() 345 bOk = copyFile( xIfc, pFilter->maExportXSLT, sXSLTPath ); in copyFiles() [all …]
|
/trunk/main/sd/source/filter/ |
H A D | sddetect.cxx | 198 const SfxFilter* pFilter = 0; in detect() local 276 if ( pFilter && !pFilter->GetFormat() ) in detect() 278 pFilter = 0; in detect() 285 if ( pFilter ) in detect() 321 pFilter = 0; in detect() 332 pFilter = 0; in detect() 335 if ( !pFilter && aTypeName.Len() ) in detect() 351 pFilter = 0; in detect() 380 pFilter = 0; in detect() 496 if ( pFilter ) in detect() [all …]
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | scdetect.cxx | 242 if ( !pFilter ) 248 String aName(pFilter->GetFilterName()); 343 const SfxFilter* pFilter = 0; in detect() local 350 pFilter = SfxFilter::GetDefaultFilterFromFactory( aURL ); in detect() 359 pFilter = aMatcher.GetFilter4EA( aTypeName ); in detect() 407 if ( pFilter ) in detect() 409 …aTypeName = SfxFilter::GetTypeFromStorage( xStorage, pFilter ? pFilter->IsOwnTemplateFormat() : sa… in detect() 467 pFilter = 0; in detect() 786 if (!pFilter) in detect() 888 if ( pFilter ) in detect() [all …]
|
/trunk/main/sw/source/filter/basflt/ |
H A D | iodetect.cxx | 127 while ( pFilter ) in GetFilterOfFormat() 130 return pFilter; in GetFilterOfFormat() 131 pFilter = aIter.Next(); in GetFilterOfFormat() 301 if ( !pFilter ) in GetFileFilter() 327 while ( pFilter ) in GetFileFilter() 329 … if( 'C' == *pFilter->GetUserData().GetBuffer() && IsValidStgFilter( xStor, *pFilter ) ) in GetFileFilter() 335 return pFilter; in GetFileFilter() 338 pFilter = aIter.Next(); in GetFileFilter() 354 while ( pFilter ) in GetFileFilter() 356 … if( 'C' == *pFilter->GetUserData().GetBuffer() && IsValidStgFilter( *xStg, *pFilter ) ) in GetFileFilter() [all …]
|
/trunk/main/sw/source/ui/uno/ |
H A D | swdetect.cxx | 183 const SfxFilter* pFilter = 0; in detect() local 328 …sal_Bool bTestWriter = !pFilter || pFilter->GetServiceName().EqualsAscii("com.sun.star.text.TextDo… in detect() 330 …sal_Bool bTestGlobal = !pFilter || pFilter->GetServiceName().EqualsAscii("com.sun.star.text.Global… in detect() 338 pOrigFilter = pFilter; in detect() 339 pFilter = SfxFilterMatcher().GetFilter4EA( pFilter->GetTypeName() ); in detect() 344 if ( pFilter || bTestWriter ) in detect() 347 pFilter = NULL; in detect() 348 … else if ( pOrigFilter && pFilter && pFilter->GetTypeName() == pOrigFilter->GetTypeName() ) in detect() 350 pFilter = pOrigFilter; in detect() 353 if ( pFilter ) in detect() [all …]
|
/trunk/main/sfx2/source/view/ |
H A D | frmload.cxx | 141 if ( pFilter ) in impl_detectFilterForURL() 142 sFilter = pFilter->GetName(); in impl_detectFilterForURL() 155 const SfxFilter* pFilter = 0; in impl_detectFilterForURL() local 158 return pFilter; in impl_detectFilterForURL() 187 if ( !pFilter ) in impl_getFilterFromServiceName_nothrow() 195 return pFilter; in impl_getFilterFromServiceName_nothrow() 272 const SfxFilter* pFilter = NULL; in impl_determineFilter() local 279 if ( !pFilter && sTypeName.getLength() ) in impl_determineFilter() 280 pFilter = rMatcher.GetFilter4EA( sTypeName ); in impl_determineFilter() 283 if ( !pFilter && sServiceName.getLength() ) in impl_determineFilter() [all …]
|
H A D | orgmgr.cxx | 306 const SfxFilter* pFilter = NULL; in CreateObjectShell() local 309 pSfxApp->GetFilterMatcher().GuessFilter(*pMed, &pFilter, SFX_FILTER_TEMPLATE, 0) || in CreateObjectShell() 310 (pFilter && !pFilter->IsOwnFormat()) || in CreateObjectShell() 311 (pFilter && !pFilter->UsesStorage()) in CreateObjectShell() 322 if ( pFilter ) in CreateObjectShell() 325 …pEntry->aDocShell = SfxObjectShell::CreateObject( pFilter->GetServiceName(), SFX_CREATE_MODE_ORGAN… in CreateObjectShell()
|
/trunk/main/sfx2/source/doc/ |
H A D | docfilt.cxx | 168 if ( pFilter ) in GetTypeFromStorage() 169 return pFilter->GetTypeName(); in GetTypeFromStorage() 211 const SfxFilter* pFilter = 0; in GetTypeFromStorage() local 214 pFilter = aMatcher.GetFilter4FilterName( aName, nMust, nDont ); in GetTypeFromStorage() 216 if ( !pFilter || pFilter->GetFormat() != nClipId ) in GetTypeFromStorage() 219 pFilter = aMatcher.GetFilter4ClipBoardId( nClipId, nMust, nDont ); in GetTypeFromStorage() 220 if ( !pFilter ) in GetTypeFromStorage() 223 pFilter = aMatcher.GetFilter4ClipBoardId( nClipId ); in GetTypeFromStorage() 226 if ( pFilter ) in GetTypeFromStorage() 229 *pFilterName = pFilter->GetName(); in GetTypeFromStorage() [all …]
|
H A D | docinsert.cxx | 119 const SfxFilter* pFilter = NULL; in CreateMedium() local 120 sal_uInt32 nError = pMatcher->DetectFilter( *pMedium, &pFilter, sal_False ); in CreateMedium() 121 if ( nError == ERRCODE_NONE && pFilter ) in CreateMedium() 122 pMedium->SetFilter( pFilter ); in CreateMedium() 152 const SfxFilter* pFilter = NULL; in CreateMediumList() local 153 sal_uInt32 nError = aMatcher.DetectFilter( *pMedium, &pFilter, sal_False ); in CreateMediumList() 154 if ( nError == ERRCODE_NONE && pFilter ) in CreateMediumList() 155 pMedium->SetFilter( pFilter ); in CreateMediumList()
|
H A D | objstor.cxx | 601 const SfxFilter* pFilter = pMed->GetFilter(); in DoLoad() local 1153 const SfxFilter *pFilter = rMedium.GetFilter(); in SaveTo_Impl() local 1154 if ( !pFilter ) in SaveTo_Impl() 1160 rMedium.SetFilter(pFilter); in SaveTo_Impl() 1448 pFilter = rMedium.GetFilter(); in SaveTo_Impl() 2739 const SfxFilter *pFilter = NULL; in Save_Impl() local 2806 if ( !pFilter in CommonSaveAs_Impl() 2807 || !pFilter->CanExport() in CommonSaveAs_Impl() 2808 || (!bSaveTo && !pFilter->CanImport()) ) in CommonSaveAs_Impl() 2891 if ( pFilter->IsOwnFormat() in CommonSaveAs_Impl() [all …]
|
/trunk/main/sw/source/core/doc/ |
H A D | docglbl.cxx | 159 const SfxFilter* pFilter; in SplitDoc() local 169 pFilter = SwIoSystem::GetFilterOfFormat( in SplitDoc() 175 if( !pFilter ) in SplitDoc() 308 pTmpMed->SetFilter( pFilter ); in SplitDoc() 487 pFilter = pFCntnr->GetFilter4EA( pFilter->GetTypeName(), SFX_FILTER_EXPORT ); in SplitDoc() 502 if(pFilter) in SplitDoc() 520 const SfxFilter* pFilter; in SplitDoc() local 536 if( !pFilter ) in SplitDoc() 659 pTmpMed->SetFilter( pFilter ); in SplitDoc() 831 pFilter = pFCntnr->GetFilter4EA( pFilter->GetTypeName(), SFX_FILTER_EXPORT ); in SplitDoc() [all …]
|
/trunk/main/sfx2/source/dialog/ |
H A D | filtergrouping.cxx | 626 …for ( const SfxFilter* pFilter = _rFilterMatcher.First(); pFilter; pFilter = _rFilterMatcher.Next(… in lcl_GroupAndClassify() local 628 sFilterName = pFilter->GetFilterName(); in lcl_GroupAndClassify() 629 sFilterWildcard = pFilter->GetWildcard().GetWildCard(); in lcl_GroupAndClassify() 636 String aServiceName = pFilter->GetServiceName(); in lcl_GroupAndClassify() 787 …for ( const SfxFilter* pFilter = _rFilterMatcher.First(); pFilter && !bHasAll; pFilter = _rFilterM… in lcl_hasAllFilesFilter() local 789 if ( pFilter->GetUIName() == _rAllFilterName ) in lcl_hasAllFilesFilter() 986 …for ( const SfxFilter* pFilter = _rFilterMatcher.First(); pFilter; pFilter = _rFilterMatcher.Next(… in appendFiltersForSave() local 1047 …for ( const SfxFilter* pFilter = _rFilterMatcher.First(); pFilter; pFilter = _rFilterMatcher.Next(… in appendExportFilters() local 1049 sTypeName = pFilter->GetTypeName(); in appendExportFilters() 1050 sUIName = pFilter->GetUIName(); in appendExportFilters() [all …]
|
/trunk/main/cppu/source/uno/ |
H A D | lbenv.cxx | 665 if (pFilter && *pFilter) in writeLine() 670 if (*pLine == *pFilter) in writeLine() 673 while (pLine[nPos] && pFilter[nPos] == pLine[nPos]) in writeLine() 677 if (! pFilter[nPos]) in writeLine() 712 writeLine( stream, aLine.getStr(), pFilter ); in writeLine() 729 writeLine( stream, buf.makeStringAndClear(), pFilter ); in uno_dumpEnvironment() 738 writeLine( stream, buf.makeStringAndClear(), pFilter ); in uno_dumpEnvironment() 758 writeLine( stream, buf.makeStringAndClear(), pFilter ); in uno_dumpEnvironment() 797 writeLine( stream, "ptr map inconsistency!!!", pFilter ); in uno_dumpEnvironment() 811 ::uno_dumpEnvironment( stream, pEnv, pFilter ); in uno_dumpEnvironmentByName() [all …]
|
/trunk/main/sfx2/source/appl/ |
H A D | opengrf.cxx | 125 GraphicFilter* pFilter = GraphicFilter::GetGraphicFilter(); in Execute() local 130 sal_uInt16 nFormatNum = pFilter->GetImportFormatNumber( aCurFilter ); in Execute() 142 …nImpRet = pFilter->CanImportGraphic( aObj.GetMainURL( INetURLObject::NO_DECODE ), *pStream, nForma… in Execute() 144 nImpRet = pFilter->CanImportGraphic( aObj, nFormatNum, &nRetFormat ); in Execute() 149 nImpRet = pFilter->CanImportGraphic( aObj, GRFILTER_FORMAT_DONTKNOW, &nRetFormat ); in Execute() 151 nImpRet = pFilter->CanImportGraphic( aObj.GetMainURL( INetURLObject::NO_DECODE ), *pStream, in Execute() 157 if( (nImpRet=pFilter->CanImportGraphic( aObj, nFormatNum, &nRetFormat )) != GRFILTER_OK ) in Execute() 158 nImpRet = pFilter->CanImportGraphic( aObj, GRFILTER_FORMAT_DONTKNOW, &nRetFormat ); in Execute() 173 if( pFilter->GetImportFormatCount() ) in Execute() 175 String aFormatName(pFilter->GetImportFormatName(nFound)); in Execute()
|
H A D | sfxpicklist.cxx | 403 const SfxFilter* pFilter = pMed->GetOrigFilter(); in Notify() local 404 if ( pFilter ) in Notify() 405 aFilter = pFilter->GetFilterName(); in Notify() 450 const SfxFilter* pFilter = pMed->GetOrigFilter(); in Notify() local 451 if ( pFilter ) in Notify() 452 aFilter = pFilter->GetFilterName(); in Notify() 464 …ecentDocumentList( aURL.GetURLNoPass( INetURLObject::NO_DECODE ), (pFilter) ? pFilter->GetMimeType… in Notify()
|
/trunk/main/starmath/source/ |
H A D | smdetect.cxx | 179 const SfxFilter* pFilter = 0; in detect() local 184 pFilter = SfxFilter::GetDefaultFilterFromFactory( aURL ); in detect() 185 aTypeName = pFilter->GetTypeName(); in detect() 186 aFilterName = pFilter->GetName(); in detect() 238 const SfxFilter* pFilter = aPreselectedFilterName.Len() ? in detect() local 242 if ( pFilter ) in detect() 243 aTmpFilterName = pFilter->GetName(); in detect() 244 …aTypeName = SfxFilter::GetTypeFromStorage( xStorage, pFilter ? pFilter->IsAllowedAsTemplate() : sa… in detect() 292 const SfxFilter* pFilter = in detect() local 294 if ( pFilter ) in detect() [all …]
|
/trunk/main/sdext/source/pdfimport/pdfparse/ |
H A D | pdfentries.cxx | 697 PDFName* pFilter = dynamic_cast<PDFName*>(it->second); in getDeflatedStream() local 698 if( ! pFilter ) in getDeflatedStream() 703 pFilter = dynamic_cast<PDFName*>(pArray->m_aSubElements.front()); in getDeflatedStream() 708 if( pFilter && pFilter->m_aName.equals( "FlateDecode" ) ) in getDeflatedStream() 862 PDFName* pFilter = dynamic_cast<PDFName*>(it->second); in emit() local 863 if( pFilter && pFilter->m_aName.equals( "FlateDecode" ) ) in emit() 871 if( pFilter && pFilter->m_aName.equals( "FlateDecode" ) ) in emit() 873 delete pFilter; in emit() 1367 PDFName* pFilter = dynamic_cast<PDFName*>(filter->second); in impl_getData() local 1368 if( pFilter && pFilter->getFilteredName().equalsAscii( "Standard" ) ) in impl_getData() [all …]
|
/trunk/main/sd/source/ui/docshell/ |
H A D | docshel4.cxx | 629 SdFilter* pFilter = NULL; in ConvertTo() local 637 pFilter = new SdPPTFilter( rMedium, *this, sal_True ); in ConvertTo() 638 ((SdPPTFilter*)pFilter)->PreSaveBasic(); in ConvertTo() 642 pFilter = new SdCGMFilter( rMedium, *this, sal_True ); in ConvertTo() 647 pFilter = new SdXMLFilter( rMedium, *this, sal_True ); in ConvertTo() 658 pFilter = new SdGRFFilter( rMedium, *this ); in ConvertTo() 661 if( pFilter ) in ConvertTo() 667 bRet = pFilter->Export(); in ConvertTo() 671 delete pFilter; in ConvertTo() 1170 const SfxFilter* pFilter = rMedium.GetFilter(); in SaveAsOwnFormat() local [all …]
|
/trunk/main/extensions/source/abpilot/ |
H A D | abpfinalpage.cxx | 52 const SfxFilter* pFilter = SfxFilter::GetFilterByName( s_sDatabaseType); in lcl_getBaseFilter() local 53 OSL_ENSURE(pFilter,"Filter: StarOffice XML (Base) could not be found!"); in lcl_getBaseFilter() 54 return pFilter; in lcl_getBaseFilter() 108 const SfxFilter* pFilter = lcl_getBaseFilter(); in setFields() local 109 if ( pFilter ) in setFields() 111 String sExt = pFilter->GetDefaultExtension(); in setFields()
|
/trunk/main/svx/source/unodraw/ |
H A D | UnoGraphicExporter.cxx | 1068 GraphicFilter* pFilter = GraphicFilter::GetGraphicFilter(); in filter() local 1070 if( NULL == pFilter || NULL == mpUnoPage->GetSdrPage() || NULL == mpDoc ) in filter() 1078 ? pFilter->GetExportFormatNumberForMediaType( aSettings.maMediaType ) in filter() 1079 : pFilter->GetExportFormatNumberForShortName( aSettings.maFilterName ); in filter() 1080 sal_Bool bVectorType = !pFilter->IsExportPixelFormat( nFilter ); in filter() 1286 GraphicFilter* pFilter = GraphicFilter::GetGraphicFilter(); in supportsMimeType() local 1287 sal_uInt16 nCount = pFilter->GetExportFormatCount(); in supportsMimeType() 1291 if( aMimeTypeName.Equals( pFilter->GetExportFormatMediaType( nFilter ) ) ) in supportsMimeType() 1302 GraphicFilter* pFilter = GraphicFilter::GetGraphicFilter(); in getSupportedMimeTypeNames() local 1303 sal_uInt16 nCount = pFilter->GetExportFormatCount(); in getSupportedMimeTypeNames() [all …]
|
/trunk/main/sc/source/filter/excel/ |
H A D | colrowst.cxx | 295 const XclImpAutoFilterData* pFilter = GetFilterManager().GetByTab( nScTab ); in ConvertHiddenFlags() local 297 if( pFilter && pFilter->IsActive() && pFilter->IsFiltered() ) in ConvertHiddenFlags() 299 nFirstFilterScRow = pFilter->StartRow(); in ConvertHiddenFlags() 300 nLastFilterScRow = pFilter->EndRow(); in ConvertHiddenFlags()
|