sddll1.cxx (02c50d82) | sddll1.cxx (16e7aaae) |
---|---|
1/************************************************************** | 1/************************************************************** |
2 * | 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 | 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 * | 10 * |
11 * http://www.apache.org/licenses/LICENSE-2.0 | 11 * http://www.apache.org/licenses/LICENSE-2.0 |
12 * | 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. | 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 * | 19 * |
20 *************************************************************/ 21 22 23 24// MARKER(update_precomp.py): autogen include statement, do not remove 25#include "precompiled_sd.hxx" 26 27 --- 22 unchanged lines hidden (view full) --- 50#include "app.hrc" 51 52namespace sd { namespace ui { namespace table { 53 extern void RegisterInterfaces( SfxModule* pMod ); 54} } } 55 56 57/************************************************************************* | 20 *************************************************************/ 21 22 23 24// MARKER(update_precomp.py): autogen include statement, do not remove 25#include "precompiled_sd.hxx" 26 27 --- 22 unchanged lines hidden (view full) --- 50#include "app.hrc" 51 52namespace sd { namespace ui { namespace table { 53 extern void RegisterInterfaces( SfxModule* pMod ); 54} } } 55 56 57/************************************************************************* |
58|* | |
59|* Register all Factorys | 58|* Register all Factorys |
60|* | |
61\************************************************************************/ 62 63 64void SdDLL::RegisterFactorys() 65{ 66 if (SvtModuleOptions().IsImpress()) | 59\************************************************************************/ 60 61 62void SdDLL::RegisterFactorys() 63{ 64 if (SvtModuleOptions().IsImpress()) |
67 { 68 ::sd::ImpressViewShellBase::RegisterFactory ( 69 ::sd::IMPRESS_FACTORY_ID); 70 ::sd::SlideSorterViewShellBase::RegisterFactory ( 71 ::sd::SLIDE_SORTER_FACTORY_ID); 72 ::sd::OutlineViewShellBase::RegisterFactory ( 73 ::sd::OUTLINE_FACTORY_ID); 74 ::sd::PresentationViewShellBase::RegisterFactory ( 75 ::sd::PRESENTATION_FACTORY_ID); 76 } | 65 { 66 ::sd::ImpressViewShellBase::RegisterFactory ( 67 ::sd::IMPRESS_FACTORY_ID); 68 ::sd::SlideSorterViewShellBase::RegisterFactory ( 69 ::sd::SLIDE_SORTER_FACTORY_ID); 70 ::sd::OutlineViewShellBase::RegisterFactory ( 71 ::sd::OUTLINE_FACTORY_ID); 72 ::sd::PresentationViewShellBase::RegisterFactory ( 73 ::sd::PRESENTATION_FACTORY_ID); 74 } |
77 if (SvtModuleOptions().IsDraw()) | 75 if (SvtModuleOptions().IsDraw()) |
78 { | 76 { |
79 ::sd::GraphicViewShellBase::RegisterFactory (::sd::DRAW_FACTORY_ID); | 77 ::sd::GraphicViewShellBase::RegisterFactory (::sd::DRAW_FACTORY_ID); |
80 } | 78 } |
81} 82 83 84 85/************************************************************************* | 79} 80 81 82 83/************************************************************************* |
86|* | |
87|* Register all Interfaces | 84|* Register all Interfaces |
88|* | |
89\************************************************************************/ 90 91void SdDLL::RegisterInterfaces() 92{ 93 // Modul 94 SfxModule* pMod = SD_MOD(); 95 SdModule::RegisterInterface(pMod); 96 | 85\************************************************************************/ 86 87void SdDLL::RegisterInterfaces() 88{ 89 // Modul 90 SfxModule* pMod = SD_MOD(); 91 SdModule::RegisterInterface(pMod); 92 |
97 // View shell base. | 93 // View shell base. |
98 ::sd::ViewShellBase::RegisterInterface(pMod); 99 100 // DocShells 101 ::sd::DrawDocShell::RegisterInterface(pMod); 102 ::sd::GraphicDocShell::RegisterInterface(pMod); 103 104 // Impress ViewShells 105 ::sd::DrawViewShell::RegisterInterface(pMod); --- 9 unchanged lines hidden (view full) --- 115 ::sd::GraphicObjectBar::RegisterInterface(pMod); 116 117 // Media ObjectShell 118 ::sd::MediaObjectBar::RegisterInterface(pMod); 119 120 // Table ObjectShell 121 ::sd::ui::table::RegisterInterfaces(pMod); 122 | 94 ::sd::ViewShellBase::RegisterInterface(pMod); 95 96 // DocShells 97 ::sd::DrawDocShell::RegisterInterface(pMod); 98 ::sd::GraphicDocShell::RegisterInterface(pMod); 99 100 // Impress ViewShells 101 ::sd::DrawViewShell::RegisterInterface(pMod); --- 9 unchanged lines hidden (view full) --- 111 ::sd::GraphicObjectBar::RegisterInterface(pMod); 112 113 // Media ObjectShell 114 ::sd::MediaObjectBar::RegisterInterface(pMod); 115 116 // Table ObjectShell 117 ::sd::ui::table::RegisterInterfaces(pMod); 118 |
123 // View shells for the side panes. 124 ::sd::slidesorter::SlideSorterViewShell::RegisterInterface (pMod); | 119 // View shells for the side panes. 120 ::sd::slidesorter::SlideSorterViewShell::RegisterInterface (pMod); |
125} | 121} |