xref: /aoo41x/main/autodoc/source/ary/info/all_dts.cxx (revision cdf0e10c)
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/info/all_dts.hxx>
30 
31 
32 // NOT FULLY DEFINED SERVICES
33 #include <ary/info/infodisp.hxx>
34 
35 
36 namespace ary
37 {
38 namespace info
39 {
40 
41 
42 void
43 DT_Text::do_StoreAt( DocuDisplay & o_rDisplay ) const
44 {
45     o_rDisplay.Display_DT_Text(*this);
46 }
47 
48 bool
49 DT_Text::inq_IsWhite() const
50 {
51  	return false;
52 }
53 
54 void
55 DT_MaybeLink::do_StoreAt( DocuDisplay & o_rDisplay ) const
56 {
57     o_rDisplay.Display_DT_MaybeLink(*this);
58 }
59 
60 bool
61 DT_MaybeLink::inq_IsWhite() const
62 {
63  	return false;
64 }
65 
66 void
67 DT_Whitespace::do_StoreAt( DocuDisplay & o_rDisplay ) const
68 {
69     o_rDisplay.Display_DT_Whitespace(*this);
70 }
71 
72 bool
73 DT_Whitespace::inq_IsWhite() const
74 {
75  	return true;
76 }
77 
78 void
79 DT_Eol::do_StoreAt( DocuDisplay & o_rDisplay ) const
80 {
81     o_rDisplay.Display_DT_Eol(*this);
82 }
83 
84 bool
85 DT_Eol::inq_IsWhite() const
86 {
87  	return true;
88 }
89 
90 void
91 DT_Xml::do_StoreAt( DocuDisplay & o_rDisplay ) const
92 {
93     o_rDisplay.Display_DT_Xml(*this);
94 }
95 
96 bool
97 DT_Xml::inq_IsWhite() const
98 {
99  	return false;
100 }
101 
102 
103 }   // namespace info
104 }   // namespace ary
105 
106