2002-03-08 07:45:36 -06:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2005-09-07 11:58:58 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2005-09-07 11:58:58 -05:00
|
|
|
* $RCSfile: displfct.cxx,v $
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2006-09-16 10:51:31 -05:00
|
|
|
* $Revision: 1.5 $
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2006-09-16 10:51:31 -05:00
|
|
|
* last change: $Author: obo $ $Date: 2006-09-16 16:51:31 $
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2005-09-07 11:58:58 -05:00
|
|
|
* The Contents of this file are made available subject to
|
|
|
|
* the terms of GNU Lesser General Public License Version 2.1.
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
|
|
|
*
|
2005-09-07 11:58:58 -05:00
|
|
|
* GNU Lesser General Public License Version 2.1
|
|
|
|
* =============================================
|
|
|
|
* Copyright 2005 by Sun Microsystems, Inc.
|
|
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2005-09-07 11:58:58 -05:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License version 2.1, as published by the Free Software Foundation.
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2005-09-07 11:58:58 -05:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2005-09-07 11:58:58 -05:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
* MA 02111-1307 USA
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
2006-09-16 10:51:31 -05:00
|
|
|
// MARKER(update_precomp.py): autogen include statement, do not remove
|
|
|
|
#include "precompiled_autodoc.hxx"
|
|
|
|
|
2002-03-08 07:45:36 -06:00
|
|
|
#include <precomp.h>
|
|
|
|
#include "displfct.hxx"
|
|
|
|
|
|
|
|
|
|
|
|
// NOT FULLY DECLARED SERVICES
|
|
|
|
#include <html/chd_udk2.hxx>
|
2002-11-01 10:15:51 -06:00
|
|
|
#include <idl/hi_display.hxx>
|
|
|
|
#include <cfrstd.hxx>
|
2002-03-08 07:45:36 -06:00
|
|
|
|
|
|
|
|
|
|
|
DYN DisplayToolsFactory * DisplayToolsFactory::dpTheInstance_ = 0;
|
|
|
|
|
|
|
|
|
|
|
|
namespace autodoc
|
|
|
|
{
|
|
|
|
|
|
|
|
DisplayToolsFactory_Ifc &
|
|
|
|
DisplayToolsFactory_Ifc::GetIt_()
|
|
|
|
{
|
|
|
|
if ( DisplayToolsFactory::dpTheInstance_ == 0 )
|
|
|
|
DisplayToolsFactory::dpTheInstance_ = new DisplayToolsFactory;
|
|
|
|
return *DisplayToolsFactory::dpTheInstance_;
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace autodoc
|
|
|
|
|
|
|
|
|
|
|
|
DisplayToolsFactory::DisplayToolsFactory()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
DisplayToolsFactory::~DisplayToolsFactory()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2002-05-14 03:02:21 -05:00
|
|
|
// DYN autodoc::TextDisplay_FunctionList_Ifc *
|
|
|
|
// DisplayToolsFactory::Create_TextDisplay_FunctionList() const
|
|
|
|
// {
|
|
|
|
// return new CppTextDisplay_FunctionList;
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
2002-03-08 07:45:36 -06:00
|
|
|
DYN autodoc::HtmlDisplay_UdkStd *
|
|
|
|
DisplayToolsFactory::Create_HtmlDisplay_UdkStd() const
|
|
|
|
{
|
|
|
|
return new CppHtmlDisplay_Udk2;
|
|
|
|
}
|
|
|
|
|
2002-05-14 03:02:21 -05:00
|
|
|
DYN autodoc::HtmlDisplay_Idl_Ifc *
|
|
|
|
DisplayToolsFactory::Create_HtmlDisplay_Idl() const
|
|
|
|
{
|
2002-11-01 10:15:51 -06:00
|
|
|
return new HtmlDisplay_Idl;
|
2002-05-14 03:02:21 -05:00
|
|
|
}
|
2002-03-08 07:45:36 -06:00
|
|
|
|
|
|
|
const display::CorporateFrame &
|
|
|
|
DisplayToolsFactory::Create_StdFrame() const
|
|
|
|
{
|
|
|
|
static StdFrame aFrame;
|
|
|
|
return aFrame;
|
|
|
|
}
|
|
|
|
|
|
|
|
|