1 /************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28 #include <precomp.h> 29 #include <ary_i/d_token.hxx> 30 31 32 // NOT FULLY DEFINED SERVICES 33 #include <ary_i/disdocum.hxx> 34 35 36 37 38 namespace csi 39 { 40 namespace dsapi 41 { 42 43 bool 44 DT_Dsapi::IsWhiteOnly() const 45 { 46 return false; 47 } 48 49 DT_TextToken::~DT_TextToken() 50 { 51 } 52 53 void 54 DT_TextToken::DisplayAt( DocumentationDisplay & o_rDisplay ) const 55 { 56 o_rDisplay.Display_TextToken( *this ); 57 } 58 59 bool 60 DT_TextToken::IsWhiteOnly() const 61 { 62 for ( const char * it = sText.c_str(); 63 static_cast<UINT8>(*it) > 32; 64 ++it ) 65 { 66 return false; 67 } 68 return true; 69 } 70 71 DT_White::~DT_White() 72 { 73 } 74 75 void 76 DT_White::DisplayAt( DocumentationDisplay & o_rDisplay ) const 77 { 78 o_rDisplay.Display_White(); 79 } 80 81 bool 82 DT_White::IsWhiteOnly() const 83 { 84 return true; 85 } 86 87 DT_MupType::~DT_MupType() 88 { 89 } 90 91 void 92 DT_MupType::DisplayAt( DocumentationDisplay & o_rDisplay ) const 93 { 94 o_rDisplay.Display_MupType( *this ); 95 } 96 97 DT_MupMember::~DT_MupMember() 98 { 99 } 100 101 void 102 DT_MupMember::DisplayAt( DocumentationDisplay & o_rDisplay ) const 103 { 104 o_rDisplay.Display_MupMember( *this ); 105 } 106 107 DT_MupConst::~DT_MupConst() 108 { 109 } 110 111 void 112 DT_MupConst::DisplayAt( DocumentationDisplay & o_rDisplay ) const 113 { 114 o_rDisplay.Display_MupConst( *this ); 115 } 116 117 DT_Style::~DT_Style() 118 { 119 } 120 121 void 122 DT_Style::DisplayAt( DocumentationDisplay & o_rDisplay ) const 123 { 124 o_rDisplay.Display_Style( *this ); 125 } 126 127 DT_EOL::~DT_EOL() 128 { 129 } 130 131 void 132 DT_EOL::DisplayAt( DocumentationDisplay & o_rDisplay ) const 133 { 134 o_rDisplay.Display_EOL(); 135 } 136 137 bool 138 DT_EOL::IsWhiteOnly() const 139 { 140 return true; 141 } 142 143 DT_StdAtTag::~DT_StdAtTag() 144 { 145 } 146 147 void 148 DT_StdAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const 149 { 150 o_rDisplay.Display_StdAtTag( *this ); 151 } 152 153 DT_SeeAlsoAtTag::~DT_SeeAlsoAtTag() 154 { 155 } 156 157 void 158 DT_SeeAlsoAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const 159 { 160 o_rDisplay.Display_SeeAlsoAtTag( *this ); 161 } 162 163 DT_ParameterAtTag::~DT_ParameterAtTag() 164 { 165 } 166 167 void 168 DT_ParameterAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const 169 { 170 o_rDisplay.Display_ParameterAtTag( *this ); 171 } 172 173 DT_SinceAtTag::~DT_SinceAtTag() 174 { 175 } 176 177 void 178 DT_SinceAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const 179 { 180 o_rDisplay.Display_SinceAtTag( *this ); 181 } 182 183 184 185 186 } // namespace dsapi 187 } // namespace csi 188