/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef INCLUDED_SFX2_SOURCE_DIALOG_FILTERGROUPING_HXX #define INCLUDED_SFX2_SOURCE_DIALOG_FILTERGROUPING_HXX #include #include #include "filedlgimpl.hxx" #include namespace sfx2 { class TSortedFilterList { private: ::std::vector< OUString > m_lFilters; sal_Int32 m_nIterator; public: explicit TSortedFilterList(const css::uno::Reference< css::container::XEnumeration >& xFilterList); std::shared_ptr First(); std::shared_ptr Next(); private: std::shared_ptr impl_getFilter(sal_Int32 nIndex); }; /** adds the given filters to the filter manager.

To be used when saving generic files.

*/ void appendFiltersForSave( TSortedFilterList& _rFilterMatcher, const css::uno::Reference< css::ui::dialogs::XFilterManager >& _rFilterManager, OUString& /* [out] */ _rFirstNonEmpty, FileDialogHelper_Impl& _rFileDlgImpl, const OUString& _rFactory ); void appendExportFilters( TSortedFilterList& _rFilterMatcher, const css::uno::Reference< css::ui::dialogs::XFilterManager >& _rFilterManager, OUString& /* [out] */ _rFirstNonEmpty, FileDialogHelper_Impl& _rFileDlgImpl ); /** adds the given filters to the filter manager.

To be used when opening generic files.

*/ void appendFiltersForOpen( TSortedFilterList& _rFilterMatcher, const css::uno::Reference< css::ui::dialogs::XFilterManager >& _rFilterManager, OUString& /* [out] */ _rFirstNonEmpty, FileDialogHelper_Impl& _rFileDlgImpl ); /** adds the given extension to the display text.

To be used when opening or save generic files.

*/ OUString addExtension( const OUString& _rDisplayText, const OUString& _rExtension, bool _bForOpen, FileDialogHelper_Impl& _rFileDlgImpl ); } // namespace sfx2 #endif // INCLUDED_SFX2_SOURCE_DIALOG_FILTERGROUPING_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ istro/collabora/cp-4.3'>distro/collabora/cp-4.3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2012-08-17gbuild: register all jarsMichael Stahl
2012-08-15gbuild: remove most uses of gb_Jar_set_jarclasspath:Michael Stahl
2012-07-18smoketest: produce a better errror message when Java component failsMichael Stahl
2012-07-15smoketest: fix build with MSVC:Michael Stahl
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks
2012-06-28smoketest: fix breakage from 328e2263fb6e2415bafbc40a7d7309b66f65971aMichael Stahl
2012-06-27targetted re-work of cppunit pieces.Michael Meeks
2012-06-26re-base on ALv2 code.Michael Meeks
2012-06-22.xml files don't need executable bitsMichael Stahl
2012-05-10normalize variable names in gbuild user makefilesMichael Stahl
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen
2012-04-24specific variable for where dev-install installsLuboš Luňák
2012-04-11smoketest CppUnit lib is only a thin wrapper around smoketest libStephan Bergmann
2012-04-10get subsequentcheck unstuckDavid Tardon
2012-04-08rename gb_CppunitTest_set_argumentsDavid Tardon
2012-04-08always use --protector for UNO testsDavid Tardon
2012-04-08gbuild: "use" vs. "add":Michael Stahl
2012-03-23.java files don't need executable bitsMichael Stahl
2012-03-12smoketest: fix duplicate linkage warningMichael Stahl
2012-02-20we do want also create library for smoketest and deliver itMatúš Kukan
2012-02-19gbuild: add gb_CppunitTest_abort_on_assertion for smoketestMatúš Kukan
2012-02-19gbuild'ize smoketest(oo_native) and merge themMatúš Kukan
2012-02-18smoketest: remove doubled copyright lineThomas Arnhold
2012-02-16Remove lodownloadtest.py trailing white spacesYifan J
2012-02-16Split download and run test part of losmoketest.py.Yifan J
2012-02-13move ABORT_ON_ASSERTION from smoketest to smoketestoo_nativeCaolán McNamara
2012-02-06update losmoketest fetching pathYifan J
2012-02-06bug fixing for test initializingYifan J
2012-02-05replace SOLARSRC by SRC_ROOT and get rid of SOLARDEFIMG usesNorbert Thiebaud
2011-12-11The common_build stuff is surely obsoleteTor Lillqvist
2011-12-02really build libsmoketestPetr Mladek
2011-12-02split smoketest module to fix buildPetr Mladek