xref: /aoo4110/main/sw/source/ui/web/wtextsh.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/objface.hxx>
31 #include <sfx2/app.hxx>
32 #include <svl/srchitem.hxx> //***
33 #include <basic/sbxvar.hxx>
34 #ifndef _SVX_SVXIDS_HRC //autogen
35 #include <svx/svxids.hrc>
36 #endif
37 
38 #include "swtypes.hxx"
39 #include "cmdid.h"
40 #include "view.hxx"
41 #include "wtextsh.hxx"
42 #include "basesh.hxx"
43 #include "globals.hrc"
44 #include "popup.hrc"
45 #include "shells.hrc"
46 #include "web.hrc"
47 
48 #include <unomid.h>
49 
50 
51 // STATIC DATA -----------------------------------------------------------
52 #define SwWebTextShell
53 #define Paragraph
54 #define HyphenZone
55 #define TextFont
56 #define DropCap
57 #include <sfx2/msg.hxx>
58 #include "swslots.hxx"
59 
60 
61 /*--------------------------------------------------------------------
62 	Beschreibung:
63  --------------------------------------------------------------------*/
64 
SFX_IMPL_INTERFACE(SwWebTextShell,SwBaseShell,SW_RES (STR_SHELLNAME_WEBTEXT))65 SFX_IMPL_INTERFACE(SwWebTextShell, SwBaseShell, SW_RES(STR_SHELLNAME_WEBTEXT))
66 {
67 	SFX_POPUPMENU_REGISTRATION(SW_RES(MN_TEXT_POPUPMENU));
68 	SFX_OBJECTBAR_REGISTRATION(SFX_OBJECTBAR_OBJECT, SW_RES(RID_TEXT_TOOLBOX));
69 	SFX_CHILDWINDOW_REGISTRATION(FN_EDIT_FORMULA);
70 	SFX_CHILDWINDOW_REGISTRATION(FN_INSERT_FIELD);
71 }
72 
TYPEINIT1(SwWebTextShell,SwTextShell)73 TYPEINIT1(SwWebTextShell, SwTextShell)
74 
75 /*--------------------------------------------------------------------
76 	Beschreibung:
77  --------------------------------------------------------------------*/
78 
79 SwWebTextShell::SwWebTextShell(SwView &_rView) :
80     SwTextShell(_rView)
81 {
82 	SetHelpId(SW_WEBTEXTSHELL);
83 }
84 
85 /*--------------------------------------------------------------------
86 	Beschreibung:
87  --------------------------------------------------------------------*/
88 
89 
~SwWebTextShell()90 SwWebTextShell::~SwWebTextShell()
91 {
92 }
93 
94 
95 
96