20#ifndef INCLUDED_SFX2_SOURCE_DIALOG_FILTERGROUPING_HXX
21#define INCLUDED_SFX2_SOURCE_DIALOG_FILTERGROUPING_HXX
23#include <com/sun/star/ui/dialogs/XFilterManager.hpp>
24#include <com/sun/star/container/XEnumeration.hpp>
40 explicit TSortedFilterList(
const css::uno::Reference< css::container::XEnumeration >& xFilterList);
41 std::shared_ptr<const SfxFilter>
First();
42 std::shared_ptr<const SfxFilter>
Next();
54 const css::uno::Reference< css::ui::dialogs::XFilterManager >& _rFilterManager,
55 OUString& _rFirstNonEmpty,
57 std::u16string_view _rFactory
62 const css::uno::Reference< css::ui::dialogs::XFilterManager >& _rFilterManager,
63 OUString& _rFirstNonEmpty,
73 const css::uno::Reference< css::ui::dialogs::XFilterManager >& _rFilterManager,
74 OUString& _rFirstNonEmpty,
83 const OUString& _rDisplayText,
84 const OUString& _rExtension,
std::shared_ptr< const SfxFilter > impl_getFilter(sal_Int32 nIndex)
::std::vector< OUString > m_lFilters
std::shared_ptr< const SfxFilter > First()
std::shared_ptr< const SfxFilter > Next()
TSortedFilterList(const css::uno::Reference< css::container::XEnumeration > &xFilterList)
OUString addExtension(const OUString &_rDisplayText, const OUString &_rExtension, bool _bForOpen, FileDialogHelper_Impl &_rFileDlgImpl)
adds the given extension to the display text.
void appendFiltersForOpen(TSortedFilterList &_rFilterMatcher, const Reference< XFilterManager > &_rxFilterManager, OUString &_rFirstNonEmpty, FileDialogHelper_Impl &_rFileDlgImpl)
void appendExportFilters(TSortedFilterList &_rFilterMatcher, const Reference< XFilterManager > &_rxFilterManager, OUString &_rFirstNonEmpty, FileDialogHelper_Impl &_rFileDlgImpl)
void appendFiltersForSave(TSortedFilterList &_rFilterMatcher, const Reference< XFilterManager > &_rxFilterManager, OUString &_rFirstNonEmpty, FileDialogHelper_Impl &_rFileDlgImpl, std::u16string_view _rFactory)