1*1ff378efSZheng Fan /************************************************************** 2766ce4d0SZheng Fan * 3*1ff378efSZheng Fan * Licensed to the Apache Software Foundation (ASF) under one 4*1ff378efSZheng Fan * or more contributor license agreements. See the NOTICE file 5*1ff378efSZheng Fan * distributed with this work for additional information 6*1ff378efSZheng Fan * regarding copyright ownership. The ASF licenses this file 7*1ff378efSZheng Fan * to you under the Apache License, Version 2.0 (the 8*1ff378efSZheng Fan * "License"); you may not use this file except in compliance 9*1ff378efSZheng Fan * with the License. You may obtain a copy of the License at 10766ce4d0SZheng Fan * 11*1ff378efSZheng Fan * http://www.apache.org/licenses/LICENSE-2.0 12766ce4d0SZheng Fan * 13*1ff378efSZheng Fan * Unless required by applicable law or agreed to in writing, 14*1ff378efSZheng Fan * software distributed under the License is distributed on an 15*1ff378efSZheng Fan * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*1ff378efSZheng Fan * KIND, either express or implied. See the License for the 17*1ff378efSZheng Fan * specific language governing permissions and limitations 18*1ff378efSZheng Fan * under the License. 19766ce4d0SZheng Fan * 20*1ff378efSZheng 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 } 49766ce4d0SZheng Fan } 50766ce4d0SZheng Fan }} 51766ce4d0SZheng Fan 52