/src/libreoffice/include/sfx2/shell.hxx
Line | Count | Source |
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 | | #ifndef INCLUDED_SFX2_SHELL_HXX |
20 | | #define INCLUDED_SFX2_SHELL_HXX |
21 | | |
22 | | #include <memory> |
23 | | #include <rtl/ustring.hxx> |
24 | | #include <sal/config.h> |
25 | | #include <sal/types.h> |
26 | | #include <svl/typedwhich.hxx> |
27 | | #include <sfx2/dllapi.h> |
28 | | #include <svl/SfxBroadcaster.hxx> |
29 | | #include <o3tl/typed_flags_set.hxx> |
30 | | #include <o3tl/strong_int.hxx> |
31 | | #include <optional> |
32 | | |
33 | | namespace com::sun::star::embed { struct VerbDescriptor; } |
34 | | namespace com::sun::star::uno { template <class E> class Sequence; } |
35 | | |
36 | | class SfxItemPool; |
37 | | class SfxPoolItem; |
38 | | class SfxRequest; |
39 | | class SfxItemSet; |
40 | | class SfxInterface; |
41 | | class SfxViewShell; |
42 | | class SfxObjectShell; |
43 | | |
44 | | class SfxShell; |
45 | | struct SfxShell_Impl; |
46 | | class SfxDispatcher; |
47 | | class SfxViewFrame; |
48 | | class SfxSlot; |
49 | | class SfxRepeatTarget; |
50 | | class SfxBindings; |
51 | | class SfxModule; |
52 | | class SfxUndoManager; |
53 | | class SfxPoolItemHolder; |
54 | | |
55 | | /** |
56 | | Id for <SfxInterface>s, gives a quasi-static access to the interface |
57 | | through an array to <SfxApplication>. |
58 | | */ |
59 | | typedef o3tl::strong_int<sal_uInt16, struct SfxInterfaceIdTag> SfxInterfaceId; |
60 | | |
61 | | constexpr auto SFX_INTERFACE_NONE = SfxInterfaceId(0); |
62 | | constexpr auto SFX_INTERFACE_SFXAPP = SfxInterfaceId(1); |
63 | | constexpr auto SFX_INTERFACE_SFXDOCSH = SfxInterfaceId(2); |
64 | | constexpr auto SFX_INTERFACE_SFXVIEWSH = SfxInterfaceId(3); |
65 | | constexpr auto SFX_INTERFACE_SFXVIEWFRM = SfxInterfaceId(4); |
66 | | constexpr auto SFX_INTERFACE_SFXMODULE = SfxInterfaceId(5); |
67 | | constexpr auto SFX_INTERFACE_SC_START = SfxInterfaceId(150); |
68 | | constexpr auto SFX_INTERFACE_SD_START = SfxInterfaceId(200); |
69 | | constexpr auto SFX_INTERFACE_SW_START = SfxInterfaceId(250); |
70 | | constexpr auto SFX_INTERFACE_SMA_START = SfxInterfaceId(340); |
71 | | constexpr auto SFX_INTERFACE_IDE_START = SfxInterfaceId(400); |
72 | | constexpr auto SFX_INTERFACE_IDE_END = SfxInterfaceId(409); |
73 | | |
74 | | enum class SfxShellFeature |
75 | | { |
76 | | NONE = 0x0000, |
77 | | // Writer only, class SwView |
78 | | SwChildWindowLabel = 0x0001, |
79 | | // Basic only, class Shell |
80 | | BasicShowBrowser = 0x0004, |
81 | | // Forms only, class FmFormShell |
82 | | FormShowDatabaseBar = 0x0008, |
83 | | FormShowField = 0x0010, |
84 | | FormShowProperties = 0x0020, |
85 | | FormShowExplorer = 0x0040, |
86 | | FormShowFilterBar = 0x0080, |
87 | | FormShowFilterNavigator = 0x0100, |
88 | | FormShowTextControlBar = 0x0200, |
89 | | FormTBControls = 0x0400, |
90 | | FormTBDesign = 0x1000, |
91 | | FormShowDataNavigator = 0x2000, |
92 | | // masks to make sure modules don't use flags from another |
93 | | SwMask = 0x0001, |
94 | | BasicMask = 0x0004, |
95 | | FormMask = 0x3ff8 |
96 | | }; |
97 | | namespace o3tl |
98 | | { |
99 | | template<> struct typed_flags<SfxShellFeature> : is_typed_flags<SfxShellFeature, 0x37fd> {}; |
100 | | } |
101 | | |
102 | | /* Flags that are being used in the slot definitions for the disable-features */ |
103 | | enum class SfxDisableFlags { |
104 | | NONE, |
105 | | SwOnProtectedCursor = 0x0001, |
106 | | SwOnMailboxEditor = 0x0002, |
107 | | }; |
108 | | namespace o3tl { |
109 | | template<> struct typed_flags<SfxDisableFlags> : is_typed_flags<SfxDisableFlags, 0x0003> {}; |
110 | | } |
111 | | |
112 | | typedef void (*SfxExecFunc)(SfxShell *, SfxRequest &rReq); |
113 | | typedef void (*SfxStateFunc)(SfxShell *, SfxItemSet &rSet); |
114 | | |
115 | | /** |
116 | | The class SfxShell is the base class for all classes, which provide |
117 | | the functionality of the form <Slot>s. |
118 | | |
119 | | Each instance has a reference to an interface description, which is |
120 | | obtainable through <SfxShell::GetInterface()const>. This interface |
121 | | provides the connection to specific methods and contains some other |
122 | | descriptive data for controllers like menus and toolboxes, but also |
123 | | for the various APIs. The main part of the interface description is in |
124 | | the form of a <Type-Library>, which is generated from an IDL-file by |
125 | | the <SVIDL-Compiler>. For each SfxShell Subclass-File there is one |
126 | | such IDL-file to write. |
127 | | */ |
128 | | class SFX2_DLLPUBLIC SfxShell: public SfxBroadcaster |
129 | | { |
130 | | friend class SfxObjectItem; |
131 | | |
132 | | std::unique_ptr< SfxShell_Impl > pImpl; |
133 | | SfxItemPool* pPool; |
134 | | SfxUndoManager* pUndoMgr; |
135 | | |
136 | | private: |
137 | | SfxShell( const SfxShell & ) = delete; |
138 | | SfxShell& operator = ( const SfxShell & ) = delete; |
139 | | |
140 | | protected: |
141 | | /** |
142 | | The constructor of the SfxShell class initializes only simple types, |
143 | | the corresponding SbxObject is only created on-demand. Therefore, |
144 | | the application of a SfxShell instance is very cheap. |
145 | | */ |
146 | | SfxShell(); |
147 | | |
148 | | /** |
149 | | The constructor of the SfxShell class initializes only simple types, |
150 | | the corresponding SbxObject is only created on-demand. Therefore, |
151 | | the application of a SfxShell instance is very cheap. |
152 | | */ |
153 | | SfxShell( SfxViewShell *pViewSh ); |
154 | | |
155 | | void SetViewShell_Impl( SfxViewShell* pView ); |
156 | | SAL_DLLPRIVATE void Invalidate_Impl( SfxBindings& rBindings, sal_uInt16 nId ); |
157 | | void HandleOpenXmlFilterSettings(SfxRequest &); |
158 | | |
159 | | public: |
160 | | |
161 | | /** |
162 | | The connection to a possible corresponding SbxObject is dissolved. |
163 | | The SbxObject may continue to exist, but can not any longer perform |
164 | | any functions and can not provide any properties. |
165 | | */ |
166 | | virtual ~SfxShell() override; |
167 | | |
168 | | /** |
169 | | With this virtual method, which is automatically overridden by each subclass |
170 | | with its own slots through the macro <SFX_DECL_INTERFACE>, one can access |
171 | | each of the <SfxInterface> instance belonging to the subclass. |
172 | | |
173 | | The class SfxShell itself has no own SfxInterface (no slots), therefore a |
174 | | NULL-pointer is returned. |
175 | | */ |
176 | | virtual SfxInterface* GetInterface() const; |
177 | 352 | static SfxInterface* GetStaticInterface() { return nullptr; } |
178 | | |
179 | | /** |
180 | | Sets the name of the Shell object. With this name, the SfxShell instance |
181 | | of BASIC can be expressed. |
182 | | */ |
183 | | void SetName( const OUString &rName ); |
184 | | |
185 | | /** |
186 | | Returns the name of the Shell object. With this name, the SfxShell instance |
187 | | of BASIC can be expressed. |
188 | | */ |
189 | | const OUString& GetName() const; |
190 | | |
191 | | /** |
192 | | Returns the SfxViewShell in which they are located in the subshells. |
193 | | Otherwise, and if not specified by the App developer, this method |
194 | | returns NULL. |
195 | | */ |
196 | | SfxViewShell* GetViewShell() const; |
197 | | |
198 | | static void EmptyExecStub(SfxShell *pShell, SfxRequest &); |
199 | | static void EmptyStateStub(SfxShell *pShell, SfxItemSet &); |
200 | | |
201 | | /** |
202 | | This method returns the status of the slot with the specified slot ID |
203 | | on the specified interface. |
204 | | |
205 | | If the slot is disabled or in this SfxShell (and their parent shells) are |
206 | | not known, a Null-pointer is returned. |
207 | | |
208 | | If the slot does not have a Status, a SfxVoidItem is returned. |
209 | | |
210 | | The status is set directly in this Set when pStateSet != 0 , so that |
211 | | overridden Slots of the <SfxShell> Subclasses and also in the Status |
212 | | method of the base implementation can be called. |
213 | | |
214 | | [Example] |
215 | | |
216 | | In a derived class of SfxViewShell the SID_PRINTDOCDIRECT will be |
217 | | intercepted. Under certain circumstances a query should appear before |
218 | | you print, and the request will be aborted if necessary. |
219 | | |
220 | | Also in the IDL of this subclass of the above slot is entered. The status |
221 | | method will contain in outline: |
222 | | |
223 | | void SubViewShell::PrintState( SfxItemSet &rState ) |
224 | | { |
225 | | if ( rState.GetItemState( SID_PRINTDOCDIRECT ) != SfxItemState::UNKNOWN ) |
226 | | GetSlotState( SID_PRINTDOCDIRECT, SfxViewShell::GetInterface(), |
227 | | &rState ); |
228 | | ... |
229 | | } |
230 | | |
231 | | [Cross-reference] |
232 | | |
233 | | <SfxShell::ExecuteSlot(SfxRequest&)> |
234 | | */ |
235 | | SfxPoolItemHolder GetSlotState( sal_uInt16 nSlotId, const SfxInterface *pIF = nullptr, SfxItemSet *pStateSet = nullptr ); |
236 | | |
237 | | /** |
238 | | This method allows you to forward a <SfxRequest> to the specified |
239 | | base <SfxShell>. |
240 | | |
241 | | [Example] |
242 | | |
243 | | In a derived class of SfxViewShell the SID_PRINTDOCDIRECT will be |
244 | | intercepted. Under certain circumstances a query should appear before |
245 | | you print, and the request will be aborted if necessary. |
246 | | |
247 | | Also in the IDL of this subclass of the above slot is entered. The status |
248 | | method will contain in outline: |
249 | | |
250 | | void SubViewShell::Exec( SfxRequest &rReq ) |
251 | | { |
252 | | if ( rReq.GetSlot() == SID_PRINTDOCDIRECT ) |
253 | | { |
254 | | 'dialog' |
255 | | if ( 'condition' ) |
256 | | ExecuteSlot( rReq, SfxViewShell::GetInterface() ); |
257 | | } |
258 | | } |
259 | | |
260 | | It usually takes no rReq.Done() to be called as that is already completed |
261 | | in implementation of the SfxViewShell, for instance it has been canceled. |
262 | | |
263 | | [Cross-reference] |
264 | | |
265 | | <SfxShell::GetSlotState(sal_uInt16,const SfxInterface*,SfxItemSet*)> |
266 | | */ |
267 | | const SfxPoolItemHolder& ExecuteSlot( SfxRequest &rReq, const SfxInterface *pIF = nullptr ); |
268 | | |
269 | | /** |
270 | | Asynchronous ExecuteSlot for the RELOAD |
271 | | */ |
272 | | void ExecuteSlot( SfxRequest &rReq, bool bAsync ); |
273 | | |
274 | | inline SfxItemPool& GetPool() const; |
275 | | inline void SetPool( SfxItemPool *pNewPool ) ; |
276 | | |
277 | | /** |
278 | | Each Subclass of SfxShell can have a <SfxUndoManager>. This can be set in |
279 | | the derived class with <SfxShell:SetUndoManager()>. |
280 | | |
281 | | The class SfxShell itself does not have a SfxUndoManager, a NULL-pointer |
282 | | is therefore returned. |
283 | | */ |
284 | | virtual SfxUndoManager* GetUndoManager(); |
285 | | |
286 | | /** |
287 | | Sets a <SfxUndoManager> for this <SfxShell> Instance. For the undo |
288 | | is only the undo-manager used for SfxShell at the top of the stack of each |
289 | | <SfxDispatcher>. |
290 | | |
291 | | On the given <SfxUndoManager> is automatically the current |
292 | | Max-Undo-Action-Count setting set from the options. |
293 | | |
294 | | 'pNewUndoMgr' must exist until the Destructor of SfxShell instance is called |
295 | | or until the next 'SetUndoManager()'. |
296 | | */ |
297 | | void SetUndoManager( SfxUndoManager *pNewUndoMgr ); |
298 | | |
299 | | /** |
300 | | Returns a pointer to the <SfxRepeatTarget> instance that is used in |
301 | | SID_REPEAT as repeat target when it is addressed from the <SfxUndoManager> |
302 | | supplied by this SfxShell. The return value can be NULL. |
303 | | |
304 | | [Note] |
305 | | |
306 | | A derivation of <SfxShell> or one of its subclasses of <SfxRepeatTarget> |
307 | | is not recommended, as compiler errors are provoked. |
308 | | (due to Call-to-Pointer-to-Member-Function to the subclass). |
309 | | */ |
310 | | SfxRepeatTarget* GetRepeatTarget() const; |
311 | | |
312 | | /** |
313 | | Sets the <SfxRepeatTarget> instance that is used in SID_REPEAT as |
314 | | RepeatTarget, when the current supplied by this <SfxUndoManager> is |
315 | | addressed. By 'pTarget==0' the SID_REPEAT is disabled for this SfxShell. |
316 | | The instance '*pTarget' must live as long as it is registered. |
317 | | |
318 | | [Note] |
319 | | |
320 | | A derivation of <SfxShell> or one of its subclasses of <SfxRepeatTarget> |
321 | | is not recommended, as compiler errors are provoked. |
322 | | (due to Call-to-Pointer-to-Member-Function to the subclass). |
323 | | */ |
324 | | void SetRepeatTarget( SfxRepeatTarget *pTarget ); |
325 | | |
326 | | /** |
327 | | With this method can the slots of the subclasses be invalidated through the |
328 | | slot Id or alternatively through the Which ID. Slot IDs, which are |
329 | | inherited by the subclass are also invalidated. |
330 | | |
331 | | [Cross-reference] |
332 | | |
333 | | <SfxBindings::Invalidate(sal_uInt16)> |
334 | | <SfxBindings::InvalidateAll(sal_Bool)> |
335 | | */ |
336 | | virtual void Invalidate(sal_uInt16 nId = 0); |
337 | | |
338 | 0 | virtual bool IsDesignMode() const { return false; }; |
339 | | |
340 | | bool IsActive() const; |
341 | | |
342 | | /** |
343 | | Virtual method that is called when enabling the SfxShell instance, |
344 | | in order to give the Subclasses the opportunity to respond to the |
345 | | to the enabling. |
346 | | |
347 | | [Cross-reference] |
348 | | |
349 | | StarView SystemWindow::Activate(bool) |
350 | | */ |
351 | | virtual void Activate(bool bMDI); |
352 | | |
353 | | /** |
354 | | Virtual method that is called when disabling the SfxShell instance, |
355 | | to give the Subclasses the opportunity to respond to the disabling. |
356 | | |
357 | | [Cross-reference] |
358 | | |
359 | | StarView SystemWindow::Deactivate(bool) |
360 | | */ |
361 | | virtual void Deactivate(bool bMDI); |
362 | | |
363 | | /** |
364 | | This method returns a pointer to the <SfxDispatcher>, when the SfxShell |
365 | | is currently <UI-active> or a NULL-pointer if it is not UI-active. |
366 | | |
367 | | The returned pointer is only valid in the immediate context of the method |
368 | | call. |
369 | | */ |
370 | | SAL_RET_MAYBENULL SfxDispatcher* GetDispatcher() const; |
371 | | |
372 | | /** |
373 | | This method returns a pointer to the <SfxViewFrame> to which this SfxShell |
374 | | instance is associated or in which they currently is <UI-active>. |
375 | | A NULL pointer is returned if this SfxShell instance is not UI-active at |
376 | | the moment and also no SfxViewFrame is permanently assigned. |
377 | | |
378 | | The returned pointer is only valid in the immediate context of the method |
379 | | call. |
380 | | |
381 | | [Note] |
382 | | |
383 | | Only instances of a subclass of SfxApplication and SfxObjectShell |
384 | | should here provide a NULL-pointer. Otherwise, there is an error in the |
385 | | application program (wrong constructor was called from SfxShell). |
386 | | |
387 | | [Cross-reference] |
388 | | |
389 | | <SfxViewShell::GetViewFrame()const> |
390 | | */ |
391 | | SAL_RET_MAYBENULL SfxViewFrame* GetFrame() const; |
392 | | |
393 | | virtual bool HasUIFeature(SfxShellFeature nFeature) const; |
394 | | void UIFeatureChanged(); |
395 | | |
396 | | // Items |
397 | | /** |
398 | | With this method any objects of <SfxPoolItemu> subclasses can be accessed. |
399 | | This exchange method is needed if, for example special <SfxToolBoxControl> |
400 | | subclasses need access to certain data such as the <SfxObjectShell>. |
401 | | |
402 | | The returned instance belongs to the particular SfxShell and may be |
403 | | used only in the immediate context of the method call. |
404 | | |
405 | | [Cross-reference] |
406 | | |
407 | | <SfxShell::PutItem(const SfxPoolItem&)> |
408 | | <SfxShell::RemoveItem(sal_uInt16)> |
409 | | */ |
410 | | const SfxPoolItem* GetItem( sal_uInt16 nSlotId ) const; |
411 | | template<class T> const T* GetItem( TypedWhichId<T> nWhich ) const |
412 | 126k | { |
413 | 126k | return static_cast<const T*>(GetItem(sal_uInt16(nWhich))); |
414 | 126k | } SvxFontListItem const* SfxShell::GetItem<SvxFontListItem>(TypedWhichId<SvxFontListItem>) const Line | Count | Source | 412 | 29.7k | { | 413 | 29.7k | return static_cast<const T*>(GetItem(sal_uInt16(nWhich))); | 414 | 29.7k | } |
SvxColorListItem const* SfxShell::GetItem<SvxColorListItem>(TypedWhichId<SvxColorListItem>) const Line | Count | Source | 412 | 96.6k | { | 413 | 96.6k | return static_cast<const T*>(GetItem(sal_uInt16(nWhich))); | 414 | 96.6k | } |
Unexecuted instantiation: SvxNumberInfoItem const* SfxShell::GetItem<SvxNumberInfoItem>(TypedWhichId<SvxNumberInfoItem>) const Unexecuted instantiation: SfxUInt16Item const* SfxShell::GetItem<SfxUInt16Item>(TypedWhichId<SfxUInt16Item>) const Unexecuted instantiation: SfxStringListItem const* SfxShell::GetItem<SfxStringListItem>(TypedWhichId<SfxStringListItem>) const Unexecuted instantiation: SvxGradientListItem const* SfxShell::GetItem<SvxGradientListItem>(TypedWhichId<SvxGradientListItem>) const Unexecuted instantiation: SvxHatchListItem const* SfxShell::GetItem<SvxHatchListItem>(TypedWhichId<SvxHatchListItem>) const Unexecuted instantiation: SvxBitmapListItem const* SfxShell::GetItem<SvxBitmapListItem>(TypedWhichId<SvxBitmapListItem>) const Unexecuted instantiation: SvxPatternListItem const* SfxShell::GetItem<SvxPatternListItem>(TypedWhichId<SvxPatternListItem>) const Unexecuted instantiation: SfxBoolItem const* SfxShell::GetItem<SfxBoolItem>(TypedWhichId<SfxBoolItem>) const Unexecuted instantiation: SvxDashListItem const* SfxShell::GetItem<SvxDashListItem>(TypedWhichId<SvxDashListItem>) const Unexecuted instantiation: SvxLineEndListItem const* SfxShell::GetItem<SvxLineEndListItem>(TypedWhichId<SvxLineEndListItem>) const |
415 | | |
416 | | /** |
417 | | With this method, any objects of subclasses of <SfxPoolItem> can be made |
418 | | available. This exchange technology is needed if, for example, special |
419 | | <SfxToolBoxControl> Subclasses need access to certain data such as the |
420 | | <SfxObjectShell> |
421 | | |
422 | | If a SfxPoolItem exists with the same slot ID, it is deleted automatically. |
423 | | |
424 | | [Cross-reference] |
425 | | |
426 | | <SfxShell::RemoveItem(sal_uInt16)> |
427 | | <SfxShell::GetItem(sal_uInt16)> |
428 | | */ |
429 | | void PutItem( const SfxPoolItem& rItem ); |
430 | | |
431 | | // TODO/CLEANUP: still needed?! |
432 | | void SetVerbs(const css::uno::Sequence < css::embed::VerbDescriptor >& aVerbs); |
433 | | const css::uno::Sequence < css::embed::VerbDescriptor >& GetVerbs() const; |
434 | | void VerbExec (SfxRequest&); |
435 | | static void VerbState (SfxItemSet&); |
436 | | SAL_DLLPRIVATE const SfxSlot* GetVerbSlot_Impl(sal_uInt16 nId) const; |
437 | | |
438 | | virtual SfxObjectShell* GetObjectShell(); |
439 | | void SetDisableFlags( SfxDisableFlags nFlags ); |
440 | | SfxDisableFlags GetDisableFlags() const; |
441 | | |
442 | | virtual std::optional<SfxItemSet> CreateItemSet( sal_uInt16 nId ); |
443 | | virtual void ApplyItemSet( sal_uInt16 nId, const SfxItemSet& rSet ); |
444 | | |
445 | | /** Set the name of the sidebar context that is broadcast on calls |
446 | | to Activation(). |
447 | | */ |
448 | | void SetContextName (const OUString& rsContextName); |
449 | | |
450 | | /** Broadcast a sidebar context change. |
451 | | This method is typically called from Activate() or |
452 | | Deactivate(). |
453 | | @param bIsActivated |
454 | | When <TRUE/> then broadcast the context name that was |
455 | | defined with an earlier call to SetContextName(). |
456 | | When <FALSE/> then broadcast the 'default' context. |
457 | | */ |
458 | | virtual void BroadcastContextForActivation (const bool bIsActivated); |
459 | | |
460 | | /** Enabled or disable the context broadcaster. Returns the old state. |
461 | | */ |
462 | | bool SetContextBroadcasterEnabled (const bool bIsEnabled); |
463 | | |
464 | | /** |
465 | | |
466 | | This method determines by calling the status function whether 'rSlot' |
467 | | can be executed currently. |
468 | | */ |
469 | | SAL_DLLPRIVATE bool CanExecuteSlot_Impl( const SfxSlot &rSlot ); |
470 | | |
471 | | /** |
472 | | |
473 | | This method determines whether we need to execute without checking |
474 | | the disabled state of the slot. This is used for dynamic conditions |
475 | | while you can use SfxSlotMode::FASTCALL for a specific slotid in general. |
476 | | */ |
477 | | virtual bool IsConditionalFastCall( const SfxRequest &rReq ); |
478 | | |
479 | | /** |
480 | | |
481 | | This method controls the activation of SfxShell instance. First, by calling |
482 | | the virtual method <SfxShell::Activate(sal_Bool)> which gives the subclass the |
483 | | opportunity to respond to the event. |
484 | | |
485 | | When bMDI == TRUE, the associated SbxObject is being 'armed', so that |
486 | | unqualified methods of the object (without the name of the object) |
487 | | from BASIC are found. |
488 | | */ |
489 | | SAL_DLLPRIVATE void DoActivate_Impl( SfxViewFrame *pFrame, bool bMDI); |
490 | | |
491 | | /** |
492 | | |
493 | | This method controls the deactivation of the SfxShell instance. When |
494 | | bMDI == TRUE the SbxObject is first set to a status that only qualified |
495 | | BASIC methods can be called. |
496 | | |
497 | | Then the subclass gets the opportunity in every case to respond to the |
498 | | event by calling the virtual method <SfxShell::Deactivate(sal_Bool)>. |
499 | | */ |
500 | | SAL_DLLPRIVATE void DoDeactivate_Impl( SfxViewFrame const *pFrame, bool bMDI); |
501 | | }; |
502 | | |
503 | | /** |
504 | | Each Subclass of SfxShell must reference a pool. This is partly set by |
505 | | SFx's own set of subclasses (eg <SfxViewShell>). In particular however |
506 | | this must be set directly from one derived SfxShell class and ny |
507 | | derivatives of SfxObjectShell. |
508 | | |
509 | | The SfxShell class itself does not have any SfxItemPool, therefore a |
510 | | null-pointer is returned. |
511 | | */ |
512 | | SfxItemPool& SfxShell::GetPool() const |
513 | 714k | { |
514 | 714k | assert(pPool && "no pool"); |
515 | 714k | return *pPool; |
516 | 714k | } |
517 | | |
518 | | /** |
519 | | With this method, the subclasses register their special <SfxItemPool> |
520 | | in the SfxShell. Each SfxShell instance must have access to a SfxItemPool. |
521 | | Usually this is the SfxItemPool of the SfxDocumentShell. The SfxShell |
522 | | subclass does not take ownership of the orphaned pool. Before it is |
523 | | deleted it has to be deregistered with SetPool(0). |
524 | | */ |
525 | | inline void SfxShell::SetPool |
526 | | ( |
527 | | SfxItemPool* pNewPool // Pointer to the new Pool or null |
528 | | ) |
529 | 304k | { |
530 | 304k | pPool = pNewPool; |
531 | 304k | } |
532 | | |
533 | | #define SFX_DECL_INTERFACE(nId) \ |
534 | | static SfxInterface* s_pInterface; \ |
535 | | static SfxInterface* GetStaticInterface(); \ |
536 | 736 | static SfxInterfaceId GetInterfaceId() {return nId;} \SfxObjectShell::GetInterfaceId() Line | Count | Source | 536 | 27 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SfxViewShell::GetInterfaceId() Line | Count | Source | 536 | 27 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScDocShell::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SfxApplication::GetInterfaceId() Line | Count | Source | 536 | 27 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
FmFormShell::GetInterfaceId() Line | Count | Source | 536 | 26 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScTabViewShell::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SfxModule::GetInterfaceId() Line | Count | Source | 536 | 27 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScModule::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SfxViewFrame::GetInterfaceId() Line | Count | Source | 536 | 27 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScPreviewShell::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScDrawShell::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScDrawFormShell::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScDrawTextObjectBar::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScEditShell::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScPivotShell::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScAuditingShell::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScFormatShell::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScCellShell::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScOleObjectShell::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScChartShell::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScGraphicShell::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScMediaShell::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScPageBreakShell::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
sc::SparklineShell::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
ScTableShell::GetInterfaceId() Line | Count | Source | 536 | 11 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
Unexecuted instantiation: svx::ExtrusionBar::GetInterfaceId() Unexecuted instantiation: svx::FontworkBar::GetInterfaceId() SmDocShell::GetInterfaceId() Line | Count | Source | 536 | 1 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SmViewShell::GetInterfaceId() Line | Count | Source | 536 | 1 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SmModule::GetInterfaceId() Line | Count | Source | 536 | 1 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwDocShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwModule::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwWebDocShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwPagePreview::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwSrcView::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwWebView::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwGlosDocShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwWebGlosDocShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwBaseShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwTableShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwListShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwGrfShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwMediaShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwFrameShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwOleShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwDrawBaseShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwDrawShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwDrawFormShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwWebDrawFormShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwDrawTextShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwBezierShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwTextShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwWebTextShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwWebFrameShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwWebGrfShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwWebOleShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwWebListShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwWebTableShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwAnnotationShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SwNavigationShell::GetInterfaceId() Line | Count | Source | 536 | 9 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
sd::DrawDocShell::GetInterfaceId() Line | Count | Source | 536 | 6 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
sd::ViewShellBase::GetInterfaceId() Line | Count | Source | 536 | 6 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
SdModule::GetInterfaceId() Line | Count | Source | 536 | 6 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
sd::DrawViewShell::GetInterfaceId() Line | Count | Source | 536 | 6 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
sd::slidesorter::SlideSorterViewShell::GetInterfaceId() Line | Count | Source | 536 | 6 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
sd::OutlineViewShell::GetInterfaceId() Line | Count | Source | 536 | 6 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
sd::GraphicViewShell::GetInterfaceId() Line | Count | Source | 536 | 6 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
Unexecuted instantiation: sd::NotesPanelViewShell::GetInterfaceId() sd::PresentationViewShell::GetInterfaceId() Line | Count | Source | 536 | 6 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
sd::BezierObjectBar::GetInterfaceId() Line | Count | Source | 536 | 6 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
sd::TextObjectBar::GetInterfaceId() Line | Count | Source | 536 | 6 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
sd::GraphicObjectBar::GetInterfaceId() Line | Count | Source | 536 | 6 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
sd::MediaObjectBar::GetInterfaceId() Line | Count | Source | 536 | 6 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
sd::GraphicDocShell::GetInterfaceId() Line | Count | Source | 536 | 6 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
sd::ui::table::TableObjectBar::GetInterfaceId() Line | Count | Source | 536 | 6 | static SfxInterfaceId GetInterfaceId() {return nId;} \ |
Unexecuted instantiation: sd::LeftImpressPaneShell::GetInterfaceId() Unexecuted instantiation: sd::BottomImpressPaneShell::GetInterfaceId() Unexecuted instantiation: sd::LeftDrawPaneShell::GetInterfaceId() |
537 | | static void RegisterInterface(const SfxModule* pMod=nullptr); \ |
538 | | virtual SfxInterface* GetInterface() const override; |
539 | | |
540 | | #define SFX_TMPL_INTERFACE(Class,SuperClass,Abstract) \ |
541 | | \ |
542 | | SfxInterface* Class::s_pInterface = nullptr; \ |
543 | | SfxInterface* Class::GetStaticInterface() \ |
544 | 78.9k | { \ |
545 | 78.9k | if ( !s_pInterface ) \ |
546 | 78.9k | { \ |
547 | 736 | s_pInterface = \ |
548 | 736 | new SfxInterface( \ |
549 | 736 | #Class, Abstract, GetInterfaceId(), \ |
550 | 736 | SuperClass::GetStaticInterface(), \ |
551 | 736 | a##Class##Slots_Impl[0], \ |
552 | 736 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ |
553 | 736 | InitInterface_Impl(); \ |
554 | 736 | } \ |
555 | 78.9k | return s_pInterface; \ |
556 | 78.9k | } \ ScModule::GetStaticInterface() Line | Count | Source | 544 | 33 | { \ | 545 | 33 | if ( !s_pInterface ) \ | 546 | 33 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 33 | return s_pInterface; \ | 556 | 33 | } \ |
ScDocShell::GetStaticInterface() Line | Count | Source | 544 | 11 | { \ | 545 | 11 | if ( !s_pInterface ) \ | 546 | 11 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 11 | return s_pInterface; \ | 556 | 11 | } \ |
ScChartShell::GetStaticInterface() Line | Count | Source | 544 | 33 | { \ | 545 | 33 | if ( !s_pInterface ) \ | 546 | 33 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 33 | return s_pInterface; \ | 556 | 33 | } \ |
ScDrawShell::GetStaticInterface() Line | Count | Source | 544 | 99 | { \ | 545 | 99 | if ( !s_pInterface ) \ | 546 | 99 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 99 | return s_pInterface; \ | 556 | 99 | } \ |
ScDrawFormShell::GetStaticInterface() Line | Count | Source | 544 | 33 | { \ | 545 | 33 | if ( !s_pInterface ) \ | 546 | 33 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 33 | return s_pInterface; \ | 556 | 33 | } \ |
ScDrawTextObjectBar::GetStaticInterface() Line | Count | Source | 544 | 44 | { \ | 545 | 44 | if ( !s_pInterface ) \ | 546 | 44 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 44 | return s_pInterface; \ | 556 | 44 | } \ |
ScGraphicShell::GetStaticInterface() Line | Count | Source | 544 | 33 | { \ | 545 | 33 | if ( !s_pInterface ) \ | 546 | 33 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 33 | return s_pInterface; \ | 556 | 33 | } \ |
ScMediaShell::GetStaticInterface() Line | Count | Source | 544 | 33 | { \ | 545 | 33 | if ( !s_pInterface ) \ | 546 | 33 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 33 | return s_pInterface; \ | 556 | 33 | } \ |
ScOleObjectShell::GetStaticInterface() Line | Count | Source | 544 | 33 | { \ | 545 | 33 | if ( !s_pInterface ) \ | 546 | 33 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 33 | return s_pInterface; \ | 556 | 33 | } \ |
ScAuditingShell::GetStaticInterface() Line | Count | Source | 544 | 22 | { \ | 545 | 22 | if ( !s_pInterface ) \ | 546 | 22 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 22 | return s_pInterface; \ | 556 | 22 | } \ |
ScCellShell::GetStaticInterface() Line | Count | Source | 544 | 33 | { \ | 545 | 33 | if ( !s_pInterface ) \ | 546 | 33 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 33 | return s_pInterface; \ | 556 | 33 | } \ |
ScEditShell::GetStaticInterface() Line | Count | Source | 544 | 22 | { \ | 545 | 22 | if ( !s_pInterface ) \ | 546 | 22 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 22 | return s_pInterface; \ | 556 | 22 | } \ |
ScFormatShell::GetStaticInterface() Line | Count | Source | 544 | 33 | { \ | 545 | 33 | if ( !s_pInterface ) \ | 546 | 33 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 33 | return s_pInterface; \ | 556 | 33 | } \ |
ScPageBreakShell::GetStaticInterface() Line | Count | Source | 544 | 22 | { \ | 545 | 22 | if ( !s_pInterface ) \ | 546 | 22 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 22 | return s_pInterface; \ | 556 | 22 | } \ |
ScPivotShell::GetStaticInterface() Line | Count | Source | 544 | 22 | { \ | 545 | 22 | if ( !s_pInterface ) \ | 546 | 22 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 22 | return s_pInterface; \ | 556 | 22 | } \ |
ScPreviewShell::GetStaticInterface() Line | Count | Source | 544 | 33 | { \ | 545 | 33 | if ( !s_pInterface ) \ | 546 | 33 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 33 | return s_pInterface; \ | 556 | 33 | } \ |
sc::SparklineShell::GetStaticInterface() Line | Count | Source | 544 | 22 | { \ | 545 | 22 | if ( !s_pInterface ) \ | 546 | 22 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 22 | return s_pInterface; \ | 556 | 22 | } \ |
ScTableShell::GetStaticInterface() Line | Count | Source | 544 | 11 | { \ | 545 | 11 | if ( !s_pInterface ) \ | 546 | 11 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 11 | return s_pInterface; \ | 556 | 11 | } \ |
ScTabViewShell::GetStaticInterface() Line | Count | Source | 544 | 550 | { \ | 545 | 550 | if ( !s_pInterface ) \ | 546 | 550 | { \ | 547 | 11 | s_pInterface = \ | 548 | 11 | new SfxInterface( \ | 549 | 11 | #Class, Abstract, GetInterfaceId(), \ | 550 | 11 | SuperClass::GetStaticInterface(), \ | 551 | 11 | a##Class##Slots_Impl[0], \ | 552 | 11 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 11 | InitInterface_Impl(); \ | 554 | 11 | } \ | 555 | 550 | return s_pInterface; \ | 556 | 550 | } \ |
SfxApplication::GetStaticInterface() Line | Count | Source | 544 | 8.19k | { \ | 545 | 8.19k | if ( !s_pInterface ) \ | 546 | 8.19k | { \ | 547 | 27 | s_pInterface = \ | 548 | 27 | new SfxInterface( \ | 549 | 27 | #Class, Abstract, GetInterfaceId(), \ | 550 | 27 | SuperClass::GetStaticInterface(), \ | 551 | 27 | a##Class##Slots_Impl[0], \ | 552 | 27 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 27 | InitInterface_Impl(); \ | 554 | 27 | } \ | 555 | 8.19k | return s_pInterface; \ | 556 | 8.19k | } \ |
SfxModule::GetStaticInterface() Line | Count | Source | 544 | 43 | { \ | 545 | 43 | if ( !s_pInterface ) \ | 546 | 43 | { \ | 547 | 27 | s_pInterface = \ | 548 | 27 | new SfxInterface( \ | 549 | 27 | #Class, Abstract, GetInterfaceId(), \ | 550 | 27 | SuperClass::GetStaticInterface(), \ | 551 | 27 | a##Class##Slots_Impl[0], \ | 552 | 27 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 27 | InitInterface_Impl(); \ | 554 | 27 | } \ | 555 | 43 | return s_pInterface; \ | 556 | 43 | } \ |
SfxObjectShell::GetStaticInterface() Line | Count | Source | 544 | 69 | { \ | 545 | 69 | if ( !s_pInterface ) \ | 546 | 69 | { \ | 547 | 27 | s_pInterface = \ | 548 | 27 | new SfxInterface( \ | 549 | 27 | #Class, Abstract, GetInterfaceId(), \ | 550 | 27 | SuperClass::GetStaticInterface(), \ | 551 | 27 | a##Class##Slots_Impl[0], \ | 552 | 27 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 27 | InitInterface_Impl(); \ | 554 | 27 | } \ | 555 | 69 | return s_pInterface; \ | 556 | 69 | } \ |
SfxViewFrame::GetStaticInterface() Line | Count | Source | 544 | 7.95k | { \ | 545 | 7.95k | if ( !s_pInterface ) \ | 546 | 7.95k | { \ | 547 | 27 | s_pInterface = \ | 548 | 27 | new SfxInterface( \ | 549 | 27 | #Class, Abstract, GetInterfaceId(), \ | 550 | 27 | SuperClass::GetStaticInterface(), \ | 551 | 27 | a##Class##Slots_Impl[0], \ | 552 | 27 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 27 | InitInterface_Impl(); \ | 554 | 27 | } \ | 555 | 7.95k | return s_pInterface; \ | 556 | 7.95k | } \ |
SfxViewShell::GetStaticInterface() Line | Count | Source | 544 | 83 | { \ | 545 | 83 | if ( !s_pInterface ) \ | 546 | 83 | { \ | 547 | 27 | s_pInterface = \ | 548 | 27 | new SfxInterface( \ | 549 | 27 | #Class, Abstract, GetInterfaceId(), \ | 550 | 27 | SuperClass::GetStaticInterface(), \ | 551 | 27 | a##Class##Slots_Impl[0], \ | 552 | 27 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 27 | InitInterface_Impl(); \ | 554 | 27 | } \ | 555 | 83 | return s_pInterface; \ | 556 | 83 | } \ |
FmFormShell::GetStaticInterface() Line | Count | Source | 544 | 8.15k | { \ | 545 | 8.15k | if ( !s_pInterface ) \ | 546 | 8.15k | { \ | 547 | 26 | s_pInterface = \ | 548 | 26 | new SfxInterface( \ | 549 | 26 | #Class, Abstract, GetInterfaceId(), \ | 550 | 26 | SuperClass::GetStaticInterface(), \ | 551 | 26 | a##Class##Slots_Impl[0], \ | 552 | 26 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 26 | InitInterface_Impl(); \ | 554 | 26 | } \ | 555 | 8.15k | return s_pInterface; \ | 556 | 8.15k | } \ |
Unexecuted instantiation: svx::ExtrusionBar::GetStaticInterface() Unexecuted instantiation: svx::FontworkBar::GetStaticInterface() SmViewShell::GetStaticInterface() Line | Count | Source | 544 | 5 | { \ | 545 | 5 | if ( !s_pInterface ) \ | 546 | 5 | { \ | 547 | 1 | s_pInterface = \ | 548 | 1 | new SfxInterface( \ | 549 | 1 | #Class, Abstract, GetInterfaceId(), \ | 550 | 1 | SuperClass::GetStaticInterface(), \ | 551 | 1 | a##Class##Slots_Impl[0], \ | 552 | 1 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 1 | InitInterface_Impl(); \ | 554 | 1 | } \ | 555 | 5 | return s_pInterface; \ | 556 | 5 | } \ |
SmDocShell::GetStaticInterface() Line | Count | Source | 544 | 2 | { \ | 545 | 2 | if ( !s_pInterface ) \ | 546 | 2 | { \ | 547 | 1 | s_pInterface = \ | 548 | 1 | new SfxInterface( \ | 549 | 1 | #Class, Abstract, GetInterfaceId(), \ | 550 | 1 | SuperClass::GetStaticInterface(), \ | 551 | 1 | a##Class##Slots_Impl[0], \ | 552 | 1 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 1 | InitInterface_Impl(); \ | 554 | 1 | } \ | 555 | 2 | return s_pInterface; \ | 556 | 2 | } \ |
SmModule::GetStaticInterface() Line | Count | Source | 544 | 2 | { \ | 545 | 2 | if ( !s_pInterface ) \ | 546 | 2 | { \ | 547 | 1 | s_pInterface = \ | 548 | 1 | new SfxInterface( \ | 549 | 1 | #Class, Abstract, GetInterfaceId(), \ | 550 | 1 | SuperClass::GetStaticInterface(), \ | 551 | 1 | a##Class##Slots_Impl[0], \ | 552 | 1 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 1 | InitInterface_Impl(); \ | 554 | 1 | } \ | 555 | 2 | return s_pInterface; \ | 556 | 2 | } \ |
SwModule::GetStaticInterface() Line | Count | Source | 544 | 7.89k | { \ | 545 | 7.89k | if ( !s_pInterface ) \ | 546 | 7.89k | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 7.89k | return s_pInterface; \ | 556 | 7.89k | } \ |
SwDocShell::GetStaticInterface() Line | Count | Source | 544 | 15.7k | { \ | 545 | 15.7k | if ( !s_pInterface ) \ | 546 | 15.7k | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 15.7k | return s_pInterface; \ | 556 | 15.7k | } \ |
SwGlosDocShell::GetStaticInterface() Line | Count | Source | 544 | 9 | { \ | 545 | 9 | if ( !s_pInterface ) \ | 546 | 9 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 9 | return s_pInterface; \ | 556 | 9 | } \ |
SwWebGlosDocShell::GetStaticInterface() Line | Count | Source | 544 | 9 | { \ | 545 | 9 | if ( !s_pInterface ) \ | 546 | 9 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 9 | return s_pInterface; \ | 556 | 9 | } \ |
SwAnnotationShell::GetStaticInterface() Line | Count | Source | 544 | 27 | { \ | 545 | 27 | if ( !s_pInterface ) \ | 546 | 27 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 27 | return s_pInterface; \ | 556 | 27 | } \ |
SwBaseShell::GetStaticInterface() Line | Count | Source | 544 | 126 | { \ | 545 | 126 | if ( !s_pInterface ) \ | 546 | 126 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 126 | return s_pInterface; \ | 556 | 126 | } \ |
SwBezierShell::GetStaticInterface() Line | Count | Source | 544 | 27 | { \ | 545 | 27 | if ( !s_pInterface ) \ | 546 | 27 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 27 | return s_pInterface; \ | 556 | 27 | } \ |
SwDrawShell::GetStaticInterface() Line | Count | Source | 544 | 36 | { \ | 545 | 36 | if ( !s_pInterface ) \ | 546 | 36 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 36 | return s_pInterface; \ | 556 | 36 | } \ |
SwDrawFormShell::GetStaticInterface() Line | Count | Source | 544 | 36 | { \ | 545 | 36 | if ( !s_pInterface ) \ | 546 | 36 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 36 | return s_pInterface; \ | 556 | 36 | } \ |
SwDrawBaseShell::GetStaticInterface() Line | Count | Source | 544 | 27 | { \ | 545 | 27 | if ( !s_pInterface ) \ | 546 | 27 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 27 | return s_pInterface; \ | 556 | 27 | } \ |
SwDrawTextShell::GetStaticInterface() Line | Count | Source | 544 | 36 | { \ | 545 | 36 | if ( !s_pInterface ) \ | 546 | 36 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 36 | return s_pInterface; \ | 556 | 36 | } \ |
SwFrameShell::GetStaticInterface() Line | Count | Source | 544 | 45 | { \ | 545 | 45 | if ( !s_pInterface ) \ | 546 | 45 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 45 | return s_pInterface; \ | 556 | 45 | } \ |
SwGrfShell::GetStaticInterface() Line | Count | Source | 544 | 36 | { \ | 545 | 36 | if ( !s_pInterface ) \ | 546 | 36 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 36 | return s_pInterface; \ | 556 | 36 | } \ |
SwListShell::GetStaticInterface() Line | Count | Source | 544 | 37 | { \ | 545 | 37 | if ( !s_pInterface ) \ | 546 | 37 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 37 | return s_pInterface; \ | 556 | 37 | } \ |
SwMediaShell::GetStaticInterface() Line | Count | Source | 544 | 27 | { \ | 545 | 27 | if ( !s_pInterface ) \ | 546 | 27 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 27 | return s_pInterface; \ | 556 | 27 | } \ |
SwNavigationShell::GetStaticInterface() Line | Count | Source | 544 | 7.88k | { \ | 545 | 7.88k | if ( !s_pInterface ) \ | 546 | 7.88k | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 7.88k | return s_pInterface; \ | 556 | 7.88k | } \ |
SwOleShell::GetStaticInterface() Line | Count | Source | 544 | 36 | { \ | 545 | 36 | if ( !s_pInterface ) \ | 546 | 36 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 36 | return s_pInterface; \ | 556 | 36 | } \ |
SwTableShell::GetStaticInterface() Line | Count | Source | 544 | 64 | { \ | 545 | 64 | if ( !s_pInterface ) \ | 546 | 64 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 64 | return s_pInterface; \ | 556 | 64 | } \ |
SwTextShell::GetStaticInterface() Line | Count | Source | 544 | 7.95k | { \ | 545 | 7.95k | if ( !s_pInterface ) \ | 546 | 7.95k | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 7.95k | return s_pInterface; \ | 556 | 7.95k | } \ |
SwPagePreview::GetStaticInterface() Line | Count | Source | 544 | 27 | { \ | 545 | 27 | if ( !s_pInterface ) \ | 546 | 27 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 27 | return s_pInterface; \ | 556 | 27 | } \ |
SwSrcView::GetStaticInterface() Line | Count | Source | 544 | 36 | { \ | 545 | 36 | if ( !s_pInterface ) \ | 546 | 36 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 36 | return s_pInterface; \ | 556 | 36 | } \ |
SwView::GetStaticInterface() Line | Count | Source | 544 | 12.5k | { \ | 545 | 12.5k | if ( !s_pInterface ) \ | 546 | 12.5k | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 12.5k | return s_pInterface; \ | 556 | 12.5k | } \ |
SwWebDocShell::GetStaticInterface() Line | Count | Source | 544 | 18 | { \ | 545 | 18 | if ( !s_pInterface ) \ | 546 | 18 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 18 | return s_pInterface; \ | 556 | 18 | } \ |
SwWebDrawFormShell::GetStaticInterface() Line | Count | Source | 544 | 27 | { \ | 545 | 27 | if ( !s_pInterface ) \ | 546 | 27 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 27 | return s_pInterface; \ | 556 | 27 | } \ |
SwWebFrameShell::GetStaticInterface() Line | Count | Source | 544 | 27 | { \ | 545 | 27 | if ( !s_pInterface ) \ | 546 | 27 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 27 | return s_pInterface; \ | 556 | 27 | } \ |
SwWebGrfShell::GetStaticInterface() Line | Count | Source | 544 | 27 | { \ | 545 | 27 | if ( !s_pInterface ) \ | 546 | 27 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 27 | return s_pInterface; \ | 556 | 27 | } \ |
SwWebListShell::GetStaticInterface() Line | Count | Source | 544 | 18 | { \ | 545 | 18 | if ( !s_pInterface ) \ | 546 | 18 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 18 | return s_pInterface; \ | 556 | 18 | } \ |
SwWebOleShell::GetStaticInterface() Line | Count | Source | 544 | 27 | { \ | 545 | 27 | if ( !s_pInterface ) \ | 546 | 27 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 27 | return s_pInterface; \ | 556 | 27 | } \ |
SwWebTableShell::GetStaticInterface() Line | Count | Source | 544 | 27 | { \ | 545 | 27 | if ( !s_pInterface ) \ | 546 | 27 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 27 | return s_pInterface; \ | 556 | 27 | } \ |
SwWebTextShell::GetStaticInterface() Line | Count | Source | 544 | 45 | { \ | 545 | 45 | if ( !s_pInterface ) \ | 546 | 45 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 45 | return s_pInterface; \ | 556 | 45 | } \ |
SwWebView::GetStaticInterface() Line | Count | Source | 544 | 36 | { \ | 545 | 36 | if ( !s_pInterface ) \ | 546 | 36 | { \ | 547 | 9 | s_pInterface = \ | 548 | 9 | new SfxInterface( \ | 549 | 9 | #Class, Abstract, GetInterfaceId(), \ | 550 | 9 | SuperClass::GetStaticInterface(), \ | 551 | 9 | a##Class##Slots_Impl[0], \ | 552 | 9 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 9 | InitInterface_Impl(); \ | 554 | 9 | } \ | 555 | 36 | return s_pInterface; \ | 556 | 36 | } \ |
sd::ViewShellBase::GetStaticInterface() Line | Count | Source | 544 | 6 | { \ | 545 | 6 | if ( !s_pInterface ) \ | 546 | 6 | { \ | 547 | 6 | s_pInterface = \ | 548 | 6 | new SfxInterface( \ | 549 | 6 | #Class, Abstract, GetInterfaceId(), \ | 550 | 6 | SuperClass::GetStaticInterface(), \ | 551 | 6 | a##Class##Slots_Impl[0], \ | 552 | 6 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 6 | InitInterface_Impl(); \ | 554 | 6 | } \ | 555 | 6 | return s_pInterface; \ | 556 | 6 | } \ |
sd::DrawViewShell::GetStaticInterface() Line | Count | Source | 544 | 108 | { \ | 545 | 108 | if ( !s_pInterface ) \ | 546 | 108 | { \ | 547 | 6 | s_pInterface = \ | 548 | 6 | new SfxInterface( \ | 549 | 6 | #Class, Abstract, GetInterfaceId(), \ | 550 | 6 | SuperClass::GetStaticInterface(), \ | 551 | 6 | a##Class##Slots_Impl[0], \ | 552 | 6 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 6 | InitInterface_Impl(); \ | 554 | 6 | } \ | 555 | 108 | return s_pInterface; \ | 556 | 108 | } \ |
sd::GraphicViewShell::GetStaticInterface() Line | Count | Source | 544 | 90 | { \ | 545 | 90 | if ( !s_pInterface ) \ | 546 | 90 | { \ | 547 | 6 | s_pInterface = \ | 548 | 6 | new SfxInterface( \ | 549 | 6 | #Class, Abstract, GetInterfaceId(), \ | 550 | 6 | SuperClass::GetStaticInterface(), \ | 551 | 6 | a##Class##Slots_Impl[0], \ | 552 | 6 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 6 | InitInterface_Impl(); \ | 554 | 6 | } \ | 555 | 90 | return s_pInterface; \ | 556 | 90 | } \ |
Unexecuted instantiation: sd::NotesPanelViewShell::GetStaticInterface() SdModule::GetStaticInterface() Line | Count | Source | 544 | 12 | { \ | 545 | 12 | if ( !s_pInterface ) \ | 546 | 12 | { \ | 547 | 6 | s_pInterface = \ | 548 | 6 | new SfxInterface( \ | 549 | 6 | #Class, Abstract, GetInterfaceId(), \ | 550 | 6 | SuperClass::GetStaticInterface(), \ | 551 | 6 | a##Class##Slots_Impl[0], \ | 552 | 6 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 6 | InitInterface_Impl(); \ | 554 | 6 | } \ | 555 | 12 | return s_pInterface; \ | 556 | 12 | } \ |
sd::DrawDocShell::GetStaticInterface() Line | Count | Source | 544 | 12 | { \ | 545 | 12 | if ( !s_pInterface ) \ | 546 | 12 | { \ | 547 | 6 | s_pInterface = \ | 548 | 6 | new SfxInterface( \ | 549 | 6 | #Class, Abstract, GetInterfaceId(), \ | 550 | 6 | SuperClass::GetStaticInterface(), \ | 551 | 6 | a##Class##Slots_Impl[0], \ | 552 | 6 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 6 | InitInterface_Impl(); \ | 554 | 6 | } \ | 555 | 12 | return s_pInterface; \ | 556 | 12 | } \ |
sd::GraphicDocShell::GetStaticInterface() Line | Count | Source | 544 | 12 | { \ | 545 | 12 | if ( !s_pInterface ) \ | 546 | 12 | { \ | 547 | 6 | s_pInterface = \ | 548 | 6 | new SfxInterface( \ | 549 | 6 | #Class, Abstract, GetInterfaceId(), \ | 550 | 6 | SuperClass::GetStaticInterface(), \ | 551 | 6 | a##Class##Slots_Impl[0], \ | 552 | 6 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 6 | InitInterface_Impl(); \ | 554 | 6 | } \ | 555 | 12 | return s_pInterface; \ | 556 | 12 | } \ |
sd::slidesorter::SlideSorterViewShell::GetStaticInterface() Line | Count | Source | 544 | 18 | { \ | 545 | 18 | if ( !s_pInterface ) \ | 546 | 18 | { \ | 547 | 6 | s_pInterface = \ | 548 | 6 | new SfxInterface( \ | 549 | 6 | #Class, Abstract, GetInterfaceId(), \ | 550 | 6 | SuperClass::GetStaticInterface(), \ | 551 | 6 | a##Class##Slots_Impl[0], \ | 552 | 6 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 6 | InitInterface_Impl(); \ | 554 | 6 | } \ | 555 | 18 | return s_pInterface; \ | 556 | 18 | } \ |
sd::ui::table::TableObjectBar::GetStaticInterface() Line | Count | Source | 544 | 6 | { \ | 545 | 6 | if ( !s_pInterface ) \ | 546 | 6 | { \ | 547 | 6 | s_pInterface = \ | 548 | 6 | new SfxInterface( \ | 549 | 6 | #Class, Abstract, GetInterfaceId(), \ | 550 | 6 | SuperClass::GetStaticInterface(), \ | 551 | 6 | a##Class##Slots_Impl[0], \ | 552 | 6 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 6 | InitInterface_Impl(); \ | 554 | 6 | } \ | 555 | 6 | return s_pInterface; \ | 556 | 6 | } \ |
sd::GraphicObjectBar::GetStaticInterface() Line | Count | Source | 544 | 6 | { \ | 545 | 6 | if ( !s_pInterface ) \ | 546 | 6 | { \ | 547 | 6 | s_pInterface = \ | 548 | 6 | new SfxInterface( \ | 549 | 6 | #Class, Abstract, GetInterfaceId(), \ | 550 | 6 | SuperClass::GetStaticInterface(), \ | 551 | 6 | a##Class##Slots_Impl[0], \ | 552 | 6 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 6 | InitInterface_Impl(); \ | 554 | 6 | } \ | 555 | 6 | return s_pInterface; \ | 556 | 6 | } \ |
sd::MediaObjectBar::GetStaticInterface() Line | Count | Source | 544 | 6 | { \ | 545 | 6 | if ( !s_pInterface ) \ | 546 | 6 | { \ | 547 | 6 | s_pInterface = \ | 548 | 6 | new SfxInterface( \ | 549 | 6 | #Class, Abstract, GetInterfaceId(), \ | 550 | 6 | SuperClass::GetStaticInterface(), \ | 551 | 6 | a##Class##Slots_Impl[0], \ | 552 | 6 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 6 | InitInterface_Impl(); \ | 554 | 6 | } \ | 555 | 6 | return s_pInterface; \ | 556 | 6 | } \ |
sd::BezierObjectBar::GetStaticInterface() Line | Count | Source | 544 | 6 | { \ | 545 | 6 | if ( !s_pInterface ) \ | 546 | 6 | { \ | 547 | 6 | s_pInterface = \ | 548 | 6 | new SfxInterface( \ | 549 | 6 | #Class, Abstract, GetInterfaceId(), \ | 550 | 6 | SuperClass::GetStaticInterface(), \ | 551 | 6 | a##Class##Slots_Impl[0], \ | 552 | 6 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 6 | InitInterface_Impl(); \ | 554 | 6 | } \ | 555 | 6 | return s_pInterface; \ | 556 | 6 | } \ |
sd::TextObjectBar::GetStaticInterface() Line | Count | Source | 544 | 6 | { \ | 545 | 6 | if ( !s_pInterface ) \ | 546 | 6 | { \ | 547 | 6 | s_pInterface = \ | 548 | 6 | new SfxInterface( \ | 549 | 6 | #Class, Abstract, GetInterfaceId(), \ | 550 | 6 | SuperClass::GetStaticInterface(), \ | 551 | 6 | a##Class##Slots_Impl[0], \ | 552 | 6 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 6 | InitInterface_Impl(); \ | 554 | 6 | } \ | 555 | 6 | return s_pInterface; \ | 556 | 6 | } \ |
sd::OutlineViewShell::GetStaticInterface() Line | Count | Source | 544 | 60 | { \ | 545 | 60 | if ( !s_pInterface ) \ | 546 | 60 | { \ | 547 | 6 | s_pInterface = \ | 548 | 6 | new SfxInterface( \ | 549 | 6 | #Class, Abstract, GetInterfaceId(), \ | 550 | 6 | SuperClass::GetStaticInterface(), \ | 551 | 6 | a##Class##Slots_Impl[0], \ | 552 | 6 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 6 | InitInterface_Impl(); \ | 554 | 6 | } \ | 555 | 60 | return s_pInterface; \ | 556 | 60 | } \ |
sd::PresentationViewShell::GetStaticInterface() Line | Count | Source | 544 | 30 | { \ | 545 | 30 | if ( !s_pInterface ) \ | 546 | 30 | { \ | 547 | 6 | s_pInterface = \ | 548 | 6 | new SfxInterface( \ | 549 | 6 | #Class, Abstract, GetInterfaceId(), \ | 550 | 6 | SuperClass::GetStaticInterface(), \ | 551 | 6 | a##Class##Slots_Impl[0], \ | 552 | 6 | sal_uInt16(sizeof(a##Class##Slots_Impl) / sizeof(SfxSlot) ) ); \ | 553 | 6 | InitInterface_Impl(); \ | 554 | 6 | } \ | 555 | 30 | return s_pInterface; \ | 556 | 30 | } \ |
Unexecuted instantiation: sd::LeftImpressPaneShell::GetStaticInterface() Unexecuted instantiation: sd::BottomImpressPaneShell::GetStaticInterface() Unexecuted instantiation: sd::LeftDrawPaneShell::GetStaticInterface() |
557 | | \ |
558 | | SfxInterface* Class::GetInterface() const \ |
559 | 75.4k | { \ |
560 | 75.4k | return GetStaticInterface(); \ |
561 | 75.4k | } \ Unexecuted instantiation: ScModule::GetInterface() const Unexecuted instantiation: ScDocShell::GetInterface() const Unexecuted instantiation: ScChartShell::GetInterface() const Unexecuted instantiation: ScDrawShell::GetInterface() const Unexecuted instantiation: ScDrawFormShell::GetInterface() const Unexecuted instantiation: ScDrawTextObjectBar::GetInterface() const Unexecuted instantiation: ScGraphicShell::GetInterface() const Unexecuted instantiation: ScMediaShell::GetInterface() const Unexecuted instantiation: ScOleObjectShell::GetInterface() const Unexecuted instantiation: ScAuditingShell::GetInterface() const Unexecuted instantiation: ScCellShell::GetInterface() const Unexecuted instantiation: ScEditShell::GetInterface() const Unexecuted instantiation: ScFormatShell::GetInterface() const Unexecuted instantiation: ScPageBreakShell::GetInterface() const Unexecuted instantiation: ScPivotShell::GetInterface() const Unexecuted instantiation: ScPreviewShell::GetInterface() const Unexecuted instantiation: sc::SparklineShell::GetInterface() const Unexecuted instantiation: ScTableShell::GetInterface() const Unexecuted instantiation: ScTabViewShell::GetInterface() const SfxApplication::GetInterface() const Line | Count | Source | 559 | 7.87k | { \ | 560 | 7.87k | return GetStaticInterface(); \ | 561 | 7.87k | } \ |
Unexecuted instantiation: SfxModule::GetInterface() const Unexecuted instantiation: SfxObjectShell::GetInterface() const SfxViewFrame::GetInterface() const Line | Count | Source | 559 | 7.87k | { \ | 560 | 7.87k | return GetStaticInterface(); \ | 561 | 7.87k | } \ |
Unexecuted instantiation: SfxViewShell::GetInterface() const FmFormShell::GetInterface() const Line | Count | Source | 559 | 7.87k | { \ | 560 | 7.87k | return GetStaticInterface(); \ | 561 | 7.87k | } \ |
Unexecuted instantiation: svx::ExtrusionBar::GetInterface() const Unexecuted instantiation: svx::FontworkBar::GetInterface() const Unexecuted instantiation: SmViewShell::GetInterface() const Unexecuted instantiation: SmDocShell::GetInterface() const Unexecuted instantiation: SmModule::GetInterface() const SwModule::GetInterface() const Line | Count | Source | 559 | 7.87k | { \ | 560 | 7.87k | return GetStaticInterface(); \ | 561 | 7.87k | } \ |
SwDocShell::GetInterface() const Line | Count | Source | 559 | 15.7k | { \ | 560 | 15.7k | return GetStaticInterface(); \ | 561 | 15.7k | } \ |
Unexecuted instantiation: SwGlosDocShell::GetInterface() const Unexecuted instantiation: SwWebGlosDocShell::GetInterface() const Unexecuted instantiation: SwAnnotationShell::GetInterface() const Unexecuted instantiation: SwBaseShell::GetInterface() const Unexecuted instantiation: SwBezierShell::GetInterface() const Unexecuted instantiation: SwDrawShell::GetInterface() const Unexecuted instantiation: SwDrawFormShell::GetInterface() const Unexecuted instantiation: SwDrawBaseShell::GetInterface() const Unexecuted instantiation: SwDrawTextShell::GetInterface() const Unexecuted instantiation: SwFrameShell::GetInterface() const Unexecuted instantiation: SwGrfShell::GetInterface() const SwListShell::GetInterface() const Line | Count | Source | 559 | 10 | { \ | 560 | 10 | return GetStaticInterface(); \ | 561 | 10 | } \ |
Unexecuted instantiation: SwMediaShell::GetInterface() const SwNavigationShell::GetInterface() const Line | Count | Source | 559 | 7.87k | { \ | 560 | 7.87k | return GetStaticInterface(); \ | 561 | 7.87k | } \ |
Unexecuted instantiation: SwOleShell::GetInterface() const SwTableShell::GetInterface() const Line | Count | Source | 559 | 28 | { \ | 560 | 28 | return GetStaticInterface(); \ | 561 | 28 | } \ |
SwTextShell::GetInterface() const Line | Count | Source | 559 | 7.87k | { \ | 560 | 7.87k | return GetStaticInterface(); \ | 561 | 7.87k | } \ |
Unexecuted instantiation: SwPagePreview::GetInterface() const Unexecuted instantiation: SwSrcView::GetInterface() const SwView::GetInterface() const Line | Count | Source | 559 | 12.4k | { \ | 560 | 12.4k | return GetStaticInterface(); \ | 561 | 12.4k | } \ |
Unexecuted instantiation: SwWebDocShell::GetInterface() const Unexecuted instantiation: SwWebDrawFormShell::GetInterface() const Unexecuted instantiation: SwWebFrameShell::GetInterface() const Unexecuted instantiation: SwWebGrfShell::GetInterface() const Unexecuted instantiation: SwWebListShell::GetInterface() const Unexecuted instantiation: SwWebOleShell::GetInterface() const Unexecuted instantiation: SwWebTableShell::GetInterface() const Unexecuted instantiation: SwWebTextShell::GetInterface() const Unexecuted instantiation: SwWebView::GetInterface() const Unexecuted instantiation: sd::ViewShellBase::GetInterface() const Unexecuted instantiation: sd::DrawViewShell::GetInterface() const Unexecuted instantiation: sd::GraphicViewShell::GetInterface() const Unexecuted instantiation: sd::NotesPanelViewShell::GetInterface() const Unexecuted instantiation: SdModule::GetInterface() const Unexecuted instantiation: sd::DrawDocShell::GetInterface() const Unexecuted instantiation: sd::GraphicDocShell::GetInterface() const Unexecuted instantiation: sd::slidesorter::SlideSorterViewShell::GetInterface() const Unexecuted instantiation: sd::ui::table::TableObjectBar::GetInterface() const Unexecuted instantiation: sd::GraphicObjectBar::GetInterface() const Unexecuted instantiation: sd::MediaObjectBar::GetInterface() const Unexecuted instantiation: sd::BezierObjectBar::GetInterface() const Unexecuted instantiation: sd::TextObjectBar::GetInterface() const Unexecuted instantiation: sd::OutlineViewShell::GetInterface() const Unexecuted instantiation: sd::PresentationViewShell::GetInterface() const Unexecuted instantiation: sd::LeftImpressPaneShell::GetInterface() const Unexecuted instantiation: sd::BottomImpressPaneShell::GetInterface() const Unexecuted instantiation: sd::LeftDrawPaneShell::GetInterface() const |
562 | | \ |
563 | | void Class::RegisterInterface(const SfxModule* pMod) \ |
564 | 736 | { \ |
565 | 736 | GetStaticInterface()->Register(pMod); \ |
566 | 736 | } ScModule::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
ScDocShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
ScChartShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
ScDrawShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
ScDrawFormShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
ScDrawTextObjectBar::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
ScGraphicShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
ScMediaShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
ScOleObjectShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
ScAuditingShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
ScCellShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
ScEditShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
ScFormatShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
ScPageBreakShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
ScPivotShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
ScPreviewShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
sc::SparklineShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
ScTableShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
ScTabViewShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 11 | { \ | 565 | 11 | GetStaticInterface()->Register(pMod); \ | 566 | 11 | } |
SfxApplication::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 27 | { \ | 565 | 27 | GetStaticInterface()->Register(pMod); \ | 566 | 27 | } |
SfxModule::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 27 | { \ | 565 | 27 | GetStaticInterface()->Register(pMod); \ | 566 | 27 | } |
SfxObjectShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 27 | { \ | 565 | 27 | GetStaticInterface()->Register(pMod); \ | 566 | 27 | } |
SfxViewFrame::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 27 | { \ | 565 | 27 | GetStaticInterface()->Register(pMod); \ | 566 | 27 | } |
SfxViewShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 27 | { \ | 565 | 27 | GetStaticInterface()->Register(pMod); \ | 566 | 27 | } |
FmFormShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 26 | { \ | 565 | 26 | GetStaticInterface()->Register(pMod); \ | 566 | 26 | } |
Unexecuted instantiation: svx::ExtrusionBar::RegisterInterface(SfxModule const*) Unexecuted instantiation: svx::FontworkBar::RegisterInterface(SfxModule const*) SmViewShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 1 | { \ | 565 | 1 | GetStaticInterface()->Register(pMod); \ | 566 | 1 | } |
SmDocShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 1 | { \ | 565 | 1 | GetStaticInterface()->Register(pMod); \ | 566 | 1 | } |
SmModule::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 1 | { \ | 565 | 1 | GetStaticInterface()->Register(pMod); \ | 566 | 1 | } |
SwModule::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwDocShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwGlosDocShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwWebGlosDocShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwAnnotationShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwBaseShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwBezierShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwDrawShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwDrawFormShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwDrawBaseShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwDrawTextShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwFrameShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwGrfShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwListShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwMediaShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwNavigationShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwOleShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwTableShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwTextShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwPagePreview::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwSrcView::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwView::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwWebDocShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwWebDrawFormShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwWebFrameShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwWebGrfShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwWebListShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwWebOleShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwWebTableShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwWebTextShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
SwWebView::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 9 | { \ | 565 | 9 | GetStaticInterface()->Register(pMod); \ | 566 | 9 | } |
sd::ViewShellBase::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 6 | { \ | 565 | 6 | GetStaticInterface()->Register(pMod); \ | 566 | 6 | } |
sd::DrawViewShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 6 | { \ | 565 | 6 | GetStaticInterface()->Register(pMod); \ | 566 | 6 | } |
sd::GraphicViewShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 6 | { \ | 565 | 6 | GetStaticInterface()->Register(pMod); \ | 566 | 6 | } |
Unexecuted instantiation: sd::NotesPanelViewShell::RegisterInterface(SfxModule const*) SdModule::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 6 | { \ | 565 | 6 | GetStaticInterface()->Register(pMod); \ | 566 | 6 | } |
sd::DrawDocShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 6 | { \ | 565 | 6 | GetStaticInterface()->Register(pMod); \ | 566 | 6 | } |
sd::GraphicDocShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 6 | { \ | 565 | 6 | GetStaticInterface()->Register(pMod); \ | 566 | 6 | } |
sd::slidesorter::SlideSorterViewShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 6 | { \ | 565 | 6 | GetStaticInterface()->Register(pMod); \ | 566 | 6 | } |
sd::ui::table::TableObjectBar::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 6 | { \ | 565 | 6 | GetStaticInterface()->Register(pMod); \ | 566 | 6 | } |
sd::GraphicObjectBar::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 6 | { \ | 565 | 6 | GetStaticInterface()->Register(pMod); \ | 566 | 6 | } |
sd::MediaObjectBar::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 6 | { \ | 565 | 6 | GetStaticInterface()->Register(pMod); \ | 566 | 6 | } |
sd::BezierObjectBar::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 6 | { \ | 565 | 6 | GetStaticInterface()->Register(pMod); \ | 566 | 6 | } |
sd::TextObjectBar::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 6 | { \ | 565 | 6 | GetStaticInterface()->Register(pMod); \ | 566 | 6 | } |
sd::OutlineViewShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 6 | { \ | 565 | 6 | GetStaticInterface()->Register(pMod); \ | 566 | 6 | } |
sd::PresentationViewShell::RegisterInterface(SfxModule const*) Line | Count | Source | 564 | 6 | { \ | 565 | 6 | GetStaticInterface()->Register(pMod); \ | 566 | 6 | } |
Unexecuted instantiation: sd::LeftImpressPaneShell::RegisterInterface(SfxModule const*) Unexecuted instantiation: sd::BottomImpressPaneShell::RegisterInterface(SfxModule const*) Unexecuted instantiation: sd::LeftDrawPaneShell::RegisterInterface(SfxModule const*) |
567 | | |
568 | | #define SFX_IMPL_INTERFACE(Class,SuperClass) \ |
569 | | SFX_TMPL_INTERFACE(Class,SuperClass,false) \ |
570 | | |
571 | | #define SFX_IMPL_SUPERCLASS_INTERFACE(Class,SuperClass) \ |
572 | | SFX_TMPL_INTERFACE(Class,SuperClass,true) \ |
573 | | |
574 | | enum class SfxVisibilityFlags { |
575 | | Invisible = 0x0000, // Never visible |
576 | | Viewer = 0x0040, |
577 | | ReadonlyDoc = 0x0400, |
578 | | Standard = 0x1000, |
579 | | FullScreen = 0x2000, |
580 | | Client = 0x4000, |
581 | | Server = 0x8000, |
582 | | }; |
583 | | namespace o3tl { |
584 | | template<> struct typed_flags<SfxVisibilityFlags> : is_typed_flags<SfxVisibilityFlags, 0xf440> {}; |
585 | | } |
586 | | #endif |
587 | | |
588 | | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |