editor/txtsvc/src/nsTSAtomList.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/txtsvc/src/nsTSAtomList.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,51 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +/******
     1.9 +
    1.10 +  This file contains the list of all text services nsIAtoms and their values
    1.11 +  
    1.12 +  It is designed to be used as inline input to nsTextServicesDocument.cpp *only*
    1.13 +  through the magic of C preprocessing.
    1.14 +
    1.15 +  All entries must be enclosed in the macro TS_ATOM which will have cruel
    1.16 +  and unusual things done to it
    1.17 +
    1.18 +  It is recommended (but not strictly necessary) to keep all entries
    1.19 +  in alphabetical order
    1.20 +
    1.21 +  The first argument to TS_ATOM is the C++ identifier of the atom
    1.22 +  The second argument is the string value of the atom
    1.23 +
    1.24 + ******/
    1.25 +
    1.26 +// OUTPUT_CLASS=nsTextServicesDocument
    1.27 +// MACRO_NAME=TS_ATOM
    1.28 +
    1.29 +TS_ATOM(sAAtom, "a")
    1.30 +TS_ATOM(sAddressAtom, "address")
    1.31 +TS_ATOM(sBigAtom, "big")
    1.32 +TS_ATOM(sBAtom, "b")
    1.33 +TS_ATOM(sCiteAtom, "cite")
    1.34 +TS_ATOM(sCodeAtom, "code")
    1.35 +TS_ATOM(sDfnAtom, "dfn")
    1.36 +TS_ATOM(sEmAtom, "em")
    1.37 +TS_ATOM(sFontAtom, "font")
    1.38 +TS_ATOM(sIAtom, "i")
    1.39 +TS_ATOM(sKbdAtom, "kbd")
    1.40 +TS_ATOM(sKeygenAtom, "keygen")
    1.41 +TS_ATOM(sNobrAtom, "nobr")
    1.42 +TS_ATOM(sSAtom, "s")
    1.43 +TS_ATOM(sSampAtom, "samp")
    1.44 +TS_ATOM(sSmallAtom, "small")
    1.45 +TS_ATOM(sSpacerAtom, "spacer")
    1.46 +TS_ATOM(sSpanAtom, "span")
    1.47 +TS_ATOM(sStrikeAtom, "strike")
    1.48 +TS_ATOM(sStrongAtom, "strong")
    1.49 +TS_ATOM(sSubAtom, "sub")
    1.50 +TS_ATOM(sSupAtom, "sup")
    1.51 +TS_ATOM(sTtAtom, "tt")
    1.52 +TS_ATOM(sUAtom, "u")
    1.53 +TS_ATOM(sVarAtom, "var")
    1.54 +TS_ATOM(sWbrAtom, "wbr")

mercurial