1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 /* a list of all builtin counter styles */
9 /* Each entry is defined as a BUILTIN_COUNTER_STYLE macro with the
10 * following parameters:
11 * - 'value_' which is final part of name of NS_STYLE_LIST_STYLE_* macros
12 * - 'atom_' which is the corresponding atom in nsGkAtoms table
14 * Users of this list should define the following macro before including
15 * this file: BUILTIN_COUNTER_STYLE(value_, atom_)
18 // none and decimal are not redefinable, so they have to be builtin.
19 BUILTIN_COUNTER_STYLE(None
, none
)
20 BUILTIN_COUNTER_STYLE(Decimal
, decimal
)
21 // the following graphic styles are processed in a different way.
22 BUILTIN_COUNTER_STYLE(Disc
, disc
)
23 BUILTIN_COUNTER_STYLE(Circle
, circle
)
24 BUILTIN_COUNTER_STYLE(Square
, square
)
25 BUILTIN_COUNTER_STYLE(DisclosureClosed
, disclosure_closed
)
26 BUILTIN_COUNTER_STYLE(DisclosureOpen
, disclosure_open
)
27 // the following counter styles require specific algorithms to generate.
28 BUILTIN_COUNTER_STYLE(Hebrew
, hebrew
)
29 BUILTIN_COUNTER_STYLE(JapaneseInformal
, japanese_informal
)
30 BUILTIN_COUNTER_STYLE(JapaneseFormal
, japanese_formal
)
31 BUILTIN_COUNTER_STYLE(KoreanHangulFormal
, korean_hangul_formal
)
32 BUILTIN_COUNTER_STYLE(KoreanHanjaInformal
, korean_hanja_informal
)
33 BUILTIN_COUNTER_STYLE(KoreanHanjaFormal
, korean_hanja_formal
)
34 BUILTIN_COUNTER_STYLE(SimpChineseInformal
, simp_chinese_informal
)
35 BUILTIN_COUNTER_STYLE(SimpChineseFormal
, simp_chinese_formal
)
36 BUILTIN_COUNTER_STYLE(TradChineseInformal
, trad_chinese_informal
)
37 BUILTIN_COUNTER_STYLE(TradChineseFormal
, trad_chinese_formal
)
38 BUILTIN_COUNTER_STYLE(EthiopicNumeric
, ethiopic_numeric
)