LibreOffice Module sfx2 (master) 1
|
#include "filtergrouping.hxx"
#include <o3tl/safeint.hxx>
#include <sfx2/fcontnr.hxx>
#include <sfx2/filedlghelper.hxx>
#include <sfx2/strings.hrc>
#include <sfx2/docfilt.hxx>
#include <sfx2/sfxresid.hxx>
#include <sal/log.hxx>
#include <com/sun/star/ui/dialogs/XFilterGroupManager.hpp>
#include <com/sun/star/beans/StringPair.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <unotools/confignode.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/string.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <tools/debug.hxx>
#include <list>
#include <utility>
#include <vector>
#include <map>
#include <algorithm>
Go to the source code of this file.
Namespaces | |
namespace | sfx2 |
Typedefs | |
typedef StringPair | sfx2::FilterDescriptor |
Some general words about what's going on here... More... | |
typedef ::std::list< FilterDescriptor > | sfx2::FilterGroup |
typedef ::std::list< FilterGroup > | sfx2::GroupedFilterList |
typedef OUString | sfx2::FilterName |
the logical name of a filter More... | |
typedef ::std::map< OUString, FilterGroup::iterator > | sfx2::FilterGroupEntryReferrer |
typedef ::std::list< FilterClass > | sfx2::FilterClassList |
typedef ::std::map< OUString, FilterClassList::iterator > | sfx2::FilterClassReferrer |
typedef ::std::vector< ::std::pair< FilterGroupEntryReferrer::mapped_type, FilterGroup::iterator > > | sfx2::MapGroupEntry2GroupEntry |
Functions | |
static void | sfx2::lcl_ReadFilterClass (const OConfigurationNode &_rClassesNode, const OUString &_rLogicalClassName, FilterClass &_rClass) |
static void | sfx2::lcl_ReadGlobalFilters (const OConfigurationNode &_rFilterClassification, FilterClassList &_rGlobalClasses, std::vector< OUString > &_rGlobalClassNames) |
static void | sfx2::lcl_ReadLocalFilters (const OConfigurationNode &_rFilterClassification, FilterClassList &_rLocalClasses) |
static void | sfx2::lcl_ReadClassification (FilterClassList &_rGlobalClasses, std::vector< OUString > &_rGlobalClassNames, FilterClassList &_rLocalClasses) |
const sal_Unicode | sfx2::s_cWildcardSeparator (';') |
static OUString | sfx2::getSeparatorString () |
static void | sfx2::lcl_InitGlobalClasses (GroupedFilterList &_rAllFilters, const FilterClassList &_rGlobalClasses, FilterGroupEntryReferrer &_rGlobalClassesRef) |
static void | sfx2::lcl_GroupAndClassify (TSortedFilterList &_rFilterMatcher, GroupedFilterList &_rAllFilters) |
static bool | sfx2::lcl_hasAllFilesFilter (TSortedFilterList &_rFilterMatcher, OUString &_rAllFilterName) |
static void | sfx2::lcl_EnsureAllFilesEntry (TSortedFilterList &_rFilterMatcher, GroupedFilterList &_rFilters) |
void | sfx2::appendFiltersForSave (TSortedFilterList &_rFilterMatcher, const Reference< XFilterManager > &_rxFilterManager, OUString &_rFirstNonEmpty, FileDialogHelper_Impl &_rFileDlgImpl, std::u16string_view _rFactory) |
void | sfx2::appendExportFilters (TSortedFilterList &_rFilterMatcher, const Reference< XFilterManager > &_rxFilterManager, OUString &_rFirstNonEmpty, FileDialogHelper_Impl &_rFileDlgImpl) |
void | sfx2::appendFiltersForOpen (TSortedFilterList &_rFilterMatcher, const Reference< XFilterManager > &_rxFilterManager, OUString &_rFirstNonEmpty, FileDialogHelper_Impl &_rFileDlgImpl) |
OUString | sfx2::addExtension (const OUString &_rDisplayText, const OUString &_rExtension, bool _bForOpen, FileDialogHelper_Impl &_rFileDlgImpl) |
adds the given extension to the display text. More... | |
OUString& _rToBeExtended |
Definition at line 414 of file filtergrouping.cxx.
FilterGroupEntryReferrer::mapped_type aLookingFor |
Definition at line 537 of file filtergrouping.cxx.
Sequence< FilterName > aSubFilters |
Definition at line 142 of file filtergrouping.cxx.
OUString aUIName |
Definition at line 955 of file filtergrouping.cxx.
Referenced by sfx2::appendExportFilters(), ModelData_Impl::CheckFilter(), StyleList::FillTreeBox(), StyleList::getDefaultStyleName(), SfxFilter::GetUIName(), MakeTree_Impl(), SfxFilter::SetUIName(), and StyleList::UpdateStyles().
OUString aWildcard |
Definition at line 956 of file filtergrouping.cxx.
Referenced by sfx2::appendExportFilters(), and sfx2::FileDialogHelper::FileDialogHelper().
|
protected |
Definition at line 451 of file filtergrouping.cxx.
|
protected |
Definition at line 197 of file filtergrouping.cxx.
|
protected |
Definition at line 343 of file filtergrouping.cxx.
|
protected |
Definition at line 198 of file filtergrouping.cxx.
|
protected |
Definition at line 727 of file filtergrouping.cxx.
|
protected |
Definition at line 726 of file filtergrouping.cxx.
|
protected |
Definition at line 272 of file filtergrouping.cxx.
|
protected |
Definition at line 171 of file filtergrouping.cxx.
|
protected |
Definition at line 367 of file filtergrouping.cxx.
|
protected |
Definition at line 170 of file filtergrouping.cxx.
|
protected |
Definition at line 368 of file filtergrouping.cxx.
|
protected |
Definition at line 342 of file filtergrouping.cxx.
|
protected |
Definition at line 798 of file filtergrouping.cxx.
|
protected |
Definition at line 725 of file filtergrouping.cxx.
FilterGroup& rTarget |
Definition at line 557 of file filtergrouping.cxx.
Referenced by BackingWindow::dispatchURL(), SfxRedactionHelper::fillSearchOptions(), ShutdownIcon::OpenURL(), and SfxFrameHTMLWriter::Out_DocInfo().
OUString sDisplayName |
Definition at line 141 of file filtergrouping.cxx.