From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- writerperfect/source/writer/EPUBExportDialog.hxx | 61 ++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 writerperfect/source/writer/EPUBExportDialog.hxx (limited to 'writerperfect/source/writer/EPUBExportDialog.hxx') diff --git a/writerperfect/source/writer/EPUBExportDialog.hxx b/writerperfect/source/writer/EPUBExportDialog.hxx new file mode 100644 index 000000000..9e11d5351 --- /dev/null +++ b/writerperfect/source/writer/EPUBExportDialog.hxx @@ -0,0 +1,61 @@ +/* -*- 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/. + */ + +#pragma once + +#include +#include +#include + +namespace comphelper +{ +class SequenceAsHashMap; +} + +namespace writerperfect +{ +/// EPUB export options dialog. +class EPUBExportDialog : public weld::GenericDialogController +{ +public: + EPUBExportDialog(weld::Window* pParent, comphelper::SequenceAsHashMap& rFilterData, + css::uno::Reference xContext, + css::uno::Reference xDocument); + ~EPUBExportDialog() override; + +private: + DECL_LINK(VersionSelectHdl, weld::ComboBox&, void); + DECL_LINK(SplitSelectHdl, weld::ComboBox&, void); + DECL_LINK(LayoutSelectHdl, weld::ComboBox&, void); + DECL_LINK(CoverClickHdl, weld::Button&, void); + DECL_LINK(MediaClickHdl, weld::Button&, void); + DECL_LINK(OKClickHdl, weld::Button&, void); + + css::uno::Reference m_xContext; + comphelper::SequenceAsHashMap& m_rFilterData; + css::uno::Reference m_xSourceDocument; + + std::unique_ptr m_xVersion; + std::unique_ptr m_xSplit; + std::unique_ptr m_xLayout; + std::unique_ptr m_xCoverPath; + std::unique_ptr m_xCoverButton; + std::unique_ptr m_xMediaDir; + std::unique_ptr m_xMediaButton; + std::unique_ptr m_xOKButton; + std::unique_ptr m_xIdentifier; + std::unique_ptr m_xTitle; + std::unique_ptr m_xInitialCreator; + std::unique_ptr m_xLanguage; + std::unique_ptr m_xDate; +}; + +} // namespace writerperfect + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit v1.2.3