update dev300-m58
[ooovba.git] / autodoc / source / ary / info / all_dts.cxx
blob9a796154f089c6fd5bd3c5930219c056fe229e71
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: all_dts.cxx,v $
10 * $Revision: 1.5 $
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/info/all_dts.hxx>
35 // NOT FULLY DEFINED SERVICES
36 #include <ary/info/infodisp.hxx>
39 namespace ary
41 namespace info
45 void
46 DT_Text::do_StoreAt( DocuDisplay & o_rDisplay ) const
48 o_rDisplay.Display_DT_Text(*this);
51 bool
52 DT_Text::inq_IsWhite() const
54 return false;
57 void
58 DT_MaybeLink::do_StoreAt( DocuDisplay & o_rDisplay ) const
60 o_rDisplay.Display_DT_MaybeLink(*this);
63 bool
64 DT_MaybeLink::inq_IsWhite() const
66 return false;
69 void
70 DT_Whitespace::do_StoreAt( DocuDisplay & o_rDisplay ) const
72 o_rDisplay.Display_DT_Whitespace(*this);
75 bool
76 DT_Whitespace::inq_IsWhite() const
78 return true;
81 void
82 DT_Eol::do_StoreAt( DocuDisplay & o_rDisplay ) const
84 o_rDisplay.Display_DT_Eol(*this);
87 bool
88 DT_Eol::inq_IsWhite() const
90 return true;
93 void
94 DT_Xml::do_StoreAt( DocuDisplay & o_rDisplay ) const
96 o_rDisplay.Display_DT_Xml(*this);
99 bool
100 DT_Xml::inq_IsWhite() const
102 return false;
106 } // namespace info
107 } // namespace ary