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 <sfx2/objface.hxx> 32 #include <svl/srchitem.hxx> //*** 33 34 #include "swtypes.hxx" 35 #include "cmdid.h" 36 #include "view.hxx" 37 #include "wfrmsh.hxx" 38 #include "globals.hrc" 39 #include "popup.hrc" 40 #include "shells.hrc" 41 #include "web.hrc" 42 43 44 // STATIC DATA ----------------------------------------------------------- 45 #define SwWebFrameShell 46 #include <sfx2/msg.hxx> 47 #include "swslots.hxx" 48 49 50 /*-------------------------------------------------------------------- 51 Beschreibung: 52 --------------------------------------------------------------------*/ 53 54 SFX_IMPL_INTERFACE(SwWebFrameShell, SwFrameShell, SW_RES(STR_SHELLNAME_WEBFRAME)) 55 { 56 SFX_POPUPMENU_REGISTRATION(SW_RES(MN_FRM_POPUPMENU)); 57 SFX_OBJECTBAR_REGISTRATION(SFX_OBJECTBAR_OBJECT, SW_RES(RID_WEBFRAME_TOOLBOX)); 58 } 59 60 61 62 TYPEINIT1(SwWebFrameShell, SwFrameShell) 63 64 /*-------------------------------------------------------------------- 65 Beschreibung: 66 --------------------------------------------------------------------*/ 67 68 69 70 SwWebFrameShell::SwWebFrameShell(SwView &_rView) : 71 SwFrameShell(_rView) 72 { 73 SetHelpId(SW_WEBFRAMESHELL); 74 } 75 76 /*-------------------------------------------------------------------- 77 Beschreibung: 78 --------------------------------------------------------------------*/ 79 80 81 82 SwWebFrameShell::~SwWebFrameShell() 83 { 84 } 85 86 87 88 89 90 91 92