LibreOffice Module sd (master) 1
unomodel.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19#pragma once
20
21#include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
22#include <com/sun/star/document/XLinkTargetSupplier.hpp>
23#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
24#include <com/sun/star/drawing/XDrawPageDuplicator.hpp>
25#include <com/sun/star/drawing/XLayerSupplier.hpp>
26#include <com/sun/star/drawing/XMasterPagesSupplier.hpp>
27#include <com/sun/star/presentation/XPresentationSupplier.hpp>
28#include <com/sun/star/presentation/XCustomPresentationSupplier.hpp>
29#include <com/sun/star/lang/XServiceInfo.hpp>
30#include <com/sun/star/drawing/XDrawPages.hpp>
31#include <com/sun/star/ucb/XAnyCompareFactory.hpp>
32#include <com/sun/star/presentation/XHandoutMasterSupplier.hpp>
33#include <com/sun/star/view/XRenderable.hpp>
34#include <com/sun/star/beans/XPropertySet.hpp>
35
36#include <rtl/ref.hxx>
37
38#include <sfx2/sfxbasemodel.hxx>
39#include <svx/fmdmod.hxx>
40
42
46#include <sddllapi.h>
47
48namespace com::sun::star::container { class XNameContainer; }
49namespace com::sun::star::i18n { class XForbiddenCharacters; }
50namespace com::sun::star::presentation { class XPresentation; }
51
52class SdDrawDocument;
53class SdPage;
55
56namespace sd {
57class DrawDocShell;
58class DrawViewShell;
59}
60
61extern OUString getPageApiName( SdPage const * pPage );
62extern OUString getPageApiNameFromUiName( const OUString& rUIName );
63
64class SD_DLLPUBLIC SdXImpressDocument final : public SfxBaseModel, // implements SfxListener, OWEAKOBJECT & other
65 public SvxFmMSFactory,
66 public css::drawing::XDrawPageDuplicator,
67 public css::drawing::XLayerSupplier,
68 public css::drawing::XMasterPagesSupplier,
69 public css::drawing::XDrawPagesSupplier,
70 public css::presentation::XPresentationSupplier,
71 public css::presentation::XCustomPresentationSupplier,
72 public css::document::XLinkTargetSupplier,
73 public css::beans::XPropertySet,
74 public css::style::XStyleFamiliesSupplier,
75 public css::lang::XServiceInfo,
76 public css::ucb::XAnyCompareFactory,
77 public css::presentation::XHandoutMasterSupplier,
78 public css::view::XRenderable,
79 public vcl::ITiledRenderable
80{
81 friend class SdDrawPagesAccess;
82 friend class SdMasterPagesAccess;
83 friend class SdLayerManager;
84
85private:
89
90 css::uno::Reference<css::uno::XInterface> create(
91 OUString const & aServiceSpecifier, OUString const & referer);
92
94 SdPage* InsertSdPage( sal_uInt16 nPage, bool bDuplicate );
95
96 const bool mbImpressDoc;
98
99 css::uno::WeakReference< css::drawing::XDrawPages > mxDrawPagesAccess;
100 css::uno::WeakReference< css::drawing::XDrawPages > mxMasterPagesAccess;
101 css::uno::WeakReference< css::container::XNameAccess > mxLayerManager;
102 css::uno::WeakReference< css::container::XNameContainer > mxCustomPresentationAccess;
103 css::uno::WeakReference< css::i18n::XForbiddenCharacters > mxForbiddenCharacters;
104 css::uno::Reference< css::container::XNameAccess > mxLinks;
105
106 css::uno::Reference< css::uno::XInterface > mxDashTable;
107 css::uno::Reference< css::uno::XInterface > mxGradientTable;
108 css::uno::Reference< css::uno::XInterface > mxHatchTable;
109 css::uno::Reference< css::uno::XInterface > mxBitmapTable;
110 css::uno::Reference< css::uno::XInterface > mxTransGradientTable;
111 css::uno::Reference< css::uno::XInterface > mxMarkerTable;
112 css::uno::Reference< css::uno::XInterface > mxDrawingPool;
113
115
116 css::uno::Sequence< css::uno::Type > maTypeSequence;
117
118 OUString maBuildId;
119
121
122 void initializeDocument();
123
124 sd::DrawViewShell* GetViewShell();
125
127 virtual SdrModel& getSdrModelFromUnoModel() const override;
128
129public:
130 SdXImpressDocument(::sd::DrawDocShell* pShell, bool bClipBoard);
131 SdXImpressDocument(SdDrawDocument* pDoc, bool bClipBoard);
132 virtual ~SdXImpressDocument() noexcept override;
133
134 static rtl::Reference< SdXImpressDocument > GetModel( SdDrawDocument const & rDoc );
135
136 // internal
137 bool operator==( const SdXImpressDocument& rModel ) const { return mpDoc == rModel.mpDoc; }
138 bool operator!=( const SdXImpressDocument& rModel ) const { return mpDoc != rModel.mpDoc; }
139
140 ::sd::DrawDocShell* GetDocShell() const { return mpDocShell; }
141 SdDrawDocument* GetDoc() const { return mpDoc; }
142 bool IsImpressDocument() const { return mbImpressDoc; }
143
144 void SetModified() noexcept;
145
146 css::uno::Reference< css::i18n::XForbiddenCharacters > getForbiddenCharsTable();
147
148 // SfxListener
149 virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
150
151 UNO3_GETIMPLEMENTATION_DECL(SdXImpressDocument)
152
153 // XInterface
154 virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
155 virtual void SAL_CALL acquire() noexcept override;
156 virtual void SAL_CALL release() noexcept override;
157
158 // XModel
159 virtual void SAL_CALL lockControllers( ) override;
160 virtual void SAL_CALL unlockControllers( ) override;
161 virtual sal_Bool SAL_CALL hasControllersLocked( ) override;
162 virtual css::uno::Reference < css::container::XIndexAccess > SAL_CALL getViewData() override;
163 virtual void SAL_CALL setViewData( const css::uno::Reference < css::container::XIndexAccess >& aData ) override;
164
165 // XTypeProvider
166 virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
167 virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override;
168
169 // XDrawPageDuplicator
170 virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL duplicate( const css::uno::Reference< css::drawing::XDrawPage >& xPage ) override;
171
172 // XDrawPagesSupplier
173 virtual css::uno::Reference< css::drawing::XDrawPages > SAL_CALL getDrawPages( ) override;
174
175 // XMasterPagesSupplier
176 virtual css::uno::Reference< css::drawing::XDrawPages > SAL_CALL getMasterPages( ) override;
177
178 // XLayerManagerSupplier
179 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getLayerManager( ) override;
180
181 // XCustomPresentationSupplier
182 virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL getCustomPresentations( ) override;
183
184 // XHandoutMasterSupplier
185 virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL getHandoutMasterPage( ) override;
186
187 // XPresentationSupplier
188 virtual css::uno::Reference< css::presentation::XPresentation > SAL_CALL getPresentation( ) override;
189
190 // XMultiServiceFactory ( SvxFmMSFactory )
191 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance( const OUString& aServiceSpecifier ) override;
192 virtual css::uno::Reference<css::uno::XInterface> SAL_CALL
193 createInstanceWithArguments(
194 OUString const & ServiceSpecifier,
195 css::uno::Sequence<css::uno::Any> const & Arguments) override;
196 virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames( ) override;
197
198 // XServiceInfo
199 virtual OUString SAL_CALL getImplementationName() override;
200 virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
201 virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
202
203 // XPropertySet
204 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
205 virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
206 virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
207 virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
208 virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
209 virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
210 virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
211
212 // XLinkTargetSupplier
213 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getLinks( ) override;
214
215 // XStyleFamiliesSupplier
216 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getStyleFamilies( ) override;
217
218 // XAnyCompareFactory
219 virtual css::uno::Reference< css::ucb::XAnyCompare > SAL_CALL createAnyCompareByName( const OUString& PropertyName ) override;
220
221 // XRenderable
222 virtual sal_Int32 SAL_CALL getRendererCount( const css::uno::Any& aSelection, const css::uno::Sequence< css::beans::PropertyValue >& xOptions ) override;
223 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getRenderer( sal_Int32 nRenderer, const css::uno::Any& aSelection, const css::uno::Sequence< css::beans::PropertyValue >& xOptions ) override;
224 virtual void SAL_CALL render( sal_Int32 nRenderer, const css::uno::Any& aSelection, const css::uno::Sequence< css::beans::PropertyValue >& xOptions ) override;
225
226 // ITiledRenderable
227 virtual void paintTile( VirtualDevice& rDevice,
228 int nOutputWidth,
229 int nOutputHeight,
230 int nTilePosX,
231 int nTilePosY,
232 tools::Long nTileWidth,
233 tools::Long nTileHeight ) override;
234 virtual Size getDocumentSize() override;
235 virtual void setPart( int nPart, bool bAllowChangeFocus = true ) override;
236 virtual int getPart() override;
237 virtual int getParts() override;
238 virtual OUString getPartName( int nPart ) override;
239 virtual OUString getPartHash( int nPart ) override;
240 virtual VclPtr<vcl::Window> getDocWindow() override;
241 bool isMasterViewMode();
242
244 virtual void setPartMode( int nPartMode ) override;
246 virtual int getEditMode() override;
248 virtual void setEditMode(int) override;
250 virtual void initializeForTiledRendering(const css::uno::Sequence<css::beans::PropertyValue>& rArguments) override;
252 virtual void postKeyEvent(int nType, int nCharCode, int nKeyCode) override;
254 virtual void postMouseEvent(int nType, int nX, int nY, int nCount, int nButtons, int nModifier) override;
256 virtual void setTextSelection(int nType, int nX, int nY) override;
258 virtual css::uno::Reference<css::datatransfer::XTransferable> getSelection() override;
260 virtual void setGraphicSelection(int nType, int nX, int nY) override;
262 virtual void resetSelection() override;
264 virtual void setClientVisibleArea(const tools::Rectangle& rRectangle) override;
266 virtual void setClipboard(const css::uno::Reference<css::datatransfer::clipboard::XClipboard>& xClipboard) override;
268 virtual bool isMimeTypeSupported() override;
270 virtual PointerStyle getPointer() override;
272 virtual void getPostIts(tools::JsonWriter& /*rJsonWriter*/) override;
274 virtual void selectPart(int nPart, int nSelect) override;
276 virtual void moveSelectedParts(int nPosition, bool bDuplicate) override;
278 virtual OUString getPartInfo(int nPart) override;
280 virtual bool isDisposed() const override
281 {
282 return mbDisposed;
283 }
285 virtual void setPaintTextEdit(bool bPaint) override { mbPaintTextEdit = bPaint; }
286
288 OString getViewRenderState() override;
289
290 // XComponent
291
299 virtual void SAL_CALL dispose() override;
300};
301
302/***********************************************************************
303* *
304***********************************************************************/
305
306class SdDrawPagesAccess final : public ::cppu::WeakImplHelper< css::drawing::XDrawPages, css::container::XNameAccess, css::lang::XServiceInfo, css::lang::XComponent >
307{
308private:
310
311public:
312 SdDrawPagesAccess( SdXImpressDocument& rMyModel ) noexcept;
313 virtual ~SdDrawPagesAccess() noexcept override;
314
315 // XDrawPages
316 virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL insertNewByIndex( sal_Int32 nIndex ) override;
317 virtual void SAL_CALL remove( const css::uno::Reference< css::drawing::XDrawPage >& xPage ) override;
318
319 // XNameAccess
320 virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) override;
321 virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override;
322 virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) override;
323
324 // XIndexAccess
325 virtual sal_Int32 SAL_CALL getCount() override ;
326 virtual css::uno::Any SAL_CALL getByIndex( sal_Int32 Index ) override;
327
328 // XElementAccess
329 virtual css::uno::Type SAL_CALL getElementType() override;
330 virtual sal_Bool SAL_CALL hasElements() override;
331
332 // XServiceInfo
333 virtual OUString SAL_CALL getImplementationName( ) override;
334 virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
335 virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
336
337 // XComponent
338 virtual void SAL_CALL dispose( ) override;
339 virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener >& xListener ) override;
340 virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) override;
341};
342
343/***********************************************************************
344* *
345***********************************************************************/
346
347class SdMasterPagesAccess final : public ::cppu::WeakImplHelper< css::drawing::XDrawPages, css::lang::XServiceInfo, css::lang::XComponent >
348{
349private:
351
352public:
353 SdMasterPagesAccess( SdXImpressDocument& rMyModel ) noexcept;
354 virtual ~SdMasterPagesAccess() noexcept override;
355
356 // XDrawPages
357 virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL insertNewByIndex( sal_Int32 nIndex ) override;
358 virtual void SAL_CALL remove( const css::uno::Reference< css::drawing::XDrawPage >& xPage ) override;
359
360 // XIndexAccess
361 virtual sal_Int32 SAL_CALL getCount() override ;
362 virtual css::uno::Any SAL_CALL getByIndex( sal_Int32 Index ) override;
363
364 // XElementAccess
365 virtual css::uno::Type SAL_CALL getElementType() override;
366 virtual sal_Bool SAL_CALL hasElements() override;
367
368 // XServiceInfo
369 virtual OUString SAL_CALL getImplementationName( ) override;
370 virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
371 virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
372
373 // XComponent
374 virtual void SAL_CALL dispose( ) override;
375 virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener >& xListener ) override;
376 virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) override;
377};
378
379/***********************************************************************
380* *
381***********************************************************************/
382
384{
385 Page = 0,
386 Notes,
389 Count
391
392class SdDocLinkTargets final : public ::cppu::WeakImplHelper< css::container::XNameAccess,
393 css::lang::XServiceInfo , css::lang::XComponent >
394{
395private:
397 OUString aNames[SdLinkTargetType::Count];
398
399public:
401 virtual ~SdDocLinkTargets() noexcept override;
402
403 // XNameAccess
404 virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) override;
405 virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override;
406 virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) override;
407
408 // XElementAccess
409 virtual css::uno::Type SAL_CALL getElementType() override;
410 virtual sal_Bool SAL_CALL hasElements() override;
411
412 // XServiceInfo
413 virtual OUString SAL_CALL getImplementationName() override;
414 virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
415 virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
416
417 // XComponent
418 virtual void SAL_CALL dispose( ) override;
419 virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener >& xListener ) override;
420 virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) override;
421};
422
423class SdDocLinkTargetType final : public ::cppu::WeakImplHelper< css::document::XLinkTargetSupplier,
424 css::beans::XPropertySet,
425 css::lang::XServiceInfo >
426{
428 sal_uInt16 mnType;
429 OUString maName;
430
431public:
432 SdDocLinkTargetType(SdXImpressDocument* pModel, sal_uInt16 nT);
433
434 // css::document::XLinkTargetSupplier
435 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getLinks() override;
436
437 // css::lang::XServiceInfo
438 virtual OUString SAL_CALL getImplementationName() override;
439 virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
440 virtual css::uno::Sequence< OUString> SAL_CALL getSupportedServiceNames() override;
441
442 // css::beans::XPropertySet
443 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override;
444 virtual void SAL_CALL setPropertyValue(const OUString& aPropertyName,
445 const css::uno::Any& aValue) override;
446 virtual css::uno::Any SAL_CALL getPropertyValue(const OUString& PropertyName) override;
447 virtual void SAL_CALL addPropertyChangeListener(const OUString& aPropertyName,
448 const css::uno::Reference< css::beans::XPropertyChangeListener > & xListener) override;
449 virtual void SAL_CALL removePropertyChangeListener(const OUString& aPropertyName,
450 const css::uno::Reference< css::beans::XPropertyChangeListener > & aListener) override;
451 virtual void SAL_CALL addVetoableChangeListener(const OUString& PropertyName,
452 const css::uno::Reference< css::beans::XVetoableChangeListener > & aListener) override;
453 virtual void SAL_CALL removeVetoableChangeListener(const OUString& PropertyName,
454 const css::uno::Reference< css::beans::XVetoableChangeListener > & aListener) override;
455};
456
457class SdDocLinkTarget final : public ::cppu::WeakImplHelper< css::container::XNameAccess,
458 css::lang::XServiceInfo >
459{
460private:
462 sal_uInt16 mnType;
463
464public:
465 SdDocLinkTarget( SdXImpressDocument* pModel, sal_uInt16 nT );
466
467 // css::container::XNameAccess
468 virtual css::uno::Any SAL_CALL getByName(const OUString& aName) override;
469 virtual css::uno::Sequence< OUString> SAL_CALL getElementNames() override;
470 virtual sal_Bool SAL_CALL hasByName(const OUString& aName) override;
471
472 // css::container::XElementAccess
473 virtual css::uno::Type SAL_CALL getElementType() override;
474 virtual sal_Bool SAL_CALL hasElements() override;
475
476 // css::lang::XServiceInfo
477 virtual OUString SAL_CALL getImplementationName() override;
478 virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
479 virtual css::uno::Sequence< OUString> SAL_CALL getSupportedServiceNames() override;
480
481 // internal
483 SdPage* FindPage( std::u16string_view rName ) const;
484};
485
486/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
struct _ADOIndex Index
Page
sal_uInt16 mnType
Definition: unomodel.hxx:428
SdXImpressDocument * mpModel
Definition: unomodel.hxx:427
sal_uInt16 mnType
Definition: unomodel.hxx:462
SdXImpressDocument * mpModel
Definition: unomodel.hxx:461
SdXImpressDocument * mpModel
Definition: unomodel.hxx:396
virtual sal_Bool SAL_CALL hasByName(const OUString &aName) override
Definition: unomodel.cxx:3017
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
Definition: unomodel.cxx:2996
virtual void SAL_CALL dispose() override
Definition: unomodel.cxx:3147
virtual sal_Bool SAL_CALL hasElements() override
Definition: unomodel.cxx:3045
virtual ~SdDrawPagesAccess() noexcept override
Definition: unomodel.cxx:2928
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
Definition: unomodel.cxx:3157
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unomodel.cxx:3141
virtual OUString SAL_CALL getImplementationName() override
Definition: unomodel.cxx:3131
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
Definition: unomodel.cxx:3152
virtual css::uno::Type SAL_CALL getElementType() override
Definition: unomodel.cxx:3040
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unomodel.cxx:3136
virtual sal_Int32 SAL_CALL getCount() override
Definition: unomodel.cxx:2933
virtual css::uno::Any SAL_CALL getByName(const OUString &aName) override
Definition: unomodel.cxx:2966
SdDrawPagesAccess(SdXImpressDocument &rMyModel) noexcept
Definition: unomodel.cxx:2923
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
Definition: unomodel.cxx:2943
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL insertNewByIndex(sal_Int32 nIndex) override
Creates a new page with model at the specified position.
Definition: unomodel.cxx:3056
virtual void SAL_CALL remove(const css::uno::Reference< css::drawing::XDrawPage > &xPage) override
Removes the specified SdDrawPage from the model and the internal list.
Definition: unomodel.cxx:3082
SdXImpressDocument * mpModel
Definition: unomodel.hxx:309
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unolayer.cxx:406
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unolayer.cxx:411
virtual OUString SAL_CALL getImplementationName() override
Definition: unolayer.cxx:401
SdXImpressDocument * mpModel
Definition: unomodel.hxx:350
const bool mbImpressDoc
Definition: unomodel.hxx:96
css::uno::Reference< css::uno::XInterface > mxBitmapTable
Definition: unomodel.hxx:109
SdDrawDocument * mpDoc
Definition: unomodel.hxx:87
css::uno::Reference< css::uno::XInterface > mxTransGradientTable
Definition: unomodel.hxx:110
css::uno::Reference< css::container::XNameAccess > mxLinks
Definition: unomodel.hxx:104
css::uno::Reference< css::uno::XInterface > mxGradientTable
Definition: unomodel.hxx:107
css::uno::WeakReference< css::drawing::XDrawPages > mxMasterPagesAccess
Definition: unomodel.hxx:100
css::uno::Reference< css::uno::XInterface > mxDrawingPool
Definition: unomodel.hxx:112
css::uno::WeakReference< css::container::XNameAccess > mxLayerManager
Definition: unomodel.hxx:101
css::uno::Sequence< css::uno::Type > maTypeSequence
Definition: unomodel.hxx:116
bool operator!=(const SdXImpressDocument &rModel) const
Definition: unomodel.hxx:138
css::uno::Reference< css::uno::XInterface > mxHatchTable
Definition: unomodel.hxx:108
const SvxItemPropertySet * mpPropSet
Definition: unomodel.hxx:114
::sd::DrawDocShell * GetDocShell() const
Definition: unomodel.hxx:140
css::uno::WeakReference< css::drawing::XDrawPages > mxDrawPagesAccess
Definition: unomodel.hxx:99
css::uno::WeakReference< css::i18n::XForbiddenCharacters > mxForbiddenCharacters
Definition: unomodel.hxx:103
SdDrawDocument * GetDoc() const
Definition: unomodel.hxx:141
virtual void setPaintTextEdit(bool bPaint) override
Definition: unomodel.hxx:285
css::uno::WeakReference< css::container::XNameContainer > mxCustomPresentationAccess
Definition: unomodel.hxx:102
::sd::DrawDocShell * mpDocShell
Definition: unomodel.hxx:86
OUString maBuildId
Definition: unomodel.hxx:118
bool IsImpressDocument() const
Definition: unomodel.hxx:142
css::uno::Reference< css::uno::XInterface > mxMarkerTable
Definition: unomodel.hxx:111
css::uno::Reference< css::uno::XInterface > mxDashTable
Definition: unomodel.hxx:106
virtual void SAL_CALL dispose() override
virtual SdrModel & getSdrModelFromUnoModel() const=0
Base class of the stacked shells that provide graphical views to Draw and Impress documents and editi...
const SwFrame * FindPage(const SwRect &rRect, const SwFrame *pPage)
Type
css::uno::Reference< css::deployment::XPackageRegistry > create(css::uno::Reference< css::deployment::XPackageRegistry > const &xRootRegistry, OUString const &context, OUString const &cachePath, css::uno::Reference< css::uno::XComponentContext > const &xComponentContext)
VBAHELPER_DLLPUBLIC bool setPropertyValue(css::uno::Sequence< css::beans::PropertyValue > &aProp, const OUString &aName, const css::uno::Any &aValue)
Count
bool getPropertyValue(ValueType &rValue, css::uno::Reference< css::beans::XPropertySet > const &xPropSet, OUString const &propName)
long Long
PointerStyle
#define SD_DLLPUBLIC
Definition: sddllapi.h:27
unsigned char sal_Bool
signed char sal_Int8
OUString getPageApiNameFromUiName(const OUString &rUIName)
Definition: unopage.cxx:2174
OUString getPageApiName(SdPage const *pPage)
Definition: unopage.cxx:2156
SdLinkTargetType
Definition: unomodel.hxx:384
@ Count
Definition: unomodel.hxx:389
@ Handout
Definition: unomodel.hxx:387