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 :
31 : #include "tabvwsh.hxx"
32 : #include "docsh.hxx"
33 : #include "reffact.hxx"
34 : #include "scresid.hxx"
35 : #include "dwfunctr.hxx"
36 : #include "sc.hrc" // -> SID_TOOL_xxx
37 : #include "drawattr.hxx" // -> SvxDrawToolItem
38 : #include "spelldialog.hxx"
39 :
40 :
41 : #define ScTabViewShell
42 : #include "scslots.hxx"
43 :
44 0 : TYPEINIT2(ScTabViewShell,SfxViewShell,SfxListener);
45 :
46 170 : SFX_IMPL_INTERFACE(ScTabViewShell,SfxViewShell,ScResId(SCSTR_TABVIEWSHELL))
47 : {
48 10 : SFX_OBJECTBAR_REGISTRATION( SFX_OBJECTBAR_TOOLS | SFX_VISIBILITY_STANDARD |
49 : SFX_VISIBILITY_FULLSCREEN | SFX_VISIBILITY_SERVER,
50 5 : ScResId(RID_OBJECTBAR_TOOLS) );
51 :
52 5 : SFX_CHILDWINDOW_REGISTRATION(FID_INPUTLINE_STATUS);
53 5 : SFX_CHILDWINDOW_REGISTRATION(SfxTemplateDialogWrapper::GetChildWindowId());
54 5 : SFX_CHILDWINDOW_REGISTRATION(SfxInfoBarContainerChild::GetChildWindowId());
55 5 : SFX_CHILDWINDOW_CONTEXT_REGISTRATION(SID_NAVIGATOR);
56 5 : SFX_CHILDWINDOW_REGISTRATION(SID_TASKPANE);
57 5 : SFX_CHILDWINDOW_REGISTRATION(ScNameDlgWrapper::GetChildWindowId());
58 5 : SFX_CHILDWINDOW_REGISTRATION(ScNameDefDlgWrapper::GetChildWindowId());
59 5 : SFX_CHILDWINDOW_REGISTRATION(ScSolverDlgWrapper::GetChildWindowId());
60 5 : SFX_CHILDWINDOW_REGISTRATION(ScOptSolverDlgWrapper::GetChildWindowId());
61 5 : SFX_CHILDWINDOW_REGISTRATION(ScXMLSourceDlgWrapper::GetChildWindowId());
62 5 : SFX_CHILDWINDOW_REGISTRATION(ScPivotLayoutWrapper::GetChildWindowId());
63 5 : SFX_CHILDWINDOW_REGISTRATION(ScTabOpDlgWrapper::GetChildWindowId());
64 5 : SFX_CHILDWINDOW_REGISTRATION(ScFilterDlgWrapper::GetChildWindowId());
65 5 : SFX_CHILDWINDOW_REGISTRATION(ScSpecialFilterDlgWrapper::GetChildWindowId());
66 5 : SFX_CHILDWINDOW_REGISTRATION(ScDbNameDlgWrapper::GetChildWindowId());
67 5 : SFX_CHILDWINDOW_REGISTRATION(ScConsolidateDlgWrapper::GetChildWindowId());
68 5 : SFX_CHILDWINDOW_REGISTRATION(ScPrintAreasDlgWrapper::GetChildWindowId());
69 5 : SFX_CHILDWINDOW_REGISTRATION(ScColRowNameRangesDlgWrapper::GetChildWindowId());
70 5 : SFX_CHILDWINDOW_REGISTRATION(ScFormulaDlgWrapper::GetChildWindowId());
71 5 : SFX_CHILDWINDOW_REGISTRATION(SvxIMapDlgChildWindow::GetChildWindowId());
72 5 : SFX_CHILDWINDOW_REGISTRATION(ScFunctionChildWindow::GetChildWindowId());
73 5 : SFX_CHILDWINDOW_REGISTRATION(ScFormulaDlgWrapper::GetChildWindowId());
74 5 : SFX_CHILDWINDOW_REGISTRATION(ScAcceptChgDlgWrapper::GetChildWindowId());
75 5 : SFX_CHILDWINDOW_REGISTRATION(ScHighlightChgDlgWrapper::GetChildWindowId());
76 5 : SFX_CHILDWINDOW_REGISTRATION(ScSimpleRefDlgWrapper::GetChildWindowId());
77 5 : SFX_CHILDWINDOW_REGISTRATION(SID_SEARCH_DLG);
78 5 : SFX_CHILDWINDOW_REGISTRATION(SID_HYPERLINK_DIALOG);
79 5 : SFX_CHILDWINDOW_REGISTRATION(GalleryChildWindow::GetChildWindowId());
80 5 : SFX_CHILDWINDOW_REGISTRATION(ScSpellDialogChildWindow::GetChildWindowId());
81 5 : SFX_CHILDWINDOW_REGISTRATION(ScValidityRefChildWin::GetChildWindowId());
82 5 : }
83 :
84 10 : SFX_IMPL_NAMED_VIEWFACTORY( ScTabViewShell, "Default" )
85 : {
86 5 : SFX_VIEW_REGISTRATION(ScDocShell);
87 20 : }
88 :
89 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|