diff options
author | os <os@openoffice.org> | 2010-10-05 09:47:37 +0200 |
---|---|---|
committer | os <os@openoffice.org> | 2010-10-05 09:47:37 +0200 |
commit | 741b92c15a133ddbc343916d913e35ddd2e4d91b (patch) | |
tree | 6445ec0b669b9e8fd44e078f1ee520b53a67c469 /sw/source/ui/app/docsh2.cxx | |
parent | c7ecdf195bd546b08191de4aeef94820183c4227 (diff) |
#i114081# SID_MAIL_PREPAREEXPORT re-implemented
Diffstat (limited to 'sw/source/ui/app/docsh2.cxx')
-rw-r--r-- | sw/source/ui/app/docsh2.cxx | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sw/source/ui/app/docsh2.cxx b/sw/source/ui/app/docsh2.cxx index 9cb3caffa7cc..cb21c8939bd1 100644 --- a/sw/source/ui/app/docsh2.cxx +++ b/sw/source/ui/app/docsh2.cxx @@ -1169,7 +1169,19 @@ void SwDocShell::Execute(SfxRequest& rReq) } break; - case SID_MAIL_EXPORT_FINISHED: + case SID_MAIL_PREPAREEXPORT: + { + //pWrtShell is not set in page preview + if(pWrtShell) + pWrtShell->StartAllAction(); + pDoc->UpdateFlds( NULL, false ); + pDoc->EmbedAllLinks(); + pDoc->RemoveInvisibleContent(); + if(pWrtShell) + pWrtShell->EndAllAction(); + } + break; + case SID_MAIL_EXPORT_FINISHED: { if(pWrtShell) pWrtShell->StartAllAction(); |