Bump version to 4.1-6
[LibreOffice.git] / sfx2 / source / inc / nfltdlg.hxx
blob72a8057e0d1daff427848acd5ed01004b8d4ca87
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef _SFXNFLTDLG_HXX
20 #define _SFXNFLTDLG_HXX
23 #include <vcl/dialog.hxx>
24 #include <vcl/lstbox.hxx>
25 #include <vcl/button.hxx>
26 #include <vcl/fixed.hxx>
27 class SfxFilterMatcher;
29 class SfxMedium;
30 class SfxFilterDialog : public ModalDialog
32 private:
33 FixedLine aMimeTypeFL;
34 FixedText aMIMEType;
35 FixedText aExtension;
36 FixedLine aFilterFL;
37 ListBox aListbox;
38 OKButton aOkBtn;
39 CancelButton aCancelBtn;
40 HelpButton aHelpBtn;
42 const SfxFilterMatcher& rMatcher;
44 DECL_LINK( OkHdl, Control * );
46 public:
47 SfxFilterDialog( Window * pParent,
48 SfxMedium* pMed,
49 const SfxFilterMatcher &rMatcher,
50 const String *pDefFilter, sal_Bool bShowConvert = sal_True );
52 String GetSelectEntry() const;
55 #endif
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */