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 DSAPI_TK_DOCW2_HXX
21 #define DSAPI_TK_DOCW2_HXX
25 #include <s2_dsapi/dsapitok.hxx>
35 class Tok_Word
: public Token
40 const char * i_sText
)
44 TokenInterpreter
& io_rInterpreter
) const;
46 virtual const char* Text() const;
53 class Tok_Comma
: public Token
58 TokenInterpreter
& io_rInterpreter
) const;
60 virtual const char* Text() const;
63 class Tok_DocuEnd
: public Token
69 TokenInterpreter
& io_rInterpreter
) const;
71 virtual const char* Text() const;
74 class Tok_EOL
: public Token
80 TokenInterpreter
& io_rInterpreter
) const;
82 virtual const char* Text() const;
85 class Tok_EOF
: public Token
91 TokenInterpreter
& io_rInterpreter
) const;
93 virtual const char* Text() const;
96 class Tok_White
: public Token
100 virtual void Trigger(
101 TokenInterpreter
& io_rInterpreter
) const;
103 virtual const char* Text() const;
114 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */