1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: unomodel.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef SD_UNO_MODEL_HXX
31 #define SD_UNO_MODEL_HXX
33 #include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
34 #include <com/sun/star/document/XLinkTargetSupplier.hpp>
35 #include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
36 #include <com/sun/star/drawing/XDrawPageSummarizer.hpp>
37 #include <com/sun/star/drawing/XDrawPageDuplicator.hpp>
38 #include <com/sun/star/drawing/XLayerSupplier.hpp>
39 #include <com/sun/star/drawing/XMasterPagesSupplier.hpp>
40 #include <com/sun/star/presentation/XPresentationSupplier.hpp>
41 #include <com/sun/star/presentation/XCustomPresentationSupplier.hpp>
42 #include <com/sun/star/drawing/XLayerManager.hpp>
43 #include <com/sun/star/container/XNameContainer.hpp>
44 #include <com/sun/star/presentation/XPresentation.hpp>
45 #include <com/sun/star/lang/XServiceInfo.hpp>
46 #include <com/sun/star/drawing/XDrawPages.hpp>
47 #include <com/sun/star/ucb/XAnyCompareFactory.hpp>
48 #include <com/sun/star/i18n/XForbiddenCharacters.hpp>
49 #include <com/sun/star/presentation/XHandoutMasterSupplier.hpp>
50 #include <com/sun/star/view/XRenderable.hpp>
51 #include <com/sun/star/util/MeasureUnit.hpp>
53 #include <rtl/ref.hxx>
55 #include <svtools/lstner.hxx>
56 #include <sfx2/sfxbasemodel.hxx>
57 #include <svx/fmdmod.hxx>
59 #include <svx/unoipset.hxx>
61 #include <comphelper/servicehelper.hxx>
66 class SdXCustomPresentations
;
72 extern ::rtl::OUString
getPageApiName( SdPage
* pPage
);
73 extern ::rtl::OUString
getPageApiNameFromUiName( const String
& rUIName
);
75 /***********************************************************************
77 ***********************************************************************/
78 class SdXImpressDocument
: public SfxBaseModel
, // implements SfxListener, OWEAKOBJECT & other
79 public SvxFmMSFactory
,
80 public ::com::sun::star::drawing::XDrawPageDuplicator
,
81 public ::com::sun::star::drawing::XLayerSupplier
,
82 public ::com::sun::star::drawing::XMasterPagesSupplier
,
83 public ::com::sun::star::drawing::XDrawPagesSupplier
,
84 public ::com::sun::star::presentation::XPresentationSupplier
,
85 public ::com::sun::star::presentation::XCustomPresentationSupplier
,
86 public ::com::sun::star::document::XLinkTargetSupplier
,
87 public ::com::sun::star::beans::XPropertySet
,
88 public ::com::sun::star::style::XStyleFamiliesSupplier
,
89 public ::com::sun::star::lang::XServiceInfo
,
90 public ::com::sun::star::ucb::XAnyCompareFactory
,
91 public ::com::sun::star::presentation::XHandoutMasterSupplier
,
92 public ::com::sun::star::view::XRenderable
94 friend class SdDrawPagesAccess
;
95 friend class SdMasterPagesAccess
;
96 friend class SdLayerManager
;
99 ::sd::DrawDocShell
* mpDocShell
;
100 SdDrawDocument
* mpDoc
;
103 SdPage
* InsertSdPage( sal_uInt16 nPage
, sal_Bool bDuplicate
= sal_False
) throw();
105 const sal_Bool mbImpressDoc
;
108 ::com::sun::star::uno::WeakReference
< ::com::sun::star::drawing::XDrawPages
> mxDrawPagesAccess
;
109 ::com::sun::star::uno::WeakReference
< ::com::sun::star::drawing::XDrawPages
> mxMasterPagesAccess
;
110 ::com::sun::star::uno::WeakReference
< ::com::sun::star::container::XNameAccess
> mxLayerManager
;
111 ::com::sun::star::uno::WeakReference
< ::com::sun::star::container::XNameContainer
> mxCustomPresentationAccess
;
112 ::com::sun::star::uno::WeakReference
< ::com::sun::star::container::XNameAccess
> mxStyleFamilies
;
113 ::com::sun::star::uno::WeakReference
< ::com::sun::star::presentation::XPresentation
> mxPresentation
;
114 ::com::sun::star::uno::WeakReference
< ::com::sun::star::i18n::XForbiddenCharacters
> mxForbidenCharacters
;
115 ::com::sun::star::uno::Reference
< ::com::sun::star::container::XNameAccess
> mxLinks
;
117 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> mxDashTable
;
118 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> mxGradientTable
;
119 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> mxHatchTable
;
120 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> mxBitmapTable
;
121 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> mxTransGradientTable
;
122 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> mxMarkerTable
;
123 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> mxDrawingPool
;
125 const SvxItemPropertySet
* mpPropSet
;
127 ::com::sun::star::uno::Sequence
< ::com::sun::star::uno::Type
> maTypeSequence
;
129 rtl::OUString maBuildId
;
131 void initializeDocument();
133 SdXImpressDocument( ::sd::DrawDocShell
* pShell
, bool bClipBoard
= false ) throw();
134 SdXImpressDocument( SdDrawDocument
* pDoc
, bool bClipBoard
= false ) throw();
135 virtual ~SdXImpressDocument() throw();
137 static rtl::Reference
< SdXImpressDocument
> GetModel( SdDrawDocument
* pDoc
);
140 virtual int operator==( const SdXImpressDocument
& rModel
) const { return mpDoc
== rModel
.mpDoc
; }
141 virtual int operator!=( const SdXImpressDocument
& rModel
) const { return mpDoc
!= rModel
.mpDoc
; }
143 ::sd::DrawDocShell
* GetDocShell() const { return mpDocShell
; }
144 SdDrawDocument
* GetDoc() const { return mpDoc
; }
145 sal_Bool
IsImpressDocument() const { return mbImpressDoc
; }
147 void SetModified( sal_Bool bModified
= sal_True
) throw();
149 ::com::sun::star::uno::Reference
< ::com::sun::star::i18n::XForbiddenCharacters
> getForbiddenCharsTable();
152 virtual void Notify( SfxBroadcaster
& rBC
, const SfxHint
& rHint
);
154 UNO3_GETIMPLEMENTATION_DECL(SdXImpressDocument
)
157 virtual ::com::sun::star::uno::Any SAL_CALL
queryInterface( const ::com::sun::star::uno::Type
& rType
) throw(::com::sun::star::uno::RuntimeException
);
158 virtual void SAL_CALL
acquire() throw();
159 virtual void SAL_CALL
release() throw();
162 virtual void SAL_CALL
lockControllers( ) throw(::com::sun::star::uno::RuntimeException
);
163 virtual void SAL_CALL
unlockControllers( ) throw(::com::sun::star::uno::RuntimeException
);
164 virtual sal_Bool SAL_CALL
hasControllersLocked( ) throw(::com::sun::star::uno::RuntimeException
);
165 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::container::XIndexAccess
> SAL_CALL
getViewData() throw(::com::sun::star::uno::RuntimeException
);
166 virtual void SAL_CALL
setViewData( const ::com::sun::star::uno::Reference
< ::com::sun::star::container::XIndexAccess
>& aData
) throw(::com::sun::star::uno::RuntimeException
);
169 virtual ::com::sun::star::uno::Sequence
< ::com::sun::star::uno::Type
> SAL_CALL
getTypes( ) throw(::com::sun::star::uno::RuntimeException
);
170 virtual ::com::sun::star::uno::Sequence
< sal_Int8
> SAL_CALL
getImplementationId( ) throw(::com::sun::star::uno::RuntimeException
);
172 // XDrawPageDuplicator
173 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::drawing::XDrawPage
> SAL_CALL
duplicate( const ::com::sun::star::uno::Reference
< ::com::sun::star::drawing::XDrawPage
>& xPage
) throw(::com::sun::star::uno::RuntimeException
);
175 // XDrawPagesSupplier
176 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::drawing::XDrawPages
> SAL_CALL
getDrawPages( ) throw(::com::sun::star::uno::RuntimeException
);
178 // XMasterPagesSupplier
179 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::drawing::XDrawPages
> SAL_CALL
getMasterPages( ) throw(::com::sun::star::uno::RuntimeException
);
181 // XLayerManagerSupplier
182 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::container::XNameAccess
> SAL_CALL
getLayerManager( ) throw(::com::sun::star::uno::RuntimeException
);
184 // XCustomPresentationSupplier
185 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::container::XNameContainer
> SAL_CALL
getCustomPresentations( ) throw(::com::sun::star::uno::RuntimeException
);
187 // XHandoutMasterSupplier
188 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::drawing::XDrawPage
> SAL_CALL
getHandoutMasterPage( ) throw (::com::sun::star::uno::RuntimeException
);
190 // XPresentationSupplier
191 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::presentation::XPresentation
> SAL_CALL
getPresentation( ) throw(::com::sun::star::uno::RuntimeException
);
193 // XMultiServiceFactory ( SvxFmMSFactory )
194 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> SAL_CALL
createInstance( const ::rtl::OUString
& aServiceSpecifier
) throw(::com::sun::star::uno::Exception
, ::com::sun::star::uno::RuntimeException
);
195 virtual ::com::sun::star::uno::Sequence
< ::rtl::OUString
> SAL_CALL
getAvailableServiceNames( ) throw(::com::sun::star::uno::RuntimeException
);
198 virtual ::rtl::OUString SAL_CALL
getImplementationName() throw(::com::sun::star::uno::RuntimeException
);
199 virtual sal_Bool SAL_CALL
supportsService( const ::rtl::OUString
& ServiceName
) throw(::com::sun::star::uno::RuntimeException
);
200 virtual ::com::sun::star::uno::Sequence
< ::rtl::OUString
> SAL_CALL
getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException
);
203 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XPropertySetInfo
> SAL_CALL
getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException
);
204 virtual void SAL_CALL
setPropertyValue( const ::rtl::OUString
& aPropertyName
, const ::com::sun::star::uno::Any
& aValue
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::beans::PropertyVetoException
, ::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
205 virtual ::com::sun::star::uno::Any SAL_CALL
getPropertyValue( const ::rtl::OUString
& PropertyName
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
206 virtual void SAL_CALL
addPropertyChangeListener( const ::rtl::OUString
& aPropertyName
, const ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XPropertyChangeListener
>& xListener
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
207 virtual void SAL_CALL
removePropertyChangeListener( const ::rtl::OUString
& aPropertyName
, const ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XPropertyChangeListener
>& aListener
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
208 virtual void SAL_CALL
addVetoableChangeListener( const ::rtl::OUString
& PropertyName
, const ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XVetoableChangeListener
>& aListener
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
209 virtual void SAL_CALL
removeVetoableChangeListener( const ::rtl::OUString
& PropertyName
, const ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XVetoableChangeListener
>& aListener
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
211 // XLinkTargetSupplier
212 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::container::XNameAccess
> SAL_CALL
getLinks( ) throw(::com::sun::star::uno::RuntimeException
);
214 // XStyleFamiliesSupplier
215 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::container::XNameAccess
> SAL_CALL
getStyleFamilies( ) throw(::com::sun::star::uno::RuntimeException
);
217 // XAnyCompareFactory
218 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::ucb::XAnyCompare
> SAL_CALL
createAnyCompareByName( const ::rtl::OUString
& PropertyName
) throw(::com::sun::star::uno::RuntimeException
);
221 virtual sal_Int32 SAL_CALL
getRendererCount( const ::com::sun::star::uno::Any
& aSelection
, const ::com::sun::star::uno::Sequence
< ::com::sun::star::beans::PropertyValue
>& xOptions
) throw (::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::uno::RuntimeException
);
222 virtual ::com::sun::star::uno::Sequence
< ::com::sun::star::beans::PropertyValue
> SAL_CALL
getRenderer( sal_Int32 nRenderer
, const ::com::sun::star::uno::Any
& aSelection
, const ::com::sun::star::uno::Sequence
< ::com::sun::star::beans::PropertyValue
>& xOptions
) throw (::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::uno::RuntimeException
);
223 virtual void SAL_CALL
render( sal_Int32 nRenderer
, const ::com::sun::star::uno::Any
& aSelection
, const ::com::sun::star::uno::Sequence
< ::com::sun::star::beans::PropertyValue
>& xOptions
) throw (::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::uno::RuntimeException
);
227 /** This dispose implementation releases the resources held by the
228 called object and forwards the call to its base class.
229 When close() has not yet been called then this is done first. As a
230 consequence the implementation has to cope with being called twice
231 and still has to forward the second call to the base class.
232 See also comments of issue 27847.
234 virtual void SAL_CALL
dispose() throw (::com::sun::star::uno::RuntimeException
);
237 /***********************************************************************
239 ***********************************************************************/
241 #include <cppuhelper/implbase4.hxx>
243 class SdDrawPagesAccess
: public ::cppu::WeakImplHelper4
< ::com::sun::star::drawing::XDrawPages
, ::com::sun::star::container::XNameAccess
, ::com::sun::star::lang::XServiceInfo
, ::com::sun::star::lang::XComponent
>
246 SdXImpressDocument
* mpModel
;
249 SdDrawPagesAccess( SdXImpressDocument
& rMyModel
) throw();
250 virtual ~SdDrawPagesAccess() throw();
253 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::drawing::XDrawPage
> SAL_CALL
insertNewByIndex( sal_Int32 nIndex
) throw(::com::sun::star::uno::RuntimeException
);
254 virtual void SAL_CALL
remove( const ::com::sun::star::uno::Reference
< ::com::sun::star::drawing::XDrawPage
>& xPage
) throw(::com::sun::star::uno::RuntimeException
);
257 virtual ::com::sun::star::uno::Any SAL_CALL
getByName( const ::rtl::OUString
& aName
) throw(::com::sun::star::container::NoSuchElementException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
258 virtual ::com::sun::star::uno::Sequence
< ::rtl::OUString
> SAL_CALL
getElementNames() throw(::com::sun::star::uno::RuntimeException
);
259 virtual sal_Bool SAL_CALL
hasByName( const ::rtl::OUString
& aName
) throw(::com::sun::star::uno::RuntimeException
);
262 virtual sal_Int32 SAL_CALL
getCount() throw(::com::sun::star::uno::RuntimeException
) ;
263 virtual ::com::sun::star::uno::Any SAL_CALL
getByIndex( sal_Int32 Index
) throw(::com::sun::star::lang::IndexOutOfBoundsException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
266 virtual ::com::sun::star::uno::Type SAL_CALL
getElementType() throw(::com::sun::star::uno::RuntimeException
);
267 virtual sal_Bool SAL_CALL
hasElements() throw(::com::sun::star::uno::RuntimeException
);
270 virtual ::rtl::OUString SAL_CALL
getImplementationName( ) throw(::com::sun::star::uno::RuntimeException
);
271 virtual sal_Bool SAL_CALL
supportsService( const ::rtl::OUString
& ServiceName
) throw(::com::sun::star::uno::RuntimeException
);
272 virtual ::com::sun::star::uno::Sequence
< ::rtl::OUString
> SAL_CALL
getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException
);
275 virtual void SAL_CALL
dispose( ) throw (::com::sun::star::uno::RuntimeException
);
276 virtual void SAL_CALL
addEventListener( const ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XEventListener
>& xListener
) throw (::com::sun::star::uno::RuntimeException
);
277 virtual void SAL_CALL
removeEventListener( const ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XEventListener
>& aListener
) throw (::com::sun::star::uno::RuntimeException
);
280 /***********************************************************************
282 ***********************************************************************/
284 #include <cppuhelper/implbase3.hxx>
286 class SdMasterPagesAccess
: public ::cppu::WeakImplHelper3
< ::com::sun::star::drawing::XDrawPages
, ::com::sun::star::lang::XServiceInfo
, ::com::sun::star::lang::XComponent
>
289 SdXImpressDocument
* mpModel
;
292 SdMasterPagesAccess( SdXImpressDocument
& rMyModel
) throw();
293 virtual ~SdMasterPagesAccess() throw();
296 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::drawing::XDrawPage
> SAL_CALL
insertNewByIndex( sal_Int32 nIndex
) throw(::com::sun::star::uno::RuntimeException
);
297 virtual void SAL_CALL
remove( const ::com::sun::star::uno::Reference
< ::com::sun::star::drawing::XDrawPage
>& xPage
) throw(::com::sun::star::uno::RuntimeException
);
300 virtual sal_Int32 SAL_CALL
getCount() throw(::com::sun::star::uno::RuntimeException
) ;
301 virtual ::com::sun::star::uno::Any SAL_CALL
getByIndex( sal_Int32 Index
) throw(::com::sun::star::lang::IndexOutOfBoundsException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
304 virtual ::com::sun::star::uno::Type SAL_CALL
getElementType() throw(::com::sun::star::uno::RuntimeException
);
305 virtual sal_Bool SAL_CALL
hasElements() throw(::com::sun::star::uno::RuntimeException
);
308 virtual ::rtl::OUString SAL_CALL
getImplementationName( ) throw(::com::sun::star::uno::RuntimeException
);
309 virtual sal_Bool SAL_CALL
supportsService( const ::rtl::OUString
& ServiceName
) throw(::com::sun::star::uno::RuntimeException
);
310 virtual ::com::sun::star::uno::Sequence
< ::rtl::OUString
> SAL_CALL
getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException
);
313 virtual void SAL_CALL
dispose( ) throw (::com::sun::star::uno::RuntimeException
);
314 virtual void SAL_CALL
addEventListener( const ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XEventListener
>& xListener
) throw (::com::sun::star::uno::RuntimeException
);
315 virtual void SAL_CALL
removeEventListener( const ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XEventListener
>& aListener
) throw (::com::sun::star::uno::RuntimeException
);
318 /***********************************************************************
320 ***********************************************************************/
322 class SdDocLinkTargets
: public ::cppu::WeakImplHelper3
< ::com::sun::star::container::XNameAccess
,
323 ::com::sun::star::lang::XServiceInfo
, ::com::sun::star::lang::XComponent
>
326 SdXImpressDocument
* mpModel
;
329 SdDocLinkTargets( SdXImpressDocument
& rMyModel
) throw();
330 virtual ~SdDocLinkTargets() throw();
333 virtual ::com::sun::star::uno::Any SAL_CALL
getByName( const ::rtl::OUString
& aName
) throw(::com::sun::star::container::NoSuchElementException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
334 virtual ::com::sun::star::uno::Sequence
< ::rtl::OUString
> SAL_CALL
getElementNames() throw(::com::sun::star::uno::RuntimeException
);
335 virtual sal_Bool SAL_CALL
hasByName( const ::rtl::OUString
& aName
) throw(::com::sun::star::uno::RuntimeException
);
338 virtual ::com::sun::star::uno::Type SAL_CALL
getElementType() throw(::com::sun::star::uno::RuntimeException
);
339 virtual sal_Bool SAL_CALL
hasElements() throw(::com::sun::star::uno::RuntimeException
);
342 virtual ::rtl::OUString SAL_CALL
getImplementationName() throw(::com::sun::star::uno::RuntimeException
);
343 virtual sal_Bool SAL_CALL
supportsService( const ::rtl::OUString
& ServiceName
) throw(::com::sun::star::uno::RuntimeException
);
344 virtual ::com::sun::star::uno::Sequence
< ::rtl::OUString
> SAL_CALL
getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException
);
347 virtual void SAL_CALL
dispose( ) throw (::com::sun::star::uno::RuntimeException
);
348 virtual void SAL_CALL
addEventListener( const ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XEventListener
>& xListener
) throw (::com::sun::star::uno::RuntimeException
);
349 virtual void SAL_CALL
removeEventListener( const ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XEventListener
>& aListener
) throw (::com::sun::star::uno::RuntimeException
);
352 SdPage
* FindPage( const ::rtl::OUString
& rName
) const throw();