LibreOffice Module sfx2 (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
SfxFilterMatcher Class Reference

#include <fcontnr.hxx>

Collaboration diagram for SfxFilterMatcher:
[legend]

Public Member Functions

 SfxFilterMatcher (const OUString &rFact)
 
 SfxFilterMatcher ()
 
 ~SfxFilterMatcher ()
 
 SfxFilterMatcher (const SfxFilterMatcher &)=delete
 
SfxFilterMatcheroperator= (const SfxFilterMatcher &)=delete
 
 DECL_DLLPRIVATE_LINK (MaybeFileHdl_Impl, OUString *, bool)
 
ErrCode GuessFilterIgnoringContent (SfxMedium const &rMedium, std::shared_ptr< const SfxFilter > &) const
 
ErrCode GuessFilter (SfxMedium &rMedium, std::shared_ptr< const SfxFilter > &, SfxFilterFlags nMust=SfxFilterFlags::IMPORT, SfxFilterFlags nDont=SFX_FILTER_NOTINSTALLED) const
 
ErrCode GuessFilterControlDefaultUI (SfxMedium &rMedium, std::shared_ptr< const SfxFilter > &, SfxFilterFlags nMust=SfxFilterFlags::IMPORT, SfxFilterFlags nDont=SFX_FILTER_NOTINSTALLED) const
 
ErrCode DetectFilter (SfxMedium &rMedium, std::shared_ptr< const SfxFilter > &) const
 
std::shared_ptr< const SfxFilterGetFilter4Mime (const OUString &rMime, SfxFilterFlags nMust=SfxFilterFlags::IMPORT, SfxFilterFlags nDont=SFX_FILTER_NOTINSTALLED) const
 
std::shared_ptr< const SfxFilterGetFilter4ClipBoardId (SotClipboardFormatId nId, SfxFilterFlags nMust=SfxFilterFlags::IMPORT, SfxFilterFlags nDont=SFX_FILTER_NOTINSTALLED) const
 
std::shared_ptr< const SfxFilterGetFilter4EA (const OUString &rEA, SfxFilterFlags nMust=SfxFilterFlags::IMPORT, SfxFilterFlags nDont=SFX_FILTER_NOTINSTALLED) const
 
std::shared_ptr< const SfxFilterGetFilter4Extension (const OUString &rExt, SfxFilterFlags nMust=SfxFilterFlags::IMPORT, SfxFilterFlags nDont=SFX_FILTER_NOTINSTALLED) const
 
std::shared_ptr< const SfxFilterGetFilter4FilterName (const OUString &rName, SfxFilterFlags nMust=SfxFilterFlags::NONE, SfxFilterFlags nDont=SFX_FILTER_NOTINSTALLED) const
 
std::shared_ptr< const SfxFilterGetFilter4UIName (std::u16string_view rName, SfxFilterFlags nMust=SfxFilterFlags::NONE, SfxFilterFlags nDont=SFX_FILTER_NOTINSTALLED) const
 
std::shared_ptr< const SfxFilterGetFilterForProps (const css::uno::Sequence< css::beans::NamedValue > &aSeq, SfxFilterFlags nMust=SfxFilterFlags::NONE, SfxFilterFlags nDont=SFX_FILTER_NOTINSTALLED) const
 
std::shared_ptr< const SfxFilterGetAnyFilter (SfxFilterFlags nMustg=SfxFilterFlags::NONE, SfxFilterFlags nDont=SFX_FILTER_NOTINSTALLED) const
 

Static Public Member Functions

static SAL_DLLPRIVATE bool IsFilterInstalled_Impl (const std::shared_ptr< const SfxFilter > &pFilter)
 

Private Attributes

SfxFilterMatcher_Implm_rImpl
 

Friends

class SfxFilterMatcherIter
 

Detailed Description

Definition at line 69 of file fcontnr.hxx.

Constructor & Destructor Documentation

◆ SfxFilterMatcher() [1/3]

SfxFilterMatcher::SfxFilterMatcher ( const OUString &  rFact)

Definition at line 242 of file fltfnc.cxx.

◆ SfxFilterMatcher() [2/3]

SfxFilterMatcher::SfxFilterMatcher ( )

Definition at line 248 of file fltfnc.cxx.

◆ ~SfxFilterMatcher()

SfxFilterMatcher::~SfxFilterMatcher ( )

Definition at line 256 of file fltfnc.cxx.

◆ SfxFilterMatcher() [3/3]

SfxFilterMatcher::SfxFilterMatcher ( const SfxFilterMatcher )
delete

Member Function Documentation

◆ DECL_DLLPRIVATE_LINK()

SfxFilterMatcher::DECL_DLLPRIVATE_LINK ( MaybeFileHdl_Impl  ,
OUString *  ,
bool   
)

◆ DetectFilter()

ErrCode SfxFilterMatcher::DetectFilter ( SfxMedium rMedium,
std::shared_ptr< const SfxFilter > &  rpFilter 
) const

◆ GetAnyFilter()

std::shared_ptr< const SfxFilter > SfxFilterMatcher::GetAnyFilter ( SfxFilterFlags  nMustg = SfxFilterFlags::NONE,
SfxFilterFlags  nDont = SFX_FILTER_NOTINSTALLED 
) const

◆ GetFilter4ClipBoardId()

std::shared_ptr< const SfxFilter > SfxFilterMatcher::GetFilter4ClipBoardId ( SotClipboardFormatId  nId,
SfxFilterFlags  nMust = SfxFilterFlags::IMPORT,
SfxFilterFlags  nDont = SFX_FILTER_NOTINSTALLED 
) const

◆ GetFilter4EA()

std::shared_ptr< const SfxFilter > SfxFilterMatcher::GetFilter4EA ( const OUString &  rEA,
SfxFilterFlags  nMust = SfxFilterFlags::IMPORT,
SfxFilterFlags  nDont = SFX_FILTER_NOTINSTALLED 
) const

◆ GetFilter4Extension()

std::shared_ptr< const SfxFilter > SfxFilterMatcher::GetFilter4Extension ( const OUString &  rExt,
SfxFilterFlags  nMust = SfxFilterFlags::IMPORT,
SfxFilterFlags  nDont = SFX_FILTER_NOTINSTALLED 
) const

◆ GetFilter4FilterName()

std::shared_ptr< const SfxFilter > SfxFilterMatcher::GetFilter4FilterName ( const OUString &  rName,
SfxFilterFlags  nMust = SfxFilterFlags::NONE,
SfxFilterFlags  nDont = SFX_FILTER_NOTINSTALLED 
) const

◆ GetFilter4Mime()

std::shared_ptr< const SfxFilter > SfxFilterMatcher::GetFilter4Mime ( const OUString &  rMime,
SfxFilterFlags  nMust = SfxFilterFlags::IMPORT,
SfxFilterFlags  nDont = SFX_FILTER_NOTINSTALLED 
) const

Definition at line 619 of file fltfnc.cxx.

References aSeq, GetFilterForProps(), m_rImpl, and SfxFilterMatcher_Impl::pList.

Referenced by SfxObjectShell::APISaveAs_Impl().

◆ GetFilter4UIName()

std::shared_ptr< const SfxFilter > SfxFilterMatcher::GetFilter4UIName ( std::u16string_view  rName,
SfxFilterFlags  nMust = SfxFilterFlags::NONE,
SfxFilterFlags  nDont = SFX_FILTER_NOTINSTALLED 
) const

◆ GetFilterForProps()

std::shared_ptr< const SfxFilter > SfxFilterMatcher::GetFilterForProps ( const css::uno::Sequence< css::beans::NamedValue > &  aSeq,
SfxFilterFlags  nMust = SfxFilterFlags::NONE,
SfxFilterFlags  nDont = SFX_FILTER_NOTINSTALLED 
) const

◆ GuessFilter()

ErrCode SfxFilterMatcher::GuessFilter ( SfxMedium rMedium,
std::shared_ptr< const SfxFilter > &  rpFilter,
SfxFilterFlags  nMust = SfxFilterFlags::IMPORT,
SfxFilterFlags  nDont = SFX_FILTER_NOTINSTALLED 
) const

◆ GuessFilterControlDefaultUI()

ErrCode SfxFilterMatcher::GuessFilterControlDefaultUI ( SfxMedium rMedium,
std::shared_ptr< const SfxFilter > &  rpFilter,
SfxFilterFlags  nMust = SfxFilterFlags::IMPORT,
SfxFilterFlags  nDont = SFX_FILTER_NOTINSTALLED 
) const

◆ GuessFilterIgnoringContent()

ErrCode SfxFilterMatcher::GuessFilterIgnoringContent ( SfxMedium const &  rMedium,
std::shared_ptr< const SfxFilter > &  rpFilter 
) const

◆ IsFilterInstalled_Impl()

bool SfxFilterMatcher::IsFilterInstalled_Impl ( const std::shared_ptr< const SfxFilter > &  pFilter)
static

Definition at line 440 of file fltfnc.cxx.

References Application::CreateMessageDialog(), RET_YES, and SfxResId().

◆ operator=()

SfxFilterMatcher & SfxFilterMatcher::operator= ( const SfxFilterMatcher )
delete

Friends And Related Function Documentation

◆ SfxFilterMatcherIter

friend class SfxFilterMatcherIter
friend

Definition at line 71 of file fcontnr.hxx.

Member Data Documentation

◆ m_rImpl

SfxFilterMatcher_Impl& SfxFilterMatcher::m_rImpl
private

The documentation for this class was generated from the following files: