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

#include <fcontnr.hxx>

Public Member Functions

 SfxFilterContainer (const OUString &rName)
 
 ~SfxFilterContainer ()
 
OUString const & GetName () const
 
std::shared_ptr< const SfxFilterGetAnyFilter (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
 

Static Public Member Functions

static SAL_DLLPRIVATE void ReadFilters_Impl (bool bUpdate=false)
 
static SAL_DLLPRIVATE void ReadSingleFilter_Impl (const OUString &rName, const css::uno::Reference< css::container::XNameAccess > &xTypeCFG, const css::uno::Reference< css::container::XNameAccess > &xFilterCFG, bool bUpdate)
 
static SAL_DLLPRIVATE std::shared_ptr< const SfxFilterGetDefaultFilter_Impl (std::u16string_view)
 

Private Attributes

std::unique_ptr< SfxFilterContainer_ImplpImpl
 

Detailed Description

Definition at line 43 of file fcontnr.hxx.

Constructor & Destructor Documentation

◆ SfxFilterContainer()

SfxFilterContainer::SfxFilterContainer ( const OUString &  rName)

Definition at line 125 of file fltfnc.cxx.

◆ ~SfxFilterContainer()

SfxFilterContainer::~SfxFilterContainer ( )

Definition at line 131 of file fltfnc.cxx.

Member Function Documentation

◆ GetAnyFilter()

std::shared_ptr< const SfxFilter > SfxFilterContainer::GetAnyFilter ( SfxFilterFlags  nMust = SfxFilterFlags::IMPORT,
SfxFilterFlags  nDont = SFX_FILTER_NOTINSTALLED 
) const

Definition at line 118 of file fltfnc.cxx.

References SfxFilterMatcher::GetAnyFilter(), and pImpl.

Referenced by SfxObjectShell::SaveTo_Impl().

◆ GetDefaultFilter_Impl()

std::shared_ptr< const SfxFilter > SfxFilterContainer::GetDefaultFilter_Impl ( std::u16string_view  rName)
static

◆ GetFilter4EA()

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

Definition at line 100 of file fltfnc.cxx.

References SfxFilterMatcher::GetFilter4EA(), and pImpl.

◆ GetFilter4Extension()

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

Definition at line 106 of file fltfnc.cxx.

References SfxFilterMatcher::GetFilter4Extension(), and pImpl.

◆ GetFilter4FilterName()

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

◆ GetName()

OUString const & SfxFilterContainer::GetName ( ) const

Definition at line 136 of file fltfnc.cxx.

References pImpl.

◆ ReadFilters_Impl()

void SfxFilterContainer::ReadFilters_Impl ( bool  bUpdate = false)
static

◆ ReadSingleFilter_Impl()

void SfxFilterContainer::ReadSingleFilter_Impl ( const OUString &  rName,
const css::uno::Reference< css::container::XNameAccess > &  xTypeCFG,
const css::uno::Reference< css::container::XNameAccess > &  xFilterCFG,
bool  bUpdate 
)
static

Member Data Documentation

◆ pImpl

std::unique_ptr<SfxFilterContainer_Impl> SfxFilterContainer::pImpl
private

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