Coverage Report

Created: 2025-11-16 09:57

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/include/sfx2/childwin.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_CHILDWIN_HXX
20
#define INCLUDED_SFX2_CHILDWIN_HXX
21
22
#include <memory>
23
#include <sal/config.h>
24
25
#include <sfx2/dllapi.h>
26
#include <sal/types.h>
27
#include <o3tl/typed_flags_set.hxx>
28
#include <vcl/window.hxx>
29
30
#include <sfx2/chalign.hxx>
31
#include <sfx2/basedlgs.hxx>
32
#include <comphelper/lok.hxx>
33
34
namespace com::sun::star::frame { class XFrame; }
35
36
class SfxWorkWindow;
37
class SfxModule;
38
class SfxChildWindow;
39
class SfxBindings;
40
41
enum class SfxChildWindowFlags
42
{
43
    NONE            = 0x000,
44
    FORCEDOCK       = 0x004, // Float forbidden
45
    TASK            = 0x010, // ChildWindow inside the Task
46
    CANTGETFOCUS    = 0x020, // ChildWindow can not get focus
47
    ALWAYSAVAILABLE = 0x040, // ChildWindow is never disabled
48
    NEVERHIDE       = 0x080, // ChildWindow is always visible
49
    NEVERCLONE      = 0x100, // ChildWindow is not recreated in new view
50
};
51
52
namespace o3tl
53
{
54
    template<> struct typed_flags<SfxChildWindowFlags> : is_typed_flags<SfxChildWindowFlags, 0x1f4> {};
55
}
56
57
58
187
#define CHILDWIN_NOPOS            USHRT_MAX
59
60
// ChildWindow Configuration
61
struct SAL_DLLPUBLIC_RTTI SfxChildWinInfo
62
{
63
    OUString            aExtraString;
64
    OUString            aModule;
65
    OUString            aWinState;
66
    Point               aPos;
67
    Size                aSize;
68
    SfxChildWindowFlags nFlags;
69
    bool                bVisible;
70
71
                        SfxChildWinInfo()
72
115k
                        {
73
115k
                            bVisible = false;
74
115k
                            nFlags = SfxChildWindowFlags::NONE;
75
115k
                        }
76
    bool                GetExtraData_Impl( SfxChildAlignment    *pAlign ) const;
77
};
78
79
// ChildWindow factory methods
80
typedef std::unique_ptr<SfxChildWindow> (*SfxChildWinCtor)( vcl::Window *pParentWindow,
81
                                            sal_uInt16 nId,
82
                                            SfxBindings *pBindings,
83
                                            SfxChildWinInfo *pInfo);
84
85
struct SFX2_DLLPUBLIC SfxChildWinFactory
86
{
87
    SfxChildWinCtor             pCtor;  // Factory method
88
    SfxChildWinInfo             aInfo;  // Configuration
89
    sal_uInt16                  nId;    // ChildWindow-Id ( SlotId )
90
    sal_uInt16                  nPos;   // Position in UI
91
92
    SfxChildWinFactory( SfxChildWinCtor pTheCtor, sal_uInt16 nID, sal_uInt16 n );
93
};
94
95
struct SfxChildWindow_Impl;
96
97
extern SFX2_DLLPUBLIC bool ParentIsFloatingWindow(const vcl::Window *pParent);
98
99
class SFX2_DLLPUBLIC SfxChildWindow
100
{
101
    VclPtr<vcl::Window>        m_pParent;       // parent window (Topwindow)
102
    VclPtr<vcl::Window>        pWindow;         // actual contents
103
    std::unique_ptr< SfxChildWindow_Impl>       pImpl;            // Implementation data
104
    std::shared_ptr<SfxDialogController> xController;     // actual contents
105
    SfxChildAlignment          eChildAlignment; // Current css::drawing::Alignment
106
                                                 // Another window in pWindow
107
    sal_uInt16                 nType;           // ChildWindow-Id
108
    SAL_DLLPRIVATE void ClearWorkwin();
109
110
protected:
111
0
    void                SetWindow(const VclPtr<vcl::Window>& p) { pWindow = p; }
112
                        SfxChildWindow(vcl::Window *pParentWindow, sal_uInt16 nId);
113
114
public:
115
    virtual             ~SfxChildWindow();
116
    // subclasses can override this in case any initialization needs to happen after
117
    // the constructor was called (e.g. to avoid calling virtual methods in the constructor)
118
0
    virtual             void Initialize() {}
119
    void                Destroy();
120
    vcl::Window*        GetWindow() const
121
0
                        { return pWindow; }
122
0
    void                SetController(const std::shared_ptr<SfxDialogController>& controller) { xController = controller; }
123
0
    void                ClearController() { xController.reset(); }
124
0
    std::shared_ptr<SfxDialogController>& GetController() { return xController; }
125
0
    const std::shared_ptr<SfxDialogController>& GetController() const { return xController; }
126
    vcl::Window*        GetParent() const
127
0
                        { return m_pParent; }
128
    SfxChildAlignment   GetAlignment() const
129
0
                        { return eChildAlignment; }
130
    void                SetAlignment(SfxChildAlignment eAlign);
131
    virtual void        Hide();
132
    virtual void        Show( ShowFlags nFlags );
133
    sal_uInt16          GetPosition() const;
134
    sal_uInt16          GetType() const
135
0
                        { return nType; }
136
137
    virtual SfxChildWinInfo GetInfo() const;
138
    void                SaveStatus(const SfxChildWinInfo& rInfo);
139
140
    static void         RegisterChildWindow(SfxModule*, const SfxChildWinFactory&);
141
142
    static std::unique_ptr<SfxChildWindow> CreateChildWindow( sal_uInt16, vcl::Window*, SfxBindings*, SfxChildWinInfo &);
143
    void                SetHideNotDelete( bool bOn );
144
    bool                IsHideNotDelete() const;
145
    bool                IsVisible() const;
146
    void                SetWantsFocus( bool );
147
    bool                WantsFocus() const;
148
149
    virtual bool        QueryClose();
150
    const css::uno::Reference< css::frame::XFrame >&   GetFrame() const;
151
    void                SetFrame( const css::uno::Reference< css::frame::XFrame > & );
152
153
    SAL_DLLPRIVATE static void InitializeChildWinFactory_Impl(sal_uInt16, SfxChildWinInfo&);
154
    void                SetVisible_Impl( bool bVis );
155
    SAL_DLLPRIVATE void SetWorkWindow_Impl( SfxWorkWindow* );
156
    SAL_DLLPRIVATE void Activate_Impl();
157
158
    SAL_DLLPRIVATE void SetFactory_Impl( const SfxChildWinFactory* );
159
};
160
161
const int nCloseResponseToJustHide = -42;
162
163
#define SFX_DECL_CHILDWINDOW(Class) \
164
    public  :   \
165
        static  std::unique_ptr<SfxChildWindow> CreateImpl(vcl::Window *pParent, sal_uInt16 nId, \
166
                    SfxBindings *pBindings, SfxChildWinInfo* pInfo ); \
167
        static  void RegisterChildWindow (bool bVisible=false, SfxModule *pMod=nullptr, SfxChildWindowFlags nFlags=SfxChildWindowFlags::NONE); \
168
        virtual SfxChildWinInfo GetInfo() const override
169
170
#define SFX_DECL_CHILDWINDOW_WITHID(Class) \
171
        SFX_DECL_CHILDWINDOW(Class); \
172
        static  sal_uInt16 GetChildWindowId ()\
173
174
#define SFX_IMPL_CHILDWINDOW(Class, MyID) \
175
        SFX_IMPL_POS_CHILDWINDOW(Class, MyID, CHILDWIN_NOPOS)
176
177
#define SFX_IMPL_CHILDWINDOW_WITHID(Class, MyID) \
178
        SFX_IMPL_POS_CHILDWINDOW_WITHID(Class, MyID, CHILDWIN_NOPOS)
179
180
#define SFX_IMPL_POS_CHILDWINDOW(Class, MyID, Pos) \
181
        std::unique_ptr<SfxChildWindow> Class::CreateImpl( vcl::Window *pParent, \
182
                sal_uInt16 nId, SfxBindings *pBindings, SfxChildWinInfo* pInfo ) \
183
0
                {   \
184
0
                    return std::make_unique<Class>(pParent, nId, pBindings, pInfo);\
185
0
                } \
Unexecuted instantiation: sc::SearchResultsDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScNavigatorWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScNameDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScNameDefDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScSolverDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScOptSolverDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScXMLSourceDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScPivotLayoutWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScTabOpDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScFilterDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScSpecialFilterDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScDbNameDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScConsolidateDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScPrintAreasDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScColRowNameRangesDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScFormulaDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScAcceptChgDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScHighlightChgDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScSimpleRefDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScCondFormatDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScValidityRefChildWin::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScSpellDialogChildWindow::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: ScInputWindowWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: avmedia::MediaPlayer::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: DevelopmentToolChildWindow::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SfxInfoBarContainerChild::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SfxPartChildWnd_Impl::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SfxRecordingFloatWrapper_Impl::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: sfx2::sidebar::SidebarChildWindow::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SvxFontWorkChildWindow::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SvxHlinkDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SvxIMapDlgChildWindow::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SvxSearchDialogWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: FmPropBrwMgr::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: FmFieldWinMgr::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: svxform::DataNavigatorManager::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: svxform::NavigatorFrameManager::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SmCmdBoxWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: Svx3DChildWindow::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SwSpellDialogChildWindow::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SwSyncChildWin::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SwFieldDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SwFieldDataOnlyDlgWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SwInsertIdxMarkWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SwInsertAuthMarkWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SwWordCountWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SwRedlineAcceptChild::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SwInputChild::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SwNavigatorWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SvxContourDlgChildWindow::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SvxRubyChildWindow::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: sd::AnimationChildWindow::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: sd::LeftPaneImpressChildWindow::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: sd::BottomPaneImpressChildWindow::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: sd::LeftPaneDrawChildWindow::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: sd::SpellDialogChildWindow::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: sd::SdNavigatorWrapper::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SvxBmpMaskChildWindow::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
Unexecuted instantiation: SvxColorChildWindow::CreateImpl(vcl::Window*, unsigned short, SfxBindings*, SfxChildWinInfo*)
186
        void    Class::RegisterChildWindow (bool bVis, SfxModule *pMod, SfxChildWindowFlags nFlags)   \
187
750
                {   \
188
750
                    SfxChildWinFactory aFact( \
189
750
                        Class::CreateImpl, MyID, Pos );   \
190
750
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
750
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
750
                    aFact.aInfo.nFlags |= nFlags;  \
193
750
                    aFact.aInfo.bVisible = bVis;         \
194
750
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
750
                }
sc::SearchResultsDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScNavigatorWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScNameDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScNameDefDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScSolverDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScOptSolverDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScXMLSourceDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScPivotLayoutWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScTabOpDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScFilterDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScSpecialFilterDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScDbNameDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScConsolidateDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScPrintAreasDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScColRowNameRangesDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScFormulaDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScAcceptChgDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScHighlightChgDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScSimpleRefDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScCondFormatDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScValidityRefChildWin::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScSpellDialogChildWindow::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
ScInputWindowWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
11
                {   \
188
11
                    SfxChildWinFactory aFact( \
189
11
                        Class::CreateImpl, MyID, Pos );   \
190
11
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
11
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
11
                    aFact.aInfo.nFlags |= nFlags;  \
193
11
                    aFact.aInfo.bVisible = bVis;         \
194
11
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
11
                }
avmedia::MediaPlayer::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
14
                {   \
188
14
                    SfxChildWinFactory aFact( \
189
14
                        Class::CreateImpl, MyID, Pos );   \
190
14
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
14
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
14
                    aFact.aInfo.nFlags |= nFlags;  \
193
14
                    aFact.aInfo.bVisible = bVis;         \
194
14
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
14
                }
DevelopmentToolChildWindow::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
25
                {   \
188
25
                    SfxChildWinFactory aFact( \
189
25
                        Class::CreateImpl, MyID, Pos );   \
190
25
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
25
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
25
                    aFact.aInfo.nFlags |= nFlags;  \
193
25
                    aFact.aInfo.bVisible = bVis;         \
194
25
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
25
                }
SfxInfoBarContainerChild::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
26
                {   \
188
26
                    SfxChildWinFactory aFact( \
189
26
                        Class::CreateImpl, MyID, Pos );   \
190
26
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
26
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
26
                    aFact.aInfo.nFlags |= nFlags;  \
193
26
                    aFact.aInfo.bVisible = bVis;         \
194
26
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
26
                }
SfxPartChildWnd_Impl::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
26
                {   \
188
26
                    SfxChildWinFactory aFact( \
189
26
                        Class::CreateImpl, MyID, Pos );   \
190
26
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
26
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
26
                    aFact.aInfo.nFlags |= nFlags;  \
193
26
                    aFact.aInfo.bVisible = bVis;         \
194
26
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
26
                }
SfxRecordingFloatWrapper_Impl::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
26
                {   \
188
26
                    SfxChildWinFactory aFact( \
189
26
                        Class::CreateImpl, MyID, Pos );   \
190
26
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
26
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
26
                    aFact.aInfo.nFlags |= nFlags;  \
193
26
                    aFact.aInfo.bVisible = bVis;         \
194
26
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
26
                }
sfx2::sidebar::SidebarChildWindow::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
26
                {   \
188
26
                    SfxChildWinFactory aFact( \
189
26
                        Class::CreateImpl, MyID, Pos );   \
190
26
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
26
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
26
                    aFact.aInfo.nFlags |= nFlags;  \
193
26
                    aFact.aInfo.bVisible = bVis;         \
194
26
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
26
                }
SvxFontWorkChildWindow::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
25
                {   \
188
25
                    SfxChildWinFactory aFact( \
189
25
                        Class::CreateImpl, MyID, Pos );   \
190
25
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
25
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
25
                    aFact.aInfo.nFlags |= nFlags;  \
193
25
                    aFact.aInfo.bVisible = bVis;         \
194
25
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
25
                }
SvxHlinkDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
25
                {   \
188
25
                    SfxChildWinFactory aFact( \
189
25
                        Class::CreateImpl, MyID, Pos );   \
190
25
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
25
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
25
                    aFact.aInfo.nFlags |= nFlags;  \
193
25
                    aFact.aInfo.bVisible = bVis;         \
194
25
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
25
                }
SvxIMapDlgChildWindow::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
25
                {   \
188
25
                    SfxChildWinFactory aFact( \
189
25
                        Class::CreateImpl, MyID, Pos );   \
190
25
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
25
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
25
                    aFact.aInfo.nFlags |= nFlags;  \
193
25
                    aFact.aInfo.bVisible = bVis;         \
194
25
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
25
                }
SvxSearchDialogWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
25
                {   \
188
25
                    SfxChildWinFactory aFact( \
189
25
                        Class::CreateImpl, MyID, Pos );   \
190
25
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
25
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
25
                    aFact.aInfo.nFlags |= nFlags;  \
193
25
                    aFact.aInfo.bVisible = bVis;         \
194
25
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
25
                }
FmPropBrwMgr::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
25
                {   \
188
25
                    SfxChildWinFactory aFact( \
189
25
                        Class::CreateImpl, MyID, Pos );   \
190
25
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
25
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
25
                    aFact.aInfo.nFlags |= nFlags;  \
193
25
                    aFact.aInfo.bVisible = bVis;         \
194
25
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
25
                }
FmFieldWinMgr::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
25
                {   \
188
25
                    SfxChildWinFactory aFact( \
189
25
                        Class::CreateImpl, MyID, Pos );   \
190
25
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
25
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
25
                    aFact.aInfo.nFlags |= nFlags;  \
193
25
                    aFact.aInfo.bVisible = bVis;         \
194
25
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
25
                }
svxform::DataNavigatorManager::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
25
                {   \
188
25
                    SfxChildWinFactory aFact( \
189
25
                        Class::CreateImpl, MyID, Pos );   \
190
25
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
25
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
25
                    aFact.aInfo.nFlags |= nFlags;  \
193
25
                    aFact.aInfo.bVisible = bVis;         \
194
25
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
25
                }
svxform::NavigatorFrameManager::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
25
                {   \
188
25
                    SfxChildWinFactory aFact( \
189
25
                        Class::CreateImpl, MyID, Pos );   \
190
25
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
25
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
25
                    aFact.aInfo.nFlags |= nFlags;  \
193
25
                    aFact.aInfo.bVisible = bVis;         \
194
25
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
25
                }
SmCmdBoxWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
1
                {   \
188
1
                    SfxChildWinFactory aFact( \
189
1
                        Class::CreateImpl, MyID, Pos );   \
190
1
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
1
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
1
                    aFact.aInfo.nFlags |= nFlags;  \
193
1
                    aFact.aInfo.bVisible = bVis;         \
194
1
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
1
                }
Svx3DChildWindow::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
5
                {   \
188
5
                    SfxChildWinFactory aFact( \
189
5
                        Class::CreateImpl, MyID, Pos );   \
190
5
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
5
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
5
                    aFact.aInfo.nFlags |= nFlags;  \
193
5
                    aFact.aInfo.bVisible = bVis;         \
194
5
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
5
                }
SwSpellDialogChildWindow::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
9
                {   \
188
9
                    SfxChildWinFactory aFact( \
189
9
                        Class::CreateImpl, MyID, Pos );   \
190
9
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
9
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
9
                    aFact.aInfo.nFlags |= nFlags;  \
193
9
                    aFact.aInfo.bVisible = bVis;         \
194
9
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
9
                }
SwSyncChildWin::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
9
                {   \
188
9
                    SfxChildWinFactory aFact( \
189
9
                        Class::CreateImpl, MyID, Pos );   \
190
9
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
9
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
9
                    aFact.aInfo.nFlags |= nFlags;  \
193
9
                    aFact.aInfo.bVisible = bVis;         \
194
9
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
9
                }
SwFieldDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
9
                {   \
188
9
                    SfxChildWinFactory aFact( \
189
9
                        Class::CreateImpl, MyID, Pos );   \
190
9
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
9
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
9
                    aFact.aInfo.nFlags |= nFlags;  \
193
9
                    aFact.aInfo.bVisible = bVis;         \
194
9
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
9
                }
SwFieldDataOnlyDlgWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
9
                {   \
188
9
                    SfxChildWinFactory aFact( \
189
9
                        Class::CreateImpl, MyID, Pos );   \
190
9
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
9
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
9
                    aFact.aInfo.nFlags |= nFlags;  \
193
9
                    aFact.aInfo.bVisible = bVis;         \
194
9
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
9
                }
SwInsertIdxMarkWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
9
                {   \
188
9
                    SfxChildWinFactory aFact( \
189
9
                        Class::CreateImpl, MyID, Pos );   \
190
9
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
9
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
9
                    aFact.aInfo.nFlags |= nFlags;  \
193
9
                    aFact.aInfo.bVisible = bVis;         \
194
9
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
9
                }
SwInsertAuthMarkWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
9
                {   \
188
9
                    SfxChildWinFactory aFact( \
189
9
                        Class::CreateImpl, MyID, Pos );   \
190
9
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
9
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
9
                    aFact.aInfo.nFlags |= nFlags;  \
193
9
                    aFact.aInfo.bVisible = bVis;         \
194
9
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
9
                }
SwWordCountWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
9
                {   \
188
9
                    SfxChildWinFactory aFact( \
189
9
                        Class::CreateImpl, MyID, Pos );   \
190
9
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
9
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
9
                    aFact.aInfo.nFlags |= nFlags;  \
193
9
                    aFact.aInfo.bVisible = bVis;         \
194
9
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
9
                }
SwRedlineAcceptChild::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
9
                {   \
188
9
                    SfxChildWinFactory aFact( \
189
9
                        Class::CreateImpl, MyID, Pos );   \
190
9
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
9
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
9
                    aFact.aInfo.nFlags |= nFlags;  \
193
9
                    aFact.aInfo.bVisible = bVis;         \
194
9
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
9
                }
SwInputChild::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
9
                {   \
188
9
                    SfxChildWinFactory aFact( \
189
9
                        Class::CreateImpl, MyID, Pos );   \
190
9
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
9
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
9
                    aFact.aInfo.nFlags |= nFlags;  \
193
9
                    aFact.aInfo.bVisible = bVis;         \
194
9
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
9
                }
SwNavigatorWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
9
                {   \
188
9
                    SfxChildWinFactory aFact( \
189
9
                        Class::CreateImpl, MyID, Pos );   \
190
9
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
9
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
9
                    aFact.aInfo.nFlags |= nFlags;  \
193
9
                    aFact.aInfo.bVisible = bVis;         \
194
9
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
9
                }
SvxContourDlgChildWindow::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
9
                {   \
188
9
                    SfxChildWinFactory aFact( \
189
9
                        Class::CreateImpl, MyID, Pos );   \
190
9
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
9
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
9
                    aFact.aInfo.nFlags |= nFlags;  \
193
9
                    aFact.aInfo.bVisible = bVis;         \
194
9
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
9
                }
SvxRubyChildWindow::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
9
                {   \
188
9
                    SfxChildWinFactory aFact( \
189
9
                        Class::CreateImpl, MyID, Pos );   \
190
9
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
9
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
9
                    aFact.aInfo.nFlags |= nFlags;  \
193
9
                    aFact.aInfo.bVisible = bVis;         \
194
9
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
9
                }
sd::AnimationChildWindow::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
5
                {   \
188
5
                    SfxChildWinFactory aFact( \
189
5
                        Class::CreateImpl, MyID, Pos );   \
190
5
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
5
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
5
                    aFact.aInfo.nFlags |= nFlags;  \
193
5
                    aFact.aInfo.bVisible = bVis;         \
194
5
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
5
                }
sd::LeftPaneImpressChildWindow::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
5
                {   \
188
5
                    SfxChildWinFactory aFact( \
189
5
                        Class::CreateImpl, MyID, Pos );   \
190
5
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
5
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
5
                    aFact.aInfo.nFlags |= nFlags;  \
193
5
                    aFact.aInfo.bVisible = bVis;         \
194
5
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
5
                }
sd::BottomPaneImpressChildWindow::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
5
                {   \
188
5
                    SfxChildWinFactory aFact( \
189
5
                        Class::CreateImpl, MyID, Pos );   \
190
5
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
5
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
5
                    aFact.aInfo.nFlags |= nFlags;  \
193
5
                    aFact.aInfo.bVisible = bVis;         \
194
5
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
5
                }
sd::LeftPaneDrawChildWindow::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
5
                {   \
188
5
                    SfxChildWinFactory aFact( \
189
5
                        Class::CreateImpl, MyID, Pos );   \
190
5
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
5
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
5
                    aFact.aInfo.nFlags |= nFlags;  \
193
5
                    aFact.aInfo.bVisible = bVis;         \
194
5
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
5
                }
sd::SpellDialogChildWindow::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
5
                {   \
188
5
                    SfxChildWinFactory aFact( \
189
5
                        Class::CreateImpl, MyID, Pos );   \
190
5
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
5
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
5
                    aFact.aInfo.nFlags |= nFlags;  \
193
5
                    aFact.aInfo.bVisible = bVis;         \
194
5
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
5
                }
sd::SdNavigatorWrapper::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
5
                {   \
188
5
                    SfxChildWinFactory aFact( \
189
5
                        Class::CreateImpl, MyID, Pos );   \
190
5
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
5
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
5
                    aFact.aInfo.nFlags |= nFlags;  \
193
5
                    aFact.aInfo.bVisible = bVis;         \
194
5
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
5
                }
SvxBmpMaskChildWindow::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
5
                {   \
188
5
                    SfxChildWinFactory aFact( \
189
5
                        Class::CreateImpl, MyID, Pos );   \
190
5
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
5
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
5
                    aFact.aInfo.nFlags |= nFlags;  \
193
5
                    aFact.aInfo.bVisible = bVis;         \
194
5
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
5
                }
SvxColorChildWindow::RegisterChildWindow(bool, SfxModule*, SfxChildWindowFlags)
Line
Count
Source
187
5
                {   \
188
5
                    SfxChildWinFactory aFact( \
189
5
                        Class::CreateImpl, MyID, Pos );   \
190
5
                    if (comphelper::LibreOfficeKit::isActive() && nFlags == SfxChildWindowFlags::NONE) \
191
5
                        nFlags |= SfxChildWindowFlags::NEVERCLONE; \
192
5
                    aFact.aInfo.nFlags |= nFlags;  \
193
5
                    aFact.aInfo.bVisible = bVis;         \
194
5
                    SfxChildWindow::RegisterChildWindow(pMod, aFact); \
195
5
                }
196
197
#define SFX_IMPL_POS_CHILDWINDOW_WITHID(Class, MyID, Pos) \
198
        SFX_IMPL_POS_CHILDWINDOW(Class, MyID, Pos) \
199
        sal_uInt16 Class::GetChildWindowId () \
200
22.6k
                { return MyID; } \
sc::SearchResultsDlgWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScNameDlgWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScNameDefDlgWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScSolverDlgWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScOptSolverDlgWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScXMLSourceDlgWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScPivotLayoutWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScTabOpDlgWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScFilterDlgWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScSpecialFilterDlgWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScDbNameDlgWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScConsolidateDlgWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScPrintAreasDlgWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScColRowNameRangesDlgWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScFormulaDlgWrapper::GetChildWindowId()
Line
Count
Source
200
22
                { return MyID; } \
ScAcceptChgDlgWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScHighlightChgDlgWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScSimpleRefDlgWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScCondFormatDlgWrapper::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScValidityRefChildWin::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
ScSpellDialogChildWindow::GetChildWindowId()
Line
Count
Source
200
11
                { return MyID; } \
Unexecuted instantiation: ScInputWindowWrapper::GetChildWindowId()
avmedia::MediaPlayer::GetChildWindowId()
Line
Count
Source
200
19
                { return MyID; } \
DevelopmentToolChildWindow::GetChildWindowId()
Line
Count
Source
200
40
                { return MyID; } \
SfxInfoBarContainerChild::GetChildWindowId()
Line
Count
Source
200
45
                { return MyID; } \
sfx2::sidebar::SidebarChildWindow::GetChildWindowId()
Line
Count
Source
200
41
                { return MyID; } \
SvxFontWorkChildWindow::GetChildWindowId()
Line
Count
Source
200
50
                { return MyID; } \
SvxHlinkDlgWrapper::GetChildWindowId()
Line
Count
Source
200
15
                { return MyID; } \
SvxIMapDlgChildWindow::GetChildWindowId()
Line
Count
Source
200
30
                { return MyID; } \
SvxSearchDialogWrapper::GetChildWindowId()
Line
Count
Source
200
43
                { return MyID; } \
SmCmdBoxWrapper::GetChildWindowId()
Line
Count
Source
200
1
                { return MyID; } \
Svx3DChildWindow::GetChildWindowId()
Line
Count
Source
200
10
                { return MyID; } \
SwSpellDialogChildWindow::GetChildWindowId()
Line
Count
Source
200
9
                { return MyID; } \
SwFieldDlgWrapper::GetChildWindowId()
Line
Count
Source
200
3.67k
                { return MyID; } \
SwInsertIdxMarkWrapper::GetChildWindowId()
Line
Count
Source
200
3.67k
                { return MyID; } \
SwInsertAuthMarkWrapper::GetChildWindowId()
Line
Count
Source
200
3.67k
                { return MyID; } \
SwWordCountWrapper::GetChildWindowId()
Line
Count
Source
200
1
                { return MyID; } \
SwRedlineAcceptChild::GetChildWindowId()
Line
Count
Source
200
3.67k
                { return MyID; } \
SwInputChild::GetChildWindowId()
Line
Count
Source
200
7.35k
                { return MyID; } \
SwNavigatorWrapper::GetChildWindowId()
Line
Count
Source
200
9
                { return MyID; } \
SvxContourDlgChildWindow::GetChildWindowId()
Line
Count
Source
200
9
                { return MyID; } \
sd::AnimationChildWindow::GetChildWindowId()
Line
Count
Source
200
5
                { return MyID; } \
Unexecuted instantiation: sd::LeftPaneImpressChildWindow::GetChildWindowId()
sd::BottomPaneImpressChildWindow::GetChildWindowId()
Line
Count
Source
200
5
                { return MyID; } \
Unexecuted instantiation: sd::LeftPaneDrawChildWindow::GetChildWindowId()
sd::SpellDialogChildWindow::GetChildWindowId()
Line
Count
Source
200
15
                { return MyID; } \
SvxBmpMaskChildWindow::GetChildWindowId()
Line
Count
Source
200
10
                { return MyID; } \
SvxColorChildWindow::GetChildWindowId()
Line
Count
Source
200
10
                { return MyID; } \
201
202
#define SFX_IMPL_MODELESSDIALOGCONTOLLER(Class, MyID)    \
203
        SFX_IMPL_CHILDWINDOW(Class, MyID)       \
204
        SfxChildWinInfo Class::GetInfo() const \
205
0
        {                                       \
206
0
            SfxChildWinInfo aInfo = SfxChildWindow::GetInfo();     \
207
0
            static_cast<const SfxModelessDialogController*>(GetController().get())->FillInfo( aInfo );  \
208
0
            return aInfo; }
Unexecuted instantiation: SfxRecordingFloatWrapper_Impl::GetInfo() const
Unexecuted instantiation: FmPropBrwMgr::GetInfo() const
Unexecuted instantiation: FmFieldWinMgr::GetInfo() const
Unexecuted instantiation: SwSyncChildWin::GetInfo() const
209
210
#define SFX_IMPL_MODELESSDIALOGCONTOLLER_WITHID(Class, MyID)    \
211
        SFX_IMPL_CHILDWINDOW_WITHID(Class, MyID)       \
212
        SfxChildWinInfo Class::GetInfo() const \
213
0
        {                                       \
214
0
            SfxChildWinInfo aInfo = SfxChildWindow::GetInfo();     \
215
0
            static_cast<const SfxModelessDialogController*>(GetController().get())->FillInfo( aInfo );  \
216
0
            return aInfo; }
Unexecuted instantiation: ScNameDlgWrapper::GetInfo() const
Unexecuted instantiation: ScNameDefDlgWrapper::GetInfo() const
Unexecuted instantiation: ScSolverDlgWrapper::GetInfo() const
Unexecuted instantiation: ScOptSolverDlgWrapper::GetInfo() const
Unexecuted instantiation: ScXMLSourceDlgWrapper::GetInfo() const
Unexecuted instantiation: ScPivotLayoutWrapper::GetInfo() const
Unexecuted instantiation: ScTabOpDlgWrapper::GetInfo() const
Unexecuted instantiation: ScFilterDlgWrapper::GetInfo() const
Unexecuted instantiation: ScSpecialFilterDlgWrapper::GetInfo() const
Unexecuted instantiation: ScDbNameDlgWrapper::GetInfo() const
Unexecuted instantiation: ScConsolidateDlgWrapper::GetInfo() const
Unexecuted instantiation: ScPrintAreasDlgWrapper::GetInfo() const
Unexecuted instantiation: ScColRowNameRangesDlgWrapper::GetInfo() const
Unexecuted instantiation: ScFormulaDlgWrapper::GetInfo() const
Unexecuted instantiation: ScAcceptChgDlgWrapper::GetInfo() const
Unexecuted instantiation: ScHighlightChgDlgWrapper::GetInfo() const
Unexecuted instantiation: ScSimpleRefDlgWrapper::GetInfo() const
Unexecuted instantiation: ScCondFormatDlgWrapper::GetInfo() const
Unexecuted instantiation: SvxIMapDlgChildWindow::GetInfo() const
Unexecuted instantiation: SwRedlineAcceptChild::GetInfo() const
Unexecuted instantiation: SvxContourDlgChildWindow::GetInfo() const
217
218
#define SFX_IMPL_DOCKINGWINDOW(Class, MyID) \
219
        SFX_IMPL_CHILDWINDOW(Class, MyID)       \
220
        SfxChildWinInfo Class::GetInfo() const \
221
0
        {                                       \
222
0
            SfxChildWinInfo aInfo = SfxChildWindow::GetInfo();     \
223
0
            static_cast<SfxDockingWindow*>(GetWindow())->FillInfo( aInfo );  \
224
0
            return aInfo; }
Unexecuted instantiation: ScNavigatorWrapper::GetInfo() const
Unexecuted instantiation: SfxPartChildWnd_Impl::GetInfo() const
Unexecuted instantiation: svxform::DataNavigatorManager::GetInfo() const
Unexecuted instantiation: svxform::NavigatorFrameManager::GetInfo() const
Unexecuted instantiation: sd::SdNavigatorWrapper::GetInfo() const
225
226
#define SFX_IMPL_DOCKINGWINDOW_WITHID(Class, MyID) \
227
        SFX_IMPL_CHILDWINDOW_WITHID(Class, MyID)       \
228
        SfxChildWinInfo Class::GetInfo() const \
229
0
        {                                       \
230
0
            SfxChildWinInfo aInfo = SfxChildWindow::GetInfo();     \
231
0
            static_cast<SfxDockingWindow*>(GetWindow())->FillInfo( aInfo );  \
232
0
            return aInfo; }
Unexecuted instantiation: avmedia::MediaPlayer::GetInfo() const
Unexecuted instantiation: DevelopmentToolChildWindow::GetInfo() const
Unexecuted instantiation: sfx2::sidebar::SidebarChildWindow::GetInfo() const
Unexecuted instantiation: SvxFontWorkChildWindow::GetInfo() const
Unexecuted instantiation: SmCmdBoxWrapper::GetInfo() const
Unexecuted instantiation: Svx3DChildWindow::GetInfo() const
Unexecuted instantiation: SwNavigatorWrapper::GetInfo() const
Unexecuted instantiation: sd::AnimationChildWindow::GetInfo() const
Unexecuted instantiation: sd::LeftPaneImpressChildWindow::GetInfo() const
Unexecuted instantiation: sd::BottomPaneImpressChildWindow::GetInfo() const
Unexecuted instantiation: sd::LeftPaneDrawChildWindow::GetInfo() const
Unexecuted instantiation: SvxBmpMaskChildWindow::GetInfo() const
Unexecuted instantiation: SvxColorChildWindow::GetInfo() const
233
234
bool GetPosSizeFromString( std::u16string_view rStr, Point& rPos, Size& rSize );
235
236
bool GetSplitSizeFromString( std::u16string_view rStr, Size& rSize );
237
238
#endif
239
240
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */