LibreOffice Module writerperfect (master) 1
WPFTEncodingDialog.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/* MSWorksImportFilter: Sets up the filter, and calls DocumentCollector
3 * to do the actual filtering
4 *
5 * This file is part of the LibreOffice project.
6 *
7 * This Source Code Form is subject to the terms of the Mozilla Public
8 * License, v. 2.0. If a copy of the MPL was not distributed with this
9 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 */
11
12#pragma once
13
14#include <vcl/weld.hxx>
15
16#include "writerperfectdllapi.h"
17
18namespace writerperfect
19{
21{
22public:
23 WPFTEncodingDialog(weld::Window* pParent, const OUString& title, const OUString& defEncoding);
24
25 virtual ~WPFTEncodingDialog() override;
26
27 OUString GetEncoding() const;
28 bool hasUserCalledCancel() const { return m_userHasCancelled; }
29
30private:
32
33 std::unique_ptr<weld::ComboBox> m_xLbCharset;
34 std::unique_ptr<weld::Button> m_xBtnCancel;
35
36private:
38
41};
42}
43
44/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
DECL_DLLPRIVATE_LINK(CancelHdl, weld::Button &, void)
WPFTEncodingDialog(WPFTEncodingDialog const &)=delete
WPFTEncodingDialog & operator=(WPFTEncodingDialog const &)=delete
std::unique_ptr< weld::Button > m_xBtnCancel
std::unique_ptr< weld::ComboBox > m_xLbCharset
#define WRITERPERFECT_DLLPUBLIC