diff options
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/docsh.hxx | 5 | ||||
-rw-r--r-- | sw/inc/viewsh.hxx | 11 |
2 files changed, 12 insertions, 4 deletions
diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index b12bfe2f65d0..40cbbdeeb0ae 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -2,9 +2,9 @@ * * $RCSfile: docsh.hxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: os $ $Date: 2002-09-26 13:31:19 $ + * last change: $Author: tl $ $Date: 2002-11-11 13:43:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -237,6 +237,7 @@ public: // View setzen fuer Aktionen ueber Shell void SetView(SwView* pVw); const SwView *GetView() const { return pView; } + SwView *GetView() { return pView; } // Zugriff auf die zur SwView gehoerige SwWrtShell SwWrtShell *GetWrtShell() { return pWrtShell; } diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx index 1a65f2c5befb..c29e6fb3dab7 100644 --- a/sw/inc/viewsh.hxx +++ b/sw/inc/viewsh.hxx @@ -2,9 +2,9 @@ * * $RCSfile: viewsh.hxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: os $ $Date: 2002-11-01 13:23:22 $ + * last change: $Author: tl $ $Date: 2002-11-11 13:45:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -108,8 +108,11 @@ class SwFrm; struct SwPrintData; class SvtAccessibilityOptions; class Fraction; +class SvEmbeddedObjectRef; + struct SwAccessibilityOptions; + //JP 19.07.98: - Bug 52312 // define fuer Flags, die im CTOR oder den darunter liegenden Schichten // benoetigt werden. @@ -313,6 +316,10 @@ public: static void PrtOle2( SwDoc *pDoc, const SwViewOption *pOpt, OutputDevice* pOleOut, const Rectangle& rRect ); + // creates temporary doc with selected text for PDF export + SwDoc * CreatePrtDoc( SfxPrinter* pPrt, SvEmbeddedObjectRef &rDocShellRef ); + SwDoc * FillPrtDoc( SwDoc* pPrtDoc, SfxPrinter* pPrt ); + //Wird intern fuer die Shell gerufen die Druckt. Formatiert die Seiten. void CalcPagesForPrint( sal_uInt16 nMax, SfxProgress* pProgress = 0, const String* pStr = NULL, sal_uInt32 nMergeAct = 0, sal_uInt32 nMergeCnt = 0 ); |