1*766ce4d0SZheng Fan /************************************************************************* 2*766ce4d0SZheng Fan * 3*766ce4d0SZheng Fan * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*766ce4d0SZheng Fan * 5*766ce4d0SZheng Fan * Copyright IBM Corporation 2009. 6*766ce4d0SZheng Fan * Copyright 2009. by Sun Microsystems, Inc. 7*766ce4d0SZheng Fan * 8*766ce4d0SZheng Fan * OpenOffice.org - a multi-platform office productivity suite 9*766ce4d0SZheng Fan * 10*766ce4d0SZheng Fan * $RCSfile: nbdtmgfact.cxx,v $ 11*766ce4d0SZheng Fan * $Revision: 1.00.00.0 $ 12*766ce4d0SZheng Fan * 13*766ce4d0SZheng Fan * This file is part of OpenOffice.org. 14*766ce4d0SZheng Fan * 15*766ce4d0SZheng Fan * OpenOffice.org is free software: you can redistribute it and/or modify 16*766ce4d0SZheng Fan * it under the terms of the GNU Lesser General Public License version 3 17*766ce4d0SZheng Fan * only, as published by the Free Software Foundation. 18*766ce4d0SZheng Fan * 19*766ce4d0SZheng Fan * OpenOffice.org is distributed in the hope that it will be useful, 20*766ce4d0SZheng Fan * but WITHOUT ANY WARRANTY; without even the implied warranty of 21*766ce4d0SZheng Fan * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22*766ce4d0SZheng Fan * GNU Lesser General Public License version 3 for more details 23*766ce4d0SZheng Fan * (a copy is included in the LICENSE file that accompanied this code). 24*766ce4d0SZheng Fan * 25*766ce4d0SZheng Fan * You should have received a copy of the GNU Lesser General Public License 26*766ce4d0SZheng Fan * version 3 along with OpenOffice.org. If not, see 27*766ce4d0SZheng Fan * <http://www.openoffice.org/license.html> 28*766ce4d0SZheng Fan * for a copy of the LGPLv3 License. 29*766ce4d0SZheng Fan * 30*766ce4d0SZheng Fan ************************************************************************/ 31*766ce4d0SZheng Fan 32*766ce4d0SZheng Fan /******************************************************************************** 33*766ce4d0SZheng Fan * 34*766ce4d0SZheng Fan * Tool to Visualize Internal Data Structure for Productive Development 35*766ce4d0SZheng Fan * It is a developer's tool from Lotus Symphony Documents Editor Team 36*766ce4d0SZheng Fan * 37*766ce4d0SZheng Fan * This file implements the base abstract exporter and 2 inherited sub-classes for 38*766ce4d0SZheng Fan * the internal data structure tracer. 39*766ce4d0SZheng Fan * 40*766ce4d0SZheng Fan * Date: 05/25/2009 41*766ce4d0SZheng Fan * 42*766ce4d0SZheng Fan ********************************************************************************/ 43*766ce4d0SZheng Fan 44*766ce4d0SZheng Fan #ifndef _NBDTMGFACT_HXX 45*766ce4d0SZheng Fan #include <svx/nbdtmgfact.hxx> 46*766ce4d0SZheng Fan #endif 47*766ce4d0SZheng Fan namespace svx { namespace sidebar { 48*766ce4d0SZheng Fan NBOutlineTypeMgrFact::NBOutlineTypeMgrFact() 49*766ce4d0SZheng Fan { 50*766ce4d0SZheng Fan } 51*766ce4d0SZheng Fan 52*766ce4d0SZheng Fan NBOTypeMgrBase* NBOutlineTypeMgrFact::CreateInstance(const NBOType aType) 53*766ce4d0SZheng Fan { 54*766ce4d0SZheng Fan //NBOTypeMgrBase* pRet= 0; 55*766ce4d0SZheng Fan if ( aType == eNBOType::BULLETS ) 56*766ce4d0SZheng Fan { 57*766ce4d0SZheng Fan return BulletsTypeMgr::GetInstance(); 58*766ce4d0SZheng Fan }else if ( aType == eNBOType::GRAPHICBULLETS ) 59*766ce4d0SZheng Fan { 60*766ce4d0SZheng Fan return GraphyicBulletsTypeMgr::GetInstance(); 61*766ce4d0SZheng Fan }else if ( aType == eNBOType::MIXBULLETS ) 62*766ce4d0SZheng Fan { 63*766ce4d0SZheng Fan return MixBulletsTypeMgr::GetInstance(); 64*766ce4d0SZheng Fan }else if ( aType == eNBOType::NUMBERING ) 65*766ce4d0SZheng Fan { 66*766ce4d0SZheng Fan return NumberingTypeMgr::GetInstance(); 67*766ce4d0SZheng Fan }else if ( aType == eNBOType::OUTLINE ) 68*766ce4d0SZheng Fan { 69*766ce4d0SZheng Fan return OutlineTypeMgr::GetInstance(); 70*766ce4d0SZheng Fan } 71*766ce4d0SZheng Fan } 72*766ce4d0SZheng Fan }} 73*766ce4d0SZheng Fan 74