20#ifndef INCLUDED_SHELL_SOURCE_WIN32_SIMPLEMAIL_SMPLMAILCLIENT_HXX
21#define INCLUDED_SHELL_SOURCE_WIN32_SIMPLEMAIL_SMPLMAILCLIENT_HXX
24#include <com/sun/star/lang/XServiceInfo.hpp>
26#include <com/sun/star/system/XSimpleMailClient.hpp>
31class CSmplMailClient :
public cppu::WeakImplHelper<css::system::XSimpleMailClient>
36 virtual void SAL_CALL
sendSimpleMailMessage(
const css::uno::Reference<css::system::XSimpleMailMessage>& xSimpleMailMessage, sal_Int32 aFlag)
override;
39 void validateParameter(
const css::uno::Reference<css::system::XSimpleMailMessage>& xSimpleMailMessage, sal_Int32 aFlag);
40 void assembleCommandLine(
const css::uno::Reference<css::system::XSimpleMailMessage>& xSimpleMailMessage, sal_Int32 aFlag, std::vector<OUString>& rCommandArgs);
41 OUString
CopyAttachment(
const OUString& sOrigAttachURL, OUString& sUserVisibleName,
bool& nodelete);
OUString CopyAttachment(const OUString &sOrigAttachURL, OUString &sUserVisibleName, bool &nodelete)
std::vector< std::unique_ptr< utl::TempFileNamed > > maAttachmentFiles
virtual void SAL_CALL sendSimpleMailMessage(const css::uno::Reference< css::system::XSimpleMailMessage > &xSimpleMailMessage, sal_Int32 aFlag) override
void ReleaseAttachments()
virtual css::uno::Reference< css::system::XSimpleMailMessage > SAL_CALL createSimpleMailMessage() override
void assembleCommandLine(const css::uno::Reference< css::system::XSimpleMailMessage > &xSimpleMailMessage, sal_Int32 aFlag, std::vector< OUString > &rCommandArgs)
Assemble a command line for SendDoc.exe out of the members of the supplied SimpleMailMessage.
void validateParameter(const css::uno::Reference< css::system::XSimpleMailMessage > &xSimpleMailMessage, sal_Int32 aFlag)