1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
12 #include <vcl/weld.hxx>
13 #include <com/sun/star/uno/XComponentContext.hpp>
14 #include <com/sun/star/lang/XComponent.hpp>
18 class SequenceAsHashMap
;
21 namespace writerperfect
23 /// EPUB export options dialog.
24 class EPUBExportDialog
: public weld::GenericDialogController
27 EPUBExportDialog(weld::Window
* pParent
, comphelper::SequenceAsHashMap
& rFilterData
,
28 css::uno::Reference
<css::uno::XComponentContext
> xContext
,
29 css::uno::Reference
<css::lang::XComponent
> xDocument
);
30 ~EPUBExportDialog() override
;
33 DECL_LINK(VersionSelectHdl
, weld::ComboBox
&, void);
34 DECL_LINK(SplitSelectHdl
, weld::ComboBox
&, void);
35 DECL_LINK(LayoutSelectHdl
, weld::ComboBox
&, void);
36 DECL_LINK(CoverClickHdl
, weld::Button
&, void);
37 DECL_LINK(MediaClickHdl
, weld::Button
&, void);
38 DECL_LINK(OKClickHdl
, weld::Button
&, void);
40 css::uno::Reference
<css::uno::XComponentContext
> m_xContext
;
41 comphelper::SequenceAsHashMap
& m_rFilterData
;
42 css::uno::Reference
<css::lang::XComponent
> m_xSourceDocument
;
44 std::unique_ptr
<weld::ComboBox
> m_xVersion
;
45 std::unique_ptr
<weld::ComboBox
> m_xSplit
;
46 std::unique_ptr
<weld::ComboBox
> m_xLayout
;
47 std::unique_ptr
<weld::Entry
> m_xCoverPath
;
48 std::unique_ptr
<weld::Button
> m_xCoverButton
;
49 std::unique_ptr
<weld::Entry
> m_xMediaDir
;
50 std::unique_ptr
<weld::Button
> m_xMediaButton
;
51 std::unique_ptr
<weld::Button
> m_xOKButton
;
52 std::unique_ptr
<weld::Entry
> m_xIdentifier
;
53 std::unique_ptr
<weld::Entry
> m_xTitle
;
54 std::unique_ptr
<weld::Entry
> m_xInitialCreator
;
55 std::unique_ptr
<weld::Entry
> m_xLanguage
;
56 std::unique_ptr
<weld::Entry
> m_xDate
;
57 std::unique_ptr
<weld::Frame
> m_xCustomizeFrame
;
60 } // namespace writerperfect
62 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */