Update ooo320-m1
[ooovba.git] / autodoc / source / parser_i / inc / s2_dsapi / tk_docw2.hxx
blob21add5e2da5f096c8277bd19f98702dde9c55d11
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: tk_docw2.hxx,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 #ifndef DSAPI_TK_DOCW2_HXX
32 #define DSAPI_TK_DOCW2_HXX
34 // USED SERVICES
35 // BASE CLASSES
36 #include <s2_dsapi/dsapitok.hxx>
37 // COMPONENTS
38 // PARAMETERS
40 namespace csi
42 namespace dsapi
46 class Tok_Word : public Token
48 public:
49 // Spring and Fall
50 Tok_Word(
51 const char * i_sText )
52 : sText(i_sText) {}
53 // OPERATIONS
54 virtual void Trigger(
55 TokenInterpreter & io_rInterpreter ) const;
56 // INQUIRY
57 virtual const char* Text() const;
59 private:
60 // DATA
61 String sText;
64 class Tok_Comma : public Token
66 public:
67 // OPERATIONS
68 virtual void Trigger(
69 TokenInterpreter & io_rInterpreter ) const;
70 // INQUIRY
71 virtual const char* Text() const;
74 class Tok_DocuEnd : public Token
76 public:
77 // Spring and Fall
78 // OPERATIONS
79 virtual void Trigger(
80 TokenInterpreter & io_rInterpreter ) const;
81 // INQUIRY
82 virtual const char* Text() const;
85 class Tok_EOL : public Token
87 public:
88 // Spring and Fall
89 // OPERATIONS
90 virtual void Trigger(
91 TokenInterpreter & io_rInterpreter ) const;
92 // INQUIRY
93 virtual const char* Text() const;
96 class Tok_EOF : public Token
98 public:
99 // Spring and Fall
100 // OPERATIONS
101 virtual void Trigger(
102 TokenInterpreter & io_rInterpreter ) const;
103 // INQUIRY
104 virtual const char* Text() const;
107 class Tok_White : public Token
109 public:
110 // OPERATIONS
111 virtual void Trigger(
112 TokenInterpreter & io_rInterpreter ) const;
113 // INQUIRY
114 virtual const char* Text() const;
119 } // namespace dsapi
120 } // namespace csi
123 #endif