11ff378efSZheng Fan /************************************************************** 2766ce4d0SZheng Fan * 31ff378efSZheng Fan * Licensed to the Apache Software Foundation (ASF) under one 41ff378efSZheng Fan * or more contributor license agreements. See the NOTICE file 51ff378efSZheng Fan * distributed with this work for additional information 61ff378efSZheng Fan * regarding copyright ownership. The ASF licenses this file 71ff378efSZheng Fan * to you under the Apache License, Version 2.0 (the 81ff378efSZheng Fan * "License"); you may not use this file except in compliance 91ff378efSZheng Fan * with the License. You may obtain a copy of the License at 10766ce4d0SZheng Fan * 111ff378efSZheng Fan * http://www.apache.org/licenses/LICENSE-2.0 12766ce4d0SZheng Fan * 131ff378efSZheng Fan * Unless required by applicable law or agreed to in writing, 141ff378efSZheng Fan * software distributed under the License is distributed on an 151ff378efSZheng Fan * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 161ff378efSZheng Fan * KIND, either express or implied. See the License for the 171ff378efSZheng Fan * specific language governing permissions and limitations 181ff378efSZheng Fan * under the License. 19766ce4d0SZheng Fan * 201ff378efSZheng Fan *************************************************************/ 21766ce4d0SZheng Fan 22766ce4d0SZheng Fan #ifndef _NBDTMGFACT_HXX 23766ce4d0SZheng Fan #include <svx/nbdtmgfact.hxx> 24766ce4d0SZheng Fan #endif 25766ce4d0SZheng Fan namespace svx { namespace sidebar { 26766ce4d0SZheng Fan NBOutlineTypeMgrFact::NBOutlineTypeMgrFact() 27766ce4d0SZheng Fan { 28766ce4d0SZheng Fan } 29766ce4d0SZheng Fan 30766ce4d0SZheng Fan NBOTypeMgrBase* NBOutlineTypeMgrFact::CreateInstance(const NBOType aType) 31766ce4d0SZheng Fan { 32766ce4d0SZheng Fan //NBOTypeMgrBase* pRet= 0; 33766ce4d0SZheng Fan if ( aType == eNBOType::BULLETS ) 34766ce4d0SZheng Fan { 35766ce4d0SZheng Fan return BulletsTypeMgr::GetInstance(); 36766ce4d0SZheng Fan }else if ( aType == eNBOType::GRAPHICBULLETS ) 37766ce4d0SZheng Fan { 38766ce4d0SZheng Fan return GraphyicBulletsTypeMgr::GetInstance(); 39766ce4d0SZheng Fan }else if ( aType == eNBOType::MIXBULLETS ) 40766ce4d0SZheng Fan { 41766ce4d0SZheng Fan return MixBulletsTypeMgr::GetInstance(); 42766ce4d0SZheng Fan }else if ( aType == eNBOType::NUMBERING ) 43766ce4d0SZheng Fan { 44766ce4d0SZheng Fan return NumberingTypeMgr::GetInstance(); 45766ce4d0SZheng Fan }else if ( aType == eNBOType::OUTLINE ) 46766ce4d0SZheng Fan { 47766ce4d0SZheng Fan return OutlineTypeMgr::GetInstance(); 48766ce4d0SZheng Fan } 49*d51d93c2SPavel Janík 50*d51d93c2SPavel Janík return NULL; 51766ce4d0SZheng Fan } 52766ce4d0SZheng Fan }} 53766ce4d0SZheng Fan 54