19#ifndef INCLUDED_SFX2_MAILMODELAPI_HXX
20#define INCLUDED_SFX2_MAILMODELAPI_HXX
22#include <com/sun/star/uno/Reference.hxx>
23#include <rtl/ustring.hxx>
51 static SaveResult SaveDocumentAsFormat(
const OUString& aSaveFileName,
52 const css::uno::Reference< css::uno::XInterface >& xFrameOrModel,
53 const OUString& rType,
54 OUString& rFileNamePath );
60 static SaveResult ShowFilterOptionsDialog(
const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR,
61 const css::uno::Reference< css::frame::XModel >& xModel,
62 const OUString& rFilterName,
63 std::u16string_view rType,
66 css::uno::Sequence< css::beans::PropertyValue >& rArgs );
79 void AddToAddress(
const OUString& rAddress );
90 SendMailResult AttachDocument(
const css::uno::Reference< css::uno::XInterface >& xFrameOrModel,
91 const OUString& sAttachmentTitle );
93 SendMailResult SaveAndSend(
const css::uno::Reference< css::frame::XFrame >& xFrame,
94 const OUString& rType );
95 SendMailResult Send(
const css::uno::Reference< css::frame::XFrame >& xFrame );
std::unique_ptr< AddressList_Impl > mpToList
::std::vector< OUString > maAttachedDocuments
called to query another interface of the component @descr Will allow to query for XInteractionHandler...
::std::vector< OUString > AddressList_Impl
bool CreateFromAddress_Impl(OUString &rFrom)