Update ooo320-m1
[ooovba.git] / autodoc / source / ary_i / kernel / d_token.cxx
blobf1efc3e9b5ec6f07b6a5eaff551b384037a7b6b8
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: d_token.cxx,v $
10 * $Revision: 1.7 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #include <precomp.h>
32 #include <ary_i/d_token.hxx>
35 // NOT FULLY DEFINED SERVICES
36 #include <ary_i/disdocum.hxx>
41 namespace csi
43 namespace dsapi
46 bool
47 DT_Dsapi::IsWhiteOnly() const
49 return false;
52 DT_TextToken::~DT_TextToken()
56 void
57 DT_TextToken::DisplayAt( DocumentationDisplay & o_rDisplay ) const
59 o_rDisplay.Display_TextToken( *this );
62 bool
63 DT_TextToken::IsWhiteOnly() const
65 for ( const char * it = sText.c_str();
66 static_cast<UINT8>(*it) > 32;
67 ++it )
69 return false;
71 return true;
74 DT_White::~DT_White()
78 void
79 DT_White::DisplayAt( DocumentationDisplay & o_rDisplay ) const
81 o_rDisplay.Display_White();
84 bool
85 DT_White::IsWhiteOnly() const
87 return true;
90 DT_MupType::~DT_MupType()
94 void
95 DT_MupType::DisplayAt( DocumentationDisplay & o_rDisplay ) const
97 o_rDisplay.Display_MupType( *this );
100 DT_MupMember::~DT_MupMember()
104 void
105 DT_MupMember::DisplayAt( DocumentationDisplay & o_rDisplay ) const
107 o_rDisplay.Display_MupMember( *this );
110 DT_MupConst::~DT_MupConst()
114 void
115 DT_MupConst::DisplayAt( DocumentationDisplay & o_rDisplay ) const
117 o_rDisplay.Display_MupConst( *this );
120 DT_Style::~DT_Style()
124 void
125 DT_Style::DisplayAt( DocumentationDisplay & o_rDisplay ) const
127 o_rDisplay.Display_Style( *this );
130 DT_EOL::~DT_EOL()
134 void
135 DT_EOL::DisplayAt( DocumentationDisplay & o_rDisplay ) const
137 o_rDisplay.Display_EOL();
140 bool
141 DT_EOL::IsWhiteOnly() const
143 return true;
146 DT_StdAtTag::~DT_StdAtTag()
150 void
151 DT_StdAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const
153 o_rDisplay.Display_StdAtTag( *this );
156 DT_SeeAlsoAtTag::~DT_SeeAlsoAtTag()
160 void
161 DT_SeeAlsoAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const
163 o_rDisplay.Display_SeeAlsoAtTag( *this );
166 DT_ParameterAtTag::~DT_ParameterAtTag()
170 void
171 DT_ParameterAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const
173 o_rDisplay.Display_ParameterAtTag( *this );
176 DT_SinceAtTag::~DT_SinceAtTag()
180 void
181 DT_SinceAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const
183 o_rDisplay.Display_SinceAtTag( *this );
189 } // namespace dsapi
190 } // namespace csi