From 7f983ceb506fe212620d51f68c828a5d174e8460 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Thu, 3 Apr 2008 12:21:45 +0000 Subject: INTEGRATION: CWS presenterview (1.46.18); FILE MERGED 2008/03/26 10:44:37 cl 1.46.18.3: RESYNC: (1.46-1.47); FILE MERGED 2008/01/09 18:27:01 cl 1.46.18.2: #i15900# slideshow api consolidation 2007/02/27 09:05:49 cl 1.46.18.1: #i71351# added api draft for a slideshow controller --- sd/inc/drawdoc.hxx | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'sd/inc/drawdoc.hxx') diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx index be0f72e5de22..58d2d1851b3a 100644 --- a/sd/inc/drawdoc.hxx +++ b/sd/inc/drawdoc.hxx @@ -4,9 +4,9 @@ * * $RCSfile: drawdoc.hxx,v $ * - * $Revision: 1.47 $ + * $Revision: 1.48 $ * - * last change: $Author: rt $ $Date: 2008-03-12 11:21:01 $ + * last change: $Author: kz $ $Date: 2008-04-03 13:21:45 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -104,6 +104,10 @@ namespace com { class XStream; } + namespace presentation + { + class XPresentation2; + } } } } @@ -191,8 +195,7 @@ namespace sd // - SdDrawDocument - // ------------------ -class SdDrawDocument - : public FmFormModel +class SdDrawDocument : public FmFormModel { private: ::sd::Outliner* mpOutliner; // local outliner for outline mode @@ -211,6 +214,9 @@ private: ::sd::DrawDocShellRef mxBookmarkDocShRef; sd::PresentationSettings maPresentationSettings; + + ::com::sun::star::uno::Reference< ::com::sun::star::presentation::XPresentation2 > mxPresentation; + BOOL mbNewOrLoadCompleted; BOOL mbOnlineSpell; @@ -394,6 +400,8 @@ public: const sd::PresentationSettings& getPresentationSettings() const { return maPresentationSettings; } sd::PresentationSettings& getPresentationSettings() { return maPresentationSettings; } + const ::com::sun::star::uno::Reference< ::com::sun::star::presentation::XPresentation2 >& getPresentation() const; + void SetSummationOfParagraphs( BOOL bOn = TRUE ) { mbSummationOfParagraphs = bOn; } const BOOL IsSummationOfParagraphs() const { return mbSummationOfParagraphs; } -- cgit