From e770de4fdb74ac5db5d4fbfcf4856ea08e7403d7 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Wed, 23 Dec 2015 18:48:47 +0100 Subject: mailmerge: Create toolbar buttons for the Save/Print/Email dialogs. Change-Id: Ia983a313a02b470a23244b2844ff01b12593f723 --- sw/source/ui/inc/mmresultdialogs.hxx | 231 +++++++++++++++++++++++++++++++++++ 1 file changed, 231 insertions(+) create mode 100644 sw/source/ui/inc/mmresultdialogs.hxx (limited to 'sw/source/ui/inc') diff --git a/sw/source/ui/inc/mmresultdialogs.hxx b/sw/source/ui/inc/mmresultdialogs.hxx new file mode 100644 index 000000000000..521bc4d66da1 --- /dev/null +++ b/sw/source/ui/inc/mmresultdialogs.hxx @@ -0,0 +1,231 @@ +/* -*- 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_SW_SOURCE_UI_DBUI_MMOUTPUTPAGE_HXX +#define INCLUDED_SW_SOURCE_UI_DBUI_MMOUTPUTPAGE_HXX +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "mailmergehelper.hxx" + +class SwMailMergeWizard; +class SfxPrinter; +class SwSendMailDialog; + +namespace com{ namespace sun{ namespace star{ + namespace mail{ + class XMailMessage; + } +}}} + +/// Dialog implementing the saving as of the result document. +class SwMMResultSaveDialog : public SfxModalDialog +{ + VclPtr m_pSaveAsOneRB; + VclPtr m_pSaveIndividualRB; + VclPtr m_pFromRB; + VclPtr m_pFromNF; + VclPtr m_pToFT; + VclPtr m_pToNF; + + VclPtr