summaryrefslogtreecommitdiff
path: root/tools/quickbook/src/doc_info_tags.hpp
blob: 2f20c4a079e95590d5a1e76e8d43798922df3ef9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*=============================================================================
    Copyright (c) 2011 Daniel James

    Use, modification and distribution is subject to the Boost Software
    License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
    http://www.boost.org/LICENSE_1_0.txt)
=============================================================================*/

#if !defined(BOOST_SPIRIT_QUICKBOOK_DOC_INFO_TAGS_HPP)
#define BOOST_SPIRIT_QUICKBOOK_DOC_INFO_TAGS_HPP

#include "value_tags.hpp"

namespace quickbook
{
    // clang-format off

    QUICKBOOK_VALUE_TAGS(doc_info_tags, 0x400,
        (before_docinfo)
        (type)
        (title)
        (author_surname)(author_first)
        (copyright_year)(copyright_year_end)(copyright_name)
        (license)
        (biblioid_class)(biblioid_value)
        (escaped_attribute)
    )

    QUICKBOOK_VALUE_NAMED_TAGS(doc_attributes, 0x440,
        ((qbk_version)("quickbook"))
        ((compatibility_mode)("compatibility-mode"))
        ((source_mode)("source-mode"))
    )

    QUICKBOOK_VALUE_NAMED_TAGS(doc_info_attributes, 0x450,
        ((id)("id"))
        ((dirname)("dirname"))
        ((last_revision)("last-revision"))
        ((purpose)("purpose"))
        ((category)("category"))
        ((lang)("lang"))
        ((version)("version"))
        ((authors)("authors"))
        ((copyright)("copyright"))
        ((license)("license"))
        ((biblioid)("biblioid"))
        ((xmlbase)("xmlbase"))
    )

    // clang-format on
}

#endif