/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: d_token.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: vg $ $Date: 2007-09-18 13:49:36 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. * * * GNU Lesser General Public License Version 2.1 * ============================================= * Copyright 2005 by Sun Microsystems, Inc. * 901 San Antonio Road, Palo Alto, CA 94303, USA * * 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. * * 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. * * 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 * ************************************************************************/ #include #include // NOT FULLY DEFINED SERVICES #include namespace csi { namespace dsapi { bool DT_Dsapi::IsWhiteOnly() const { return false; } DT_TextToken::~DT_TextToken() { } void DT_TextToken::DisplayAt( DocumentationDisplay & o_rDisplay ) const { o_rDisplay.Display_TextToken( *this ); } bool DT_TextToken::IsWhiteOnly() const { for ( const char * it = sText.c_str(); static_cast(*it) > 32; ++it ) { return false; } return true; } DT_White::~DT_White() { } void DT_White::DisplayAt( DocumentationDisplay & o_rDisplay ) const { o_rDisplay.Display_White(); } bool DT_White::IsWhiteOnly() const { return true; } DT_MupType::~DT_MupType() { } void DT_MupType::DisplayAt( DocumentationDisplay & o_rDisplay ) const { o_rDisplay.Display_MupType( *this ); } DT_MupMember::~DT_MupMember() { } void DT_MupMember::DisplayAt( DocumentationDisplay & o_rDisplay ) const { o_rDisplay.Display_MupMember( *this ); } DT_MupConst::~DT_MupConst() { } void DT_MupConst::DisplayAt( DocumentationDisplay & o_rDisplay ) const { o_rDisplay.Display_MupConst( *this ); } DT_Style::~DT_Style() { } void DT_Style::DisplayAt( DocumentationDisplay & o_rDisplay ) const { o_rDisplay.Display_Style( *this ); } DT_EOL::~DT_EOL() { } void DT_EOL::DisplayAt( DocumentationDisplay & o_rDisplay ) const { o_rDisplay.Display_EOL(); } bool DT_EOL::IsWhiteOnly() const { return true; } DT_StdAtTag::~DT_StdAtTag() { } void DT_StdAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const { o_rDisplay.Display_StdAtTag( *this ); } DT_SeeAlsoAtTag::~DT_SeeAlsoAtTag() { } void DT_SeeAlsoAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const { o_rDisplay.Display_SeeAlsoAtTag( *this ); } DT_ParameterAtTag::~DT_ParameterAtTag() { } void DT_ParameterAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const { o_rDisplay.Display_ParameterAtTag( *this ); } DT_SinceAtTag::~DT_SinceAtTag() { } void DT_SinceAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const { o_rDisplay.Display_SinceAtTag( *this ); } } // namespace dsapi } // namespace csi