summaryrefslogtreecommitdiff
path: root/sw/source/ui/uiview
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2002-11-11 13:14:55 +0000
committerThomas Lange <tl@openoffice.org>2002-11-11 13:14:55 +0000
commitec9b5bfebe8897d7a5cb44f86b2a3c777b592956 (patch)
tree183df7acc908724bbb9fcc54e5a2e9f059686d61 /sw/source/ui/uiview
parent1e5996b018a816f6640c38ed972d2a02bfc8e696 (diff)
#103868# PDF export for (multi-)selection
Diffstat (limited to 'sw/source/ui/uiview')
-rw-r--r--sw/source/ui/uiview/view.cxx25
1 files changed, 23 insertions, 2 deletions
diff --git a/sw/source/ui/uiview/view.cxx b/sw/source/ui/uiview/view.cxx
index 76af335fe541..3b337d11934b 100644
--- a/sw/source/ui/uiview/view.cxx
+++ b/sw/source/ui/uiview/view.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: view.cxx,v $
*
- * $Revision: 1.48 $
+ * $Revision: 1.49 $
*
- * last change: $Author: os $ $Date: 2002-10-30 10:40:17 $
+ * last change: $Author: tl $ $Date: 2002-11-11 14:11:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1715,3 +1715,24 @@ void SwView::NotifyDBChanged()
{
GetViewImpl()->GetUNOObject_Impl()->NotifyDBChanged();
}
+/* -----------------------------28.10.02 13:25--------------------------------
+
+ ---------------------------------------------------------------------------*/
+SfxObjectShellRef & SwView::GetTmpSelectionDoc()
+{
+ return GetViewImpl()->GetTmpSelectionDoc();
+}
+/* -----------------------------31.10.02 13:25--------------------------------
+
+ ---------------------------------------------------------------------------*/
+SfxObjectShellRef & SwView::GetOrCreateTmpSelectionDoc()
+{
+ SfxObjectShellRef &rxTmpDoc = GetViewImpl()->GetTmpSelectionDoc();
+ if (!rxTmpDoc.Is())
+ {
+ SwXTextView *pImpl = GetViewImpl()->GetUNOObject_Impl();
+ rxTmpDoc = pImpl->BuildTmpSelectionDoc(
+ GetViewImpl()->GetEmbeddedObjRef() );
+ }
+ return rxTmpDoc;
+}