PAG1Token.h Source File documentation

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

PAG1Token.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is part of the libetonyek project.
4 *
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/.
8 */
9
10 #ifndef PAG1TOKEN_H_INCLUDED
11 #define PAG1TOKEN_H_INCLUDED
12
13 #include <boost/static_assert.hpp>
14
15 #include "IWORKTokenInfo.h"
16
17 namespace libetonyek
18 {
19
20 class IWORKTokenizer;
21
22 namespace PAG1Token
23 {
24
25 enum
26 {
27 INVALID_TOKEN = 0,
28 FIRST_TOKEN = IWORKTokenInfo<PAG1Parser>::first,
29
30 // namespace prefixes
31 sl,
32
33 // elements
34 SLCreationDateProperty,
35 date,
36 document,
37 drawables,
38 header,
39 kSFWPFootnoteGapProperty,
40 kSFWPFootnoteKindProperty,
41 layout,
42 number,
43 page_group,
44 prototype,
45 publication_info,
46 section,
47 section_prototypes,
48 stylesheet,
49
50 // attributes
51 page,
52 rpage,
53 version,
54
55 // attribute values
56 VERSION_STR_4,
57 body,
58 cell,
59 footer,
60 footnote,
61 note,
62 textbox,
63
64 LAST_TOKEN
65 };
66
67 BOOST_STATIC_ASSERT(IWORKTokenInfo<PAG1Parser>::last >= LAST_TOKEN);
68
69 enum Namespace
70 {
71 NS_URI_SL = sl << 16
72 };
73
74 const IWORKTokenizer &getTokenizer();
75
76 }
77
78 }
79
80 #endif // PAG1TOKEN_H_INCLUDED
81
82 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek
Definition: IWORKBezierElement.cpp:18
libetonyek::PAG1Token::layout
Definition: PAG1Token.h:41
libetonyek::PAG1Token::FIRST_TOKEN
Definition: PAG1Token.h:28
libetonyek::PAG1Token::version
Definition: PAG1Token.h:53
libetonyek::PAG1Token::LAST_TOKEN
Definition: PAG1Token.h:64
libetonyek::PAG1Token::NS_URI_SL
Definition: PAG1Token.h:71
libetonyek::IWORKTokenInfo
Definition: IWORKTokenInfo.h:17
libetonyek::PAG1Token::document
Definition: PAG1Token.h:36
libetonyek::PAG1Token::getTokenizer
const IWORKTokenizer & getTokenizer()
Definition: PAG1Token.cpp:58
libetonyek::PAG1Token::cell
Definition: PAG1Token.h:58
libetonyek::PAG1Token::body
Definition: PAG1Token.h:57
libetonyek::PAG1Token::date
Definition: PAG1Token.h:35
libetonyek::PAG1Token::sl
Definition: PAG1Token.h:31
libetonyek::PAG1Token::footnote
Definition: PAG1Token.h:60
libetonyek::PAG1Token::INVALID_TOKEN
Definition: PAG1Token.h:27
libetonyek::PAG1Token::textbox
Definition: PAG1Token.h:62
libetonyek::PAG1Token::SLCreationDateProperty
Definition: PAG1Token.h:34
libetonyek::PAG1Token::stylesheet
Definition: PAG1Token.h:48
libetonyek::PAG1Token::footer
Definition: PAG1Token.h:59
libetonyek::PAG1Token::drawables
Definition: PAG1Token.h:37
libetonyek::PAG1Token::prototype
Definition: PAG1Token.h:44
libetonyek::PAG1Token::header
Definition: PAG1Token.h:38
libetonyek::IWORKTokenizer
Definition: IWORKTokenizer.h:16
libetonyek::PAG1Token::page_group
Definition: PAG1Token.h:43
libetonyek::PAG1Token::VERSION_STR_4
Definition: PAG1Token.h:56
libetonyek::PAG1Token::publication_info
Definition: PAG1Token.h:45
IWORKTokenInfo.h
libetonyek::PAG1Token::note
Definition: PAG1Token.h:61
libetonyek::PAG1Token::page
Definition: PAG1Token.h:51
libetonyek::PAG1Token::BOOST_STATIC_ASSERT
BOOST_STATIC_ASSERT(IWORKTokenInfo< PAG1Parser >::last >=LAST_TOKEN)
libetonyek::PAG1Token::kSFWPFootnoteKindProperty
Definition: PAG1Token.h:40
libetonyek::PAG1Token::Namespace
Namespace
Definition: PAG1Token.h:69
libetonyek::PAG1Token::number
Definition: PAG1Token.h:42
libetonyek::PAG1Token::rpage
Definition: PAG1Token.h:52
libetonyek::PAG1Token::kSFWPFootnoteGapProperty
Definition: PAG1Token.h:39
libetonyek::PAG1Token::section
Definition: PAG1Token.h:46
libetonyek::PAG1Token::section_prototypes
Definition: PAG1Token.h:47