Line data Source code
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 :
20 : #include "scitems.hxx"
21 : #include <svx/galbrws.hxx>
22 : #include <svx/imapdlg.hxx>
23 : #include <svl/srchitem.hxx>
24 : #include <sfx2/templdlg.hxx>
25 : #include <sfx2/objface.hxx>
26 : #include <sfx2/viewfrm.hxx>
27 : #include <sfx2/bindings.hxx>
28 : #include <sfx2/app.hxx>
29 : #include <sfx2/infobar.hxx>
30 : #include <sfx2/sidebar/SidebarChildWindow.hxx>
31 :
32 : #include "tabvwsh.hxx"
33 : #include "docsh.hxx"
34 : #include "reffact.hxx"
35 : #include "scresid.hxx"
36 : #include "dwfunctr.hxx"
37 : #include "sc.hrc" // -> SID_TOOL_xxx
38 : #include "drawattr.hxx" // -> SvxDrawToolItem
39 : #include "spelldialog.hxx"
40 :
41 :
42 : #define ScTabViewShell
43 : #include "scslots.hxx"
44 :
45 125607 : TYPEINIT2(ScTabViewShell,SfxViewShell,SfxListener);
46 :
47 26592 : SFX_IMPL_INTERFACE(ScTabViewShell,SfxViewShell,ScResId(SCSTR_TABVIEWSHELL))
48 : {
49 62 : SFX_OBJECTBAR_REGISTRATION( SFX_OBJECTBAR_TOOLS | SFX_VISIBILITY_STANDARD |
50 : SFX_VISIBILITY_FULLSCREEN | SFX_VISIBILITY_SERVER,
51 31 : ScResId(RID_OBJECTBAR_TOOLS) );
52 :
53 31 : SFX_CHILDWINDOW_REGISTRATION(FID_INPUTLINE_STATUS);
54 31 : SFX_CHILDWINDOW_REGISTRATION(SfxTemplateDialogWrapper::GetChildWindowId());
55 31 : SFX_CHILDWINDOW_REGISTRATION(SfxInfoBarContainerChild::GetChildWindowId());
56 31 : SFX_CHILDWINDOW_CONTEXT_REGISTRATION(SID_NAVIGATOR);
57 31 : SFX_CHILDWINDOW_REGISTRATION(::sfx2::sidebar::SidebarChildWindow::GetChildWindowId());
58 31 : SFX_CHILDWINDOW_REGISTRATION(ScNameDlgWrapper::GetChildWindowId());
59 31 : SFX_CHILDWINDOW_REGISTRATION(ScNameDefDlgWrapper::GetChildWindowId());
60 31 : SFX_CHILDWINDOW_REGISTRATION(ScSolverDlgWrapper::GetChildWindowId());
61 31 : SFX_CHILDWINDOW_REGISTRATION(ScOptSolverDlgWrapper::GetChildWindowId());
62 31 : SFX_CHILDWINDOW_REGISTRATION(ScXMLSourceDlgWrapper::GetChildWindowId());
63 31 : SFX_CHILDWINDOW_REGISTRATION(ScPivotLayoutWrapper::GetChildWindowId());
64 31 : SFX_CHILDWINDOW_REGISTRATION(ScTabOpDlgWrapper::GetChildWindowId());
65 31 : SFX_CHILDWINDOW_REGISTRATION(ScFilterDlgWrapper::GetChildWindowId());
66 31 : SFX_CHILDWINDOW_REGISTRATION(ScSpecialFilterDlgWrapper::GetChildWindowId());
67 31 : SFX_CHILDWINDOW_REGISTRATION(ScDbNameDlgWrapper::GetChildWindowId());
68 31 : SFX_CHILDWINDOW_REGISTRATION(ScConsolidateDlgWrapper::GetChildWindowId());
69 31 : SFX_CHILDWINDOW_REGISTRATION(ScPrintAreasDlgWrapper::GetChildWindowId());
70 31 : SFX_CHILDWINDOW_REGISTRATION(ScColRowNameRangesDlgWrapper::GetChildWindowId());
71 31 : SFX_CHILDWINDOW_REGISTRATION(ScFormulaDlgWrapper::GetChildWindowId());
72 31 : SFX_CHILDWINDOW_REGISTRATION(SvxIMapDlgChildWindow::GetChildWindowId());
73 31 : SFX_CHILDWINDOW_REGISTRATION(ScFunctionChildWindow::GetChildWindowId());
74 31 : SFX_CHILDWINDOW_REGISTRATION(ScFormulaDlgWrapper::GetChildWindowId());
75 31 : SFX_CHILDWINDOW_REGISTRATION(ScAcceptChgDlgWrapper::GetChildWindowId());
76 31 : SFX_CHILDWINDOW_REGISTRATION(ScHighlightChgDlgWrapper::GetChildWindowId());
77 31 : SFX_CHILDWINDOW_REGISTRATION(ScSimpleRefDlgWrapper::GetChildWindowId());
78 31 : SFX_CHILDWINDOW_REGISTRATION(SID_SEARCH_DLG);
79 31 : SFX_CHILDWINDOW_REGISTRATION(SID_HYPERLINK_DIALOG);
80 31 : SFX_CHILDWINDOW_REGISTRATION(GalleryChildWindow::GetChildWindowId());
81 31 : SFX_CHILDWINDOW_REGISTRATION(ScSpellDialogChildWindow::GetChildWindowId());
82 31 : SFX_CHILDWINDOW_REGISTRATION(ScValidityRefChildWin::GetChildWindowId());
83 31 : }
84 :
85 265 : SFX_IMPL_NAMED_VIEWFACTORY( ScTabViewShell, "Default" )
86 : {
87 31 : SFX_VIEW_REGISTRATION(ScDocShell);
88 124 : }
89 :
90 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|