2002-11-01 10:15:51 -06:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 09:02:51 -05:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2002-11-01 10:15:51 -06:00
|
|
|
*
|
2008-04-10 09:02:51 -05:00
|
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
2002-11-01 10:15:51 -06:00
|
|
|
*
|
2008-04-10 09:02:51 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2002-11-01 10:15:51 -06:00
|
|
|
*
|
2008-04-10 09:02:51 -05:00
|
|
|
* $RCSfile: hf_docentry.cxx,v $
|
|
|
|
* $Revision: 1.6 $
|
2002-11-01 10:15:51 -06:00
|
|
|
*
|
2008-04-10 09:02:51 -05:00
|
|
|
* This file is part of OpenOffice.org.
|
2002-11-01 10:15:51 -06:00
|
|
|
*
|
2008-04-10 09:02:51 -05:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2002-11-01 10:15:51 -06:00
|
|
|
*
|
2008-04-10 09:02:51 -05:00
|
|
|
* OpenOffice.org 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 version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2002-11-01 10:15:51 -06:00
|
|
|
*
|
2008-04-10 09:02:51 -05:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2002-11-01 10:15:51 -06:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#include <precomp.h>
|
|
|
|
#include <toolkit/hf_docentry.hxx>
|
|
|
|
|
|
|
|
|
|
|
|
// NOT FULLY DEFINED SERVICES
|
|
|
|
|
|
|
|
|
|
|
|
HF_DocEntryList::HF_DocEntryList( Xml::Element & o_out )
|
|
|
|
: HtmlMaker( o_out >>* new Html::DefList )
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
HF_DocEntryList::~HF_DocEntryList()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
Xml::Element &
|
|
|
|
HF_DocEntryList::Produce_Term(const char * i_sTerm )
|
|
|
|
{
|
|
|
|
Xml::Element &
|
|
|
|
ret = CurOut()
|
|
|
|
>> *new Html::DefListTerm
|
|
|
|
>> *new Html::Bold;
|
|
|
|
if ( NOT csv::no_str(i_sTerm))
|
|
|
|
ret
|
|
|
|
<< i_sTerm;
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
2004-07-12 09:33:13 -05:00
|
|
|
Xml::Element &
|
|
|
|
HF_DocEntryList::Produce_NormalTerm(const char * i_sTerm)
|
|
|
|
{
|
|
|
|
Xml::Element &
|
|
|
|
ret = CurOut()
|
|
|
|
>> *new Html::DefListTerm;
|
|
|
|
if ( NOT csv::no_str(i_sTerm))
|
|
|
|
ret
|
|
|
|
<< i_sTerm;
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
2002-11-01 10:15:51 -06:00
|
|
|
Xml::Element &
|
|
|
|
HF_DocEntryList::Produce_Definition()
|
|
|
|
{
|
|
|
|
return CurOut()
|
|
|
|
>> *new Html::DefListDefinition;
|
|
|
|
}
|