1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef ADC_DSAPI_TOKINTPR_HXX
21 #define ADC_DSAPI_TOKINTPR_HXX
38 class Tok_XmlLink_BeginTag
;
39 class Tok_XmlLink_EndTag
;
40 class Tok_XmlFormat_BeginTag
;
41 class Tok_XmlFormat_EndTag
;
45 class TokenInterpreter
48 virtual ~TokenInterpreter() {}
50 virtual void Process_AtTag(
51 const Tok_AtTag
& i_rToken
) = 0;
52 virtual void Process_HtmlTag(
53 const Tok_HtmlTag
& i_rToken
) = 0;
54 virtual void Process_XmlConst(
57 virtual void Process_XmlLink_BeginTag(
58 const Tok_XmlLink_BeginTag
&
60 virtual void Process_XmlLink_EndTag(
61 const Tok_XmlLink_EndTag
&
63 virtual void Process_XmlFormat_BeginTag(
64 const Tok_XmlFormat_BeginTag
&
66 virtual void Process_XmlFormat_EndTag(
67 const Tok_XmlFormat_EndTag
&
69 virtual void Process_Word(
70 const Tok_Word
& i_rToken
) = 0;
71 virtual void Process_Comma() = 0;
72 virtual void Process_DocuEnd() = 0;
73 virtual void Process_EOL() = 0;
74 virtual void Process_White() = 0;
87 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */