xref: /aoo4110/main/sw/source/ui/web/wtabsh.cxx (revision b1cdbd2c)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 // MARKER(update_precomp.py): autogen include statement, do not remove
25 #include "precompiled_sw.hxx"
26 
27 
28 
29 #include "hintids.hxx"
30 #include <sfx2/app.hxx>
31 #include <tools/globname.hxx>
32 #include <sfx2/objface.hxx>
33 #include <svl/srchitem.hxx>
34 
35 
36 #include "cmdid.h"
37 #include "globals.hrc"
38 #include "uitool.hxx"
39 #include "helpid.h"
40 #include "popup.hrc"
41 #include "shells.hrc"
42 #include "table.hrc"
43 #include "wrtsh.hxx"
44 #include "wtabsh.hxx"
45 
46 #define SwWebTableShell
47 #include <sfx2/msg.hxx>
48 #include "svx/svxids.hrc"
49 #include "swslots.hxx"
50 
SFX_IMPL_INTERFACE(SwWebTableShell,SwTableShell,SW_RES (STR_SHELLNAME_TABLE))51 SFX_IMPL_INTERFACE(SwWebTableShell, SwTableShell, SW_RES(STR_SHELLNAME_TABLE))
52 {
53 	SFX_POPUPMENU_REGISTRATION(SW_RES(MN_TAB_POPUPMENU));
54 	SFX_OBJECTBAR_REGISTRATION(SFX_OBJECTBAR_OBJECT, SW_RES(RID_TABLE_TOOLBOX));
55 }
56 
TYPEINIT1(SwWebTableShell,SwTableShell)57 TYPEINIT1(SwWebTableShell,SwTableShell)
58 
59 SwWebTableShell::SwWebTableShell(SwView &_rView) :
60     SwTableShell(_rView)
61 {
62 	GetShell().UpdateTable();
63 	SetName(String::CreateFromAscii("Table"));
64 	SetHelpId(SW_TABSHELL);
65 }
66 
~SwWebTableShell()67 __EXPORT SwWebTableShell::~SwWebTableShell()
68 {
69 }
70 
71 
72 
73