LibreOffice Module sfx2 (master) 1
|
#include <bluthsndapi.hxx>
Public Member Functions | |
SendMailResult | SaveAndSend (const css::uno::Reference< css::frame::XFrame > &xFrame) |
SendMailResult | Send () |
Public Member Functions inherited from SfxMailModel | |
SfxMailModel () | |
~SfxMailModel () | |
void | AddToAddress (const OUString &rAddress) |
SendMailResult | AttachDocument (const css::uno::Reference< css::uno::XInterface > &xFrameOrModel, const OUString &sAttachmentTitle) |
attaches a document to the current attachment list, can be called more than once. More... | |
SendMailResult | SaveAndSend (const css::uno::Reference< css::frame::XFrame > &xFrame, const OUString &rType) |
SendMailResult | Send (const css::uno::Reference< css::frame::XFrame > &xFrame) |
bool | IsEmpty () const |
Additional Inherited Members | |
Public Types inherited from SfxMailModel | |
enum | SendMailResult { SEND_MAIL_OK , SEND_MAIL_CANCELLED , SEND_MAIL_ERROR } |
Protected Types inherited from SfxMailModel | |
enum | SaveResult { SAVE_SUCCESSFUL , SAVE_CANCELLED , SAVE_ERROR } |
Static Protected Member Functions inherited from SfxMailModel | |
static SaveResult | SaveDocumentAsFormat (const OUString &aSaveFileName, const css::uno::Reference< css::uno::XInterface > &xFrameOrModel, const OUString &rType, OUString &rFileNamePath) |
Protected Attributes inherited from SfxMailModel | |
::std::vector< OUString > | maAttachedDocuments |
Definition at line 19 of file bluthsndapi.hxx.
SfxBluetoothModel::SendMailResult SfxBluetoothModel::SaveAndSend | ( | const css::uno::Reference< css::frame::XFrame > & | xFrame | ) |
Definition at line 16 of file bluthsnd.cxx.
References SfxMailModel::maAttachedDocuments, SfxMailModel::SAVE_CANCELLED, SfxMailModel::SAVE_SUCCESSFUL, SfxMailModel::SaveDocumentAsFormat(), Send(), SfxMailModel::SEND_MAIL_CANCELLED, SfxMailModel::SEND_MAIL_ERROR, and xFrame.
Referenced by SfxViewShell::ExecMisc_Impl().
SfxBluetoothModel::SendMailResult SfxBluetoothModel::Send | ( | ) |
Definition at line 34 of file bluthsnd.cxx.
References SfxMailModel::maAttachedDocuments, OUStringToOString(), SfxMailModel::SEND_MAIL_ERROR, and SfxMailModel::SEND_MAIL_OK.
Referenced by SaveAndSend().