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 #ifndef ADC_DSAPI_TOKINTPR_HXX
29 #define ADC_DSAPI_TOKINTPR_HXX
30 
31 
32 
33 // USED SERVICES
34 	// BASE CLASSES
35 	// COMPONENTS
36 	// PARAMETERS
37 
38 namespace csi
39 {
40 namespace dsapi
41 {
42 
43 
44 class Tok_AtTag;
45 class Tok_XmlConst;
46 class Tok_XmlLink_BeginTag;
47 class Tok_XmlLink_EndTag;
48 class Tok_XmlFormat_BeginTag;
49 class Tok_XmlFormat_EndTag;
50 class Tok_Word;
51 class Tok_HtmlTag;
52 
53 class TokenInterpreter
54 {
55   public:
56 	virtual				~TokenInterpreter() {}
57 
58 	virtual void		Process_AtTag(
59 							const Tok_AtTag &	i_rToken ) = 0;
60 	virtual void		Process_HtmlTag(
61 							const Tok_HtmlTag &	i_rToken ) = 0;
62 	virtual void		Process_XmlConst(
63 							const Tok_XmlConst &
64 												i_rToken ) = 0;
65 	virtual void		Process_XmlLink_BeginTag(
66 							const Tok_XmlLink_BeginTag &
67 												i_rToken ) = 0;
68 	virtual void		Process_XmlLink_EndTag(
69 							const Tok_XmlLink_EndTag &
70 												i_rToken ) = 0;
71 	virtual void		Process_XmlFormat_BeginTag(
72 							const Tok_XmlFormat_BeginTag &
73 												i_rToken ) = 0;
74 	virtual void		Process_XmlFormat_EndTag(
75 							const Tok_XmlFormat_EndTag &
76 												i_rToken ) = 0;
77 	virtual void		Process_Word(
78 							const Tok_Word &	i_rToken ) = 0;
79 	virtual void		Process_Comma() = 0;
80 	virtual void		Process_DocuEnd() = 0;
81 	virtual void		Process_EOL() = 0;
82 	virtual void		Process_White() = 0;
83 };
84 
85 
86 
87 // IMPLEMENTATION
88 
89 
90 }   // namespace dsapi
91 }   // namespace csi
92 
93 #endif
94 
95