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(DISCLOSURE_CLOSED
, disclosure_closed
)
26 BUILTIN_COUNTER_STYLE(DISCLOSURE_OPEN
, disclosure_open
)
27 // the following counter styles require specific algorithms to generate.
28 BUILTIN_COUNTER_STYLE(HEBREW
, hebrew
)
29 BUILTIN_COUNTER_STYLE(JAPANESE_INFORMAL
, japanese_informal
)
30 BUILTIN_COUNTER_STYLE(JAPANESE_FORMAL
, japanese_formal
)
31 BUILTIN_COUNTER_STYLE(KOREAN_HANGUL_FORMAL
, korean_hangul_formal
)
32 BUILTIN_COUNTER_STYLE(KOREAN_HANJA_INFORMAL
, korean_hanja_informal
)
33 BUILTIN_COUNTER_STYLE(KOREAN_HANJA_FORMAL
, korean_hanja_formal
)
34 BUILTIN_COUNTER_STYLE(SIMP_CHINESE_INFORMAL
, simp_chinese_informal
)
35 BUILTIN_COUNTER_STYLE(SIMP_CHINESE_FORMAL
, simp_chinese_formal
)
36 BUILTIN_COUNTER_STYLE(TRAD_CHINESE_INFORMAL
, trad_chinese_informal
)
37 BUILTIN_COUNTER_STYLE(TRAD_CHINESE_FORMAL
, trad_chinese_formal
)
38 BUILTIN_COUNTER_STYLE(ETHIOPIC_NUMERIC
, ethiopic_numeric
)