LibreOffice Module sw (master) 1
|
#include <mailmrge.hxx>
Public Member Functions | |
SwMailMergeDlg (weld::Window *pParent, SwWrtShell &rSh, const OUString &rSourceName, const OUString &rTableName, sal_Int32 nCommandType, const css::uno::Reference< css::sdbc::XConnection > &xConnection, css::uno::Sequence< css::uno::Any > const *pSelection) | |
virtual | ~SwMailMergeDlg () override |
DBManagerOptions | GetMergeType () const |
bool | IsSaveSingleDoc () const |
bool | IsGenerateFromDataBase () const |
bool | IsFileEncryptedFromDataBase () const |
OUString | GetColumnName () const |
OUString | GetPasswordColumnName () const |
OUString | GetTargetURL () const |
const OUString & | GetSaveFilter () const |
const css::uno::Sequence< css::uno::Any > & | GetSelection () const |
css::uno::Reference< css::sdbc::XResultSet > | GetResultSet () const |
Public Member Functions inherited from SfxDialogController | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
virtual bool | CloseOnHide () const |
Private Member Functions | |
DECL_LINK (ButtonHdl, weld::Button &, void) | |
DECL_LINK (InsertPathHdl, weld::Button &, void) | |
DECL_LINK (OutputTypeHdl, weld::Toggleable &, void) | |
DECL_LINK (FilenameHdl, weld::Toggleable &, void) | |
DECL_LINK (ModifyHdl, weld::SpinButton &, void) | |
DECL_LINK (SaveTypeHdl, weld::Toggleable &, void) | |
DECL_LINK (FileFormatHdl, weld::ComboBox &, void) | |
bool | ExecQryShell () |
bool | AskUserFilename () const |
OUString | GetURLfromPath () const |
Friends | |
class | SwXSelChgLstnr_Impl |
Definition at line 44 of file mailmrge.hxx.
SwMailMergeDlg::SwMailMergeDlg | ( | weld::Window * | pParent, |
SwWrtShell & | rSh, | ||
const OUString & | rSourceName, | ||
const OUString & | rTableName, | ||
sal_Int32 | nCommandType, | ||
const css::uno::Reference< css::sdbc::XConnection > & | xConnection, | ||
css::uno::Sequence< css::uno::Any > const * | pSelection | ||
) |
Definition at line 114 of file mailmrge.cxx.
References aProperties, aURL, Exception, SwDBManager::GetColumnNames(), SwEditShell::GetDBManager(), MiscSettings::GetDisablePrinting(), SwModuleOptions::GetMailingFormats(), SwModuleOptions::GetMailingPath(), AllSettings::GetMiscSettings(), SwModuleOptions::GetNameFromColumn(), SwModuleOptions::GetPasswordFromColumn(), comphelper::getProcessComponentContext(), comphelper::getProcessServiceFactory(), Application::GetSettings(), comphelper::SequenceAsHashMap::getUnpackedValueOrDefault(), SvtPathOptions::GetWorkPath(), HTML, SwModuleOptions::IsNameFromColumn(), LINK, m_aSelection, m_pImpl, m_pImpl, m_pModOpt, m_rSh, m_xAddressFieldLB, m_xAllRB, m_xAttachED, m_xAttachFT, m_xAttachPB, m_xBeamerWin, m_xColumnLB, m_xFileRB, m_xFilterLB, m_xFormatFT, m_xFormatHtmlCB, m_xFormatRtfCB, m_xFormatSwCB, m_xFrame, m_xFromNF, m_xGenerateFromDataBaseCB, m_xMailingRB, m_xMarkedRB, m_xOkBTN, m_xPasswordCB, m_xPasswordFT, m_xPasswordLB, m_xPathED, m_xPathPB, m_xPrinterRB, m_xSaveIndividualRB, m_xSaveSingleDocRB, m_xSingleJobsCB, m_xSubjectED, m_xSubjectFT, m_xToNF, comphelper::makePropertyValue(), OFFICE, RTF, SAL_MAX_INT32, sName, SW_MOD, SwXSelChgLstnr_Impl, u, URL, uno::Any::Value, and xController.
|
overridevirtual |
Definition at line 343 of file mailmrge.cxx.
References m_xFrame.
|
private |
Definition at line 455 of file mailmrge.cxx.
References m_xGenerateFromDataBaseCB, and m_xSaveSingleDocRB.
Referenced by ExecQryShell(), and GetTargetURL().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 475 of file mailmrge.cxx.
References Any, AskUserFilename(), SwMailMergeHelper::CallSaveAsDialog(), DBMGR_MERGE_FILE, DBMGR_MERGE_PRINTER, SwViewShell::getIDocumentDeviceAccess(), IDocumentDeviceAccess::getPrintData(), GetResultSet(), GetURLfromPath(), HTML, i, m_aSelection, m_nMergeType, m_pImpl, m_pModOpt, m_rSh, m_sFilename, m_sSaveFilter, m_xAllRB, m_xColumnLB, m_xDialog, m_xFilterLB, m_xFormatHtmlCB, m_xFormatRtfCB, m_xFormatSwCB, m_xFromNF, m_xFromRB, m_xGenerateFromDataBaseCB, m_xPasswordCB, m_xPasswordLB, m_xPrinterRB, m_xSingleJobsCB, m_xToNF, NONE, OFFICE, RTF, SwModuleOptions::SetIsFileEncryptedFromColumn(), SwModuleOptions::SetIsNameFromColumn(), SwModuleOptions::SetMailingFormats(), SwModuleOptions::SetMailingPath(), SwModuleOptions::SetNameFromColumn(), SwModuleOptions::SetPasswordFromColumn(), IDocumentDeviceAccess::setPrintData(), SwPrintData::SetPrintSingleJobs(), and SwModuleOptions::SetSinglePrintJob().
|
inline |
Definition at line 130 of file mailmrge.hxx.
References m_xColumnLB.
|
inline |
Definition at line 125 of file mailmrge.hxx.
References m_nMergeType.
|
inline |
Definition at line 131 of file mailmrge.hxx.
References m_xPasswordLB.
uno::Reference< XResultSet > SwMailMergeDlg::GetResultSet | ( | ) | const |
|
inline |
Definition at line 134 of file mailmrge.hxx.
References m_sSaveFilter.
|
inline |
Definition at line 135 of file mailmrge.hxx.
References m_aSelection.
OUString SwMailMergeDlg::GetTargetURL | ( | ) | const |
Definition at line 556 of file mailmrge.cxx.
References AskUserFilename(), SwModuleOptions::GetMailingPath(), SvtPathOptions::GetWorkPath(), m_pModOpt, and m_sFilename.
|
private |
Definition at line 460 of file mailmrge.cxx.
References SwView::GetDocShell(), URIHelper::GetMaybeFileHdl(), SfxObjectShell::GetMedium(), INetURLObject::GetProtocol(), SfxMedium::GetURLObject(), SwWrtShell::GetView(), SvtPathOptions::GetWorkPath(), m_rSh, m_xPathED, INetURLObject::SetURL(), and URIHelper::SmartRel2Abs().
Referenced by ExecQryShell().
|
inline |
Definition at line 129 of file mailmrge.hxx.
References m_xPasswordCB.
|
inline |
Definition at line 128 of file mailmrge.hxx.
References m_xGenerateFromDataBaseCB.
|
inline |
Definition at line 127 of file mailmrge.hxx.
References m_xSaveSingleDocRB.
|
friend |
Definition at line 46 of file mailmrge.hxx.
Referenced by SwMailMergeDlg().
|
private |
Definition at line 54 of file mailmrge.hxx.
Referenced by ExecQryShell(), GetSelection(), SwXSelChgLstnr_Impl::selectionChanged(), and SwMailMergeDlg().
|
private |
Definition at line 53 of file mailmrge.hxx.
Referenced by ExecQryShell(), and GetMergeType().
|
private |
Definition at line 48 of file mailmrge.hxx.
Referenced by ExecQryShell(), GetResultSet(), SwXSelChgLstnr_Impl::selectionChanged(), and SwMailMergeDlg().
|
private |
Definition at line 51 of file mailmrge.hxx.
Referenced by ExecQryShell(), GetTargetURL(), and SwMailMergeDlg().
|
private |
Definition at line 50 of file mailmrge.hxx.
Referenced by ExecQryShell(), GetURLfromPath(), and SwMailMergeDlg().
|
private |
Definition at line 58 of file mailmrge.hxx.
Referenced by ExecQryShell(), and GetTargetURL().
|
private |
Definition at line 57 of file mailmrge.hxx.
Referenced by ExecQryShell(), and GetSaveFilter().
|
private |
Definition at line 91 of file mailmrge.hxx.
Referenced by SwMailMergeDlg().
|
private |
Definition at line 62 of file mailmrge.hxx.
Referenced by ExecQryShell(), SwXSelChgLstnr_Impl::selectionChanged(), and SwMailMergeDlg().
|
private |
Definition at line 96 of file mailmrge.hxx.
Referenced by SwMailMergeDlg().
|
private |
Definition at line 95 of file mailmrge.hxx.
Referenced by SwMailMergeDlg().
|
private |
Definition at line 97 of file mailmrge.hxx.
Referenced by SwMailMergeDlg().
|
private |
Definition at line 60 of file mailmrge.hxx.
Referenced by SwMailMergeDlg().
|
private |
Definition at line 81 of file mailmrge.hxx.
|
private |
Definition at line 82 of file mailmrge.hxx.
Referenced by ExecQryShell(), GetColumnName(), and SwMailMergeDlg().
|
private |
Definition at line 70 of file mailmrge.hxx.
Referenced by SwMailMergeDlg().
|
private |
Definition at line 88 of file mailmrge.hxx.
|
private |
Definition at line 89 of file mailmrge.hxx.
Referenced by ExecQryShell(), and SwMailMergeDlg().
|
private |
Definition at line 94 of file mailmrge.hxx.
Referenced by SwMailMergeDlg().
|
private |
Definition at line 98 of file mailmrge.hxx.
Referenced by ExecQryShell(), and SwMailMergeDlg().
|
private |
Definition at line 99 of file mailmrge.hxx.
Referenced by ExecQryShell(), and SwMailMergeDlg().
|
private |
Definition at line 100 of file mailmrge.hxx.
Referenced by ExecQryShell(), and SwMailMergeDlg().
|
private |
Definition at line 55 of file mailmrge.hxx.
Referenced by SwMailMergeDlg(), and ~SwMailMergeDlg().
|
private |
Definition at line 65 of file mailmrge.hxx.
Referenced by ExecQryShell(), and SwMailMergeDlg().
|
private |
Definition at line 64 of file mailmrge.hxx.
Referenced by ExecQryShell().
|
private |
Definition at line 79 of file mailmrge.hxx.
Referenced by AskUserFilename(), ExecQryShell(), IsGenerateFromDataBase(), and SwMailMergeDlg().
|
private |
Definition at line 69 of file mailmrge.hxx.
Referenced by SwMailMergeDlg().
|
private |
Definition at line 63 of file mailmrge.hxx.
Referenced by SwXSelChgLstnr_Impl::selectionChanged(), and SwMailMergeDlg().
|
private |
Definition at line 102 of file mailmrge.hxx.
Referenced by SwMailMergeDlg().
|
private |
Definition at line 73 of file mailmrge.hxx.
Referenced by ExecQryShell(), IsFileEncryptedFromDataBase(), and SwMailMergeDlg().
|
private |
Definition at line 83 of file mailmrge.hxx.
Referenced by SwMailMergeDlg().
|
private |
Definition at line 84 of file mailmrge.hxx.
Referenced by ExecQryShell(), GetPasswordColumnName(), and SwMailMergeDlg().
|
private |
Definition at line 86 of file mailmrge.hxx.
Referenced by GetURLfromPath(), and SwMailMergeDlg().
|
private |
Definition at line 85 of file mailmrge.hxx.
|
private |
Definition at line 87 of file mailmrge.hxx.
Referenced by SwMailMergeDlg().
|
private |
Definition at line 68 of file mailmrge.hxx.
Referenced by ExecQryShell(), and SwMailMergeDlg().
|
private |
Definition at line 77 of file mailmrge.hxx.
Referenced by SwMailMergeDlg().
|
private |
Definition at line 75 of file mailmrge.hxx.
|
private |
Definition at line 76 of file mailmrge.hxx.
Referenced by AskUserFilename(), IsSaveSingleDoc(), and SwMailMergeDlg().
|
private |
Definition at line 72 of file mailmrge.hxx.
Referenced by ExecQryShell(), and SwMailMergeDlg().
|
private |
Definition at line 93 of file mailmrge.hxx.
Referenced by SwMailMergeDlg().
|
private |
Definition at line 92 of file mailmrge.hxx.
Referenced by SwMailMergeDlg().
|
private |
Definition at line 66 of file mailmrge.hxx.
Referenced by ExecQryShell(), and SwMailMergeDlg().