LibreOffice Module sw (master)  1
Classes | Macros | Functions
mmresultdialogs.cxx File Reference
#include <mmresultdialogs.hxx>
#include <mailmergewizard.hxx>
#include <mmconfigitem.hxx>
#include <mailconfigpage.hxx>
#include "mmgreetingspage.hxx"
#include <printdata.hxx>
#include <swmessdialog.hxx>
#include <cmdid.h>
#include <swtypes.hxx>
#include <view.hxx>
#include <wrtsh.hxx>
#include <docsh.hxx>
#include <IDocumentDeviceAccess.hxx>
#include <hintids.hxx>
#include <swmodule.hxx>
#include <editeng/scripttypeitem.hxx>
#include <editeng/langitem.hxx>
#include <o3tl/temporary.hxx>
#include <officecfg/Office/Writer.hxx>
#include <svl/itemset.hxx>
#include <svl/stritem.hxx>
#include <svtools/ehdl.hxx>
#include <svtools/sfxecode.hxx>
#include <vcl/layout.hxx>
#include <vcl/weld.hxx>
#include <sfx2/dinfdlg.hxx>
#include <sfx2/printer.hxx>
#include <sfx2/fcontnr.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/docfilt.hxx>
#include <tools/urlobj.hxx>
#include <svl/urihelper.hxx>
#include <vcl/print.hxx>
#include <vcl/settings.hxx>
#include <rtl/tencinfo.h>
#include <sal/log.hxx>
#include <unotools/tempfile.hxx>
#include <osl/file.hxx>
#include <com/sun/star/frame/XStorable.hpp>
#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
#include <com/sun/star/sdb/XColumn.hpp>
#include <com/sun/star/task/ErrorCodeIOException.hpp>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <dbmgr.hxx>
#include <swunohelper.hxx>
#include <shellio.hxx>
#include <svtools/htmlcfg.hxx>
#include <sfx2/event.hxx>
#include <swevent.hxx>
#include <dbui.hxx>
#include <dbui.hrc>
#include <doc.hxx>
#include <sfx2/app.hxx>
#include <strings.hrc>
#include <unomid.h>
#include <comphelper/string.hxx>
#include <iodetect.hxx>
Include dependency graph for mmresultdialogs.cxx:

Go to the source code of this file.

Classes

class  SwSaveWarningBox_Impl
 
class  SwSendQueryBox_Impl
 
class  SwCopyToDialog
 

Macros

#define MM_DOCTYPE_OOO   1
 
#define MM_DOCTYPE_PDF   2
 
#define MM_DOCTYPE_WORD   3
 
#define MM_DOCTYPE_HTML   4
 
#define MM_DOCTYPE_TEXT   5
 

Functions

static OUString lcl_GetExtensionForDocType (sal_uLong nDocType)
 
static OUString lcl_GetColumnValueOf (const OUString &rColumn, Reference< container::XNameAccess > const &rxColAccess)
 
 IMPL_LINK (SwSaveWarningBox_Impl, ModifyHdl, weld::Entry &, rEdit, void)
 
 IMPL_LINK (SwSendQueryBox_Impl, ModifyHdl, weld::Entry &, rEdit, void)
 
 IMPL_LINK_NOARG (SwMMResultSaveDialog, DocumentSelectionHdl_Impl, weld::ToggleButton &, void)
 
 IMPL_LINK_NOARG (SwMMResultPrintDialog, DocumentSelectionHdl_Impl, weld::ToggleButton &, void)
 
 IMPL_LINK_NOARG (SwMMResultEmailDialog, DocumentSelectionHdl_Impl, weld::ToggleButton &, void)
 
 IMPL_LINK_NOARG (SwMMResultEmailDialog, CopyToHdl_Impl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwMMResultSaveDialog, SaveOutputHdl_Impl, weld::Button &, void)
 
 IMPL_LINK (SwMMResultPrintDialog, PrinterChangeHdl_Impl, weld::ComboBox &, rBox, void)
 
 IMPL_LINK_NOARG (SwMMResultPrintDialog, PrintHdl_Impl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwMMResultPrintDialog, PrinterSetupHdl_Impl, weld::Button &, void)
 
 IMPL_LINK (SwMMResultEmailDialog, SendTypeHdl_Impl, weld::ComboBox &, rBox, void)
 
 IMPL_LINK_NOARG (SwMMResultEmailDialog, SendAsHdl_Impl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwMMResultEmailDialog, SendDocumentsHdl_Impl, weld::Button &, void)
 

Macro Definition Documentation

#define MM_DOCTYPE_HTML   4

Definition at line 89 of file mmresultdialogs.cxx.

Referenced by IMPL_LINK(), IMPL_LINK_NOARG(), and lcl_GetExtensionForDocType().

#define MM_DOCTYPE_OOO   1

Definition at line 86 of file mmresultdialogs.cxx.

Referenced by IMPL_LINK_NOARG(), and lcl_GetExtensionForDocType().

#define MM_DOCTYPE_PDF   2

Definition at line 87 of file mmresultdialogs.cxx.

Referenced by IMPL_LINK_NOARG(), and lcl_GetExtensionForDocType().

#define MM_DOCTYPE_TEXT   5

Definition at line 90 of file mmresultdialogs.cxx.

Referenced by IMPL_LINK(), IMPL_LINK_NOARG(), and lcl_GetExtensionForDocType().

#define MM_DOCTYPE_WORD   3

Definition at line 88 of file mmresultdialogs.cxx.

Referenced by IMPL_LINK_NOARG(), and lcl_GetExtensionForDocType().

Function Documentation

IMPL_LINK ( SwSaveWarningBox_Impl  ,
ModifyHdl  ,
weld::Entry ,
rEdit  ,
void   
)

Definition at line 178 of file mmresultdialogs.cxx.

References weld::Entry::get_text(), and rEdit.

IMPL_LINK ( SwSendQueryBox_Impl  ,
ModifyHdl  ,
weld::Entry ,
rEdit  ,
void   
)

Definition at line 192 of file mmresultdialogs.cxx.

References weld::Entry::get_text(), and rEdit.

IMPL_LINK ( SwMMResultPrintDialog  ,
PrinterChangeHdl_Impl  ,
weld::ComboBox ,
rBox  ,
void   
)
IMPL_LINK ( SwMMResultEmailDialog  ,
SendTypeHdl_Impl  ,
weld::ComboBox ,
rBox  ,
void   
)
IMPL_LINK_NOARG ( SwMMResultSaveDialog  ,
DocumentSelectionHdl_Impl  ,
weld::ToggleButton ,
void   
)

Definition at line 408 of file mmresultdialogs.cxx.

IMPL_LINK_NOARG ( SwMMResultPrintDialog  ,
DocumentSelectionHdl_Impl  ,
weld::ToggleButton ,
void   
)

Definition at line 416 of file mmresultdialogs.cxx.

IMPL_LINK_NOARG ( SwMMResultEmailDialog  ,
DocumentSelectionHdl_Impl  ,
weld::ToggleButton ,
void   
)

Definition at line 424 of file mmresultdialogs.cxx.

IMPL_LINK_NOARG ( SwMMResultEmailDialog  ,
CopyToHdl_Impl  ,
weld::Button ,
void   
)

Definition at line 432 of file mmresultdialogs.cxx.

References RET_OK, and SwCopyToDialog::SetCC().

IMPL_LINK_NOARG ( SwMMResultSaveDialog  ,
SaveOutputHdl_Impl  ,
weld::Button ,
void   
)
IMPL_LINK_NOARG ( SwMMResultPrintDialog  ,
PrintHdl_Impl  ,
weld::Button ,
void   
)
IMPL_LINK_NOARG ( SwMMResultPrintDialog  ,
PrinterSetupHdl_Impl  ,
weld::Button ,
void   
)

Definition at line 786 of file mmresultdialogs.cxx.

IMPL_LINK_NOARG ( SwMMResultEmailDialog  ,
SendAsHdl_Impl  ,
weld::Button ,
void   
)

Definition at line 817 of file mmresultdialogs.cxx.

References RET_OK, and SwMailBodyDialog::SetBody().

IMPL_LINK_NOARG ( SwMMResultEmailDialog  ,
SendDocumentsHdl_Impl  ,
weld::Button ,
void   
)

Definition at line 828 of file mmresultdialogs.cxx.

References SwSendMailDialog::AddDocument(), aName, SwMailMergeHelper::CheckMailAddress(), VclPtr< reference_type >::Create(), Application::CreateMessageDialog(), utl::TempFile::CreateTempName(), SfxObjectShell::DoClose(), SfxObjectShell::DoInitNew(), SwSendMailDialog::EnableDestruction(), SwCursorShell::EndAction(), SwMailMergeConfigItem::FEMALE, SwAddressPreview::FillData(), FILTER_WW8, FILTER_XML, SvxHtmlOptions::Get(), GetActiveView(), GetAppLanguage(), Application::GetDefDialogParent(), SwDocShell::GetDoc(), SwView::GetDocShell(), SfxFilterContainer::GetFilter4Extension(), SfxFilterContainer::GetFilter4FilterName(), SwIoSystem::GetFilterOfFormat(), SvtLanguageOptions::GetI18NScriptTypeOfLanguage(), SwLangHelper::GetLanguage(), SwView::GetMailMergeConfigItem(), URIHelper::GetMaybeFileHdl(), SfxObjectShell::GetModel(), SfxFilterContainer::GetName(), SfxShell::GetPool(), Button::GetStandardText(), SvxHtmlOptions::GetTextEncoding(), comphelper::string::getTokenCount(), CntUnencodedStringItem::GetValue(), SfxShell::GetViewShell(), GetWhichOfScript(), SwView::GetWrtShell(), vcl::Window::IsVisible(), lcl_GetColumnValueOf(), lcl_GetExtensionForDocType(), LINEEND_CR, SfxViewFrame::LoadHiddenDocument(), SwDocShell::LoadStylesFromFile(), SwMailMergeConfigItem::MALE, MM_DOCTYPE_HTML, MM_DOCTYPE_OOO, MM_DOCTYPE_PDF, MM_DOCTYPE_TEXT, MM_DOCTYPE_WORD, SwDocMergeInfo::nDBRow, SwMailMergeConfigItem::NEUTRAL, SwFEShell::PastePages(), SwDBManager::PerformMailMerge(), SwDoc::ReplaceCompatibilityOptions(), SwDoc::ReplaceDefaults(), SwDoc::ReplaceDocumentProperties(), RES_CHRATR_LANGUAGE, Application::Reschedule(), RET_CANCEL, RET_OK, RET_YES, SAL_WARN_IF, SwMailDescriptor::sAttachmentName, SwMailDescriptor::sAttachmentURL, SwMailDescriptor::sBCC, SwMailDescriptor::sBodyContent, SwMailDescriptor::sBodyMimeType, SwMailDescriptor::sCC, SwMailDescriptor::sEMail, SwgReaderOption::SetFrameFormats(), SwAsciiOptions::SetLanguage(), SwgReaderOption::SetMerge(), SwgReaderOption::SetNumRules(), SwgReaderOption::SetPageDescs(), SwAsciiOptions::SetParaFlags(), SvStream::SetStreamCharSet(), SwgReaderOption::SetTextFormats(), comphelper::string::setToken(), SFX_INTERFACE_NONE, SwSendMailDialog::ShowDialog(), URIHelper::SmartRel2Abs(), SwMailDescriptor::sMimeType, sName, SwMailDescriptor::sSubject, SwCursorShell::StartAction(), SWUnoHelper::UCB_DeleteFile(), and SwAsciiOptions::WriteUserData().

static OUString lcl_GetColumnValueOf ( const OUString &  rColumn,
Reference< container::XNameAccess > const &  rxColAccess 
)
static

Definition at line 106 of file mmresultdialogs.cxx.

References Any.

Referenced by IMPL_LINK_NOARG().

static OUString lcl_GetExtensionForDocType ( sal_uLong  nDocType)
static