editor/libeditor/base/nsEditPropertyAtomList.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/libeditor/base/nsEditPropertyAtomList.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,159 @@
     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 +// IWYU pragma: private, include "nsEditProperty.h"
     1.9 +
    1.10 +/******
    1.11 +
    1.12 +  This file contains the list of all editor nsIAtoms and their values
    1.13 +
    1.14 +  It is designed to be used as inline input to nsEditProperty.cpp *only*
    1.15 +  through the magic of C preprocessing.
    1.16 +
    1.17 +  All entries must be enclosed in the macro EDITOR_ATOM which will have cruel
    1.18 +  and unusual things done to it
    1.19 +
    1.20 +  It is recommended (but not strictly necessary) to keep all entries
    1.21 +  in alphabetical order
    1.22 +
    1.23 +  The first argument to EDITOR_ATOM is the C++ identifier of the atom
    1.24 +  The second argument is the string value of the atom
    1.25 +
    1.26 + ******/
    1.27 +
    1.28 +EDITOR_ATOM(a, "a")
    1.29 +EDITOR_ATOM(abbr, "abbr")
    1.30 +EDITOR_ATOM(acronym, "acronym")
    1.31 +EDITOR_ATOM(address, "address")
    1.32 +EDITOR_ATOM(article, "article")
    1.33 +EDITOR_ATOM(aside, "aside")
    1.34 +EDITOR_ATOM(b, "b")
    1.35 +EDITOR_ATOM(bdo, "bdo")
    1.36 +EDITOR_ATOM(big, "big")
    1.37 +EDITOR_ATOM(blockquote, "blockquote")
    1.38 +EDITOR_ATOM(body, "body")
    1.39 +EDITOR_ATOM(br, "br")
    1.40 +EDITOR_ATOM(button, "button")
    1.41 +EDITOR_ATOM(caption, "caption")
    1.42 +EDITOR_ATOM(center, "center")
    1.43 +EDITOR_ATOM(cite, "cite")
    1.44 +EDITOR_ATOM(code, "code")
    1.45 +EDITOR_ATOM(col, "col")
    1.46 +EDITOR_ATOM(colgroup, "colgroup")
    1.47 +EDITOR_ATOM(color, "color")
    1.48 +EDITOR_ATOM(cssBackgroundColor, "background-color")
    1.49 +EDITOR_ATOM(cssBackgroundImage, "background-image")
    1.50 +EDITOR_ATOM(cssBorder, "border")
    1.51 +EDITOR_ATOM(cssBottom, "bottom")
    1.52 +EDITOR_ATOM(cssCaptionSide, "caption-side")
    1.53 +EDITOR_ATOM(cssCmUnit, "cm")
    1.54 +EDITOR_ATOM(cssColor, "color")
    1.55 +EDITOR_ATOM(cssDirection, "direction")
    1.56 +EDITOR_ATOM(cssEmUnit, "em")
    1.57 +EDITOR_ATOM(cssExUnit, "ex")
    1.58 +EDITOR_ATOM(cssFloat, "float")
    1.59 +EDITOR_ATOM(cssFontFamily, "font-family")
    1.60 +EDITOR_ATOM(cssFontSize, "font-size")
    1.61 +EDITOR_ATOM(cssFontStyle, "font-style")
    1.62 +EDITOR_ATOM(cssFontWeight, "font-weight")
    1.63 +EDITOR_ATOM(cssHeight, "height")
    1.64 +EDITOR_ATOM(cssInUnit, "in")
    1.65 +EDITOR_ATOM(cssLeft, "left")
    1.66 +EDITOR_ATOM(cssListStyleType, "list-style-type")
    1.67 +EDITOR_ATOM(cssMarginLeft, "margin-left")
    1.68 +EDITOR_ATOM(cssMarginRight, "margin-right")
    1.69 +EDITOR_ATOM(cssMmUnit, "mm")
    1.70 +EDITOR_ATOM(cssMozUserModify, "-moz-user-modify")
    1.71 +EDITOR_ATOM(cssMozUserSelect, "-moz-user-select")
    1.72 +EDITOR_ATOM(cssPcUnit, "pc")
    1.73 +EDITOR_ATOM(cssPercentUnit, "%")
    1.74 +EDITOR_ATOM(cssPosition, "position")
    1.75 +EDITOR_ATOM(cssPtUnit, "pt")
    1.76 +EDITOR_ATOM(cssPxUnit, "px")
    1.77 +EDITOR_ATOM(cssRight, "right")
    1.78 +EDITOR_ATOM(cssTextAlign, "text-align")
    1.79 +EDITOR_ATOM(cssTextDecoration, "text-decoration")
    1.80 +EDITOR_ATOM(cssTop, "top")
    1.81 +EDITOR_ATOM(cssVerticalAlign, "vertical-align")
    1.82 +EDITOR_ATOM(cssWhitespace, "white-space")
    1.83 +EDITOR_ATOM(cssWidth, "width")
    1.84 +EDITOR_ATOM(cssZIndex, "z-index")
    1.85 +EDITOR_ATOM(data, "data")
    1.86 +EDITOR_ATOM(datalist, "datalist")
    1.87 +EDITOR_ATOM(dd, "dd")
    1.88 +EDITOR_ATOM(dfn, "dfn")
    1.89 +EDITOR_ATOM(div, "div")
    1.90 +EDITOR_ATOM(dl, "dl")
    1.91 +EDITOR_ATOM(dt, "dt")
    1.92 +EDITOR_ATOM(em, "em")
    1.93 +EDITOR_ATOM(face, "face")
    1.94 +EDITOR_ATOM(fieldset, "fieldset")
    1.95 +EDITOR_ATOM(figcaption, "figcaption")
    1.96 +EDITOR_ATOM(figure, "figure")
    1.97 +EDITOR_ATOM(font, "font")
    1.98 +EDITOR_ATOM(footer, "footer")
    1.99 +EDITOR_ATOM(form, "form")
   1.100 +EDITOR_ATOM(h1, "h1")
   1.101 +EDITOR_ATOM(h2, "h2")
   1.102 +EDITOR_ATOM(h3, "h3")
   1.103 +EDITOR_ATOM(h4, "h4")
   1.104 +EDITOR_ATOM(h5, "h5")
   1.105 +EDITOR_ATOM(h6, "h6")
   1.106 +EDITOR_ATOM(header, "header")
   1.107 +EDITOR_ATOM(head, "head")
   1.108 +EDITOR_ATOM(hgroup, "hgroup")
   1.109 +EDITOR_ATOM(href, "href") // Use to differentiate between "a" for link, "a" for named anchor
   1.110 +EDITOR_ATOM(hr, "hr")
   1.111 +EDITOR_ATOM(html, "html")
   1.112 +EDITOR_ATOM(i, "i")
   1.113 +EDITOR_ATOM(img, "img")
   1.114 +EDITOR_ATOM(input, "input")
   1.115 +EDITOR_ATOM(kbd, "kbd")
   1.116 +EDITOR_ATOM(keygen, "keygen")
   1.117 +EDITOR_ATOM(label, "label")
   1.118 +EDITOR_ATOM(legend, "legend")
   1.119 +EDITOR_ATOM(li, "li")
   1.120 +EDITOR_ATOM(main, "main")
   1.121 +EDITOR_ATOM(map, "map")
   1.122 +EDITOR_ATOM(mark, "mark")
   1.123 +EDITOR_ATOM(meter, "meter")
   1.124 +EDITOR_ATOM(menuitem, "menuitem")
   1.125 +EDITOR_ATOM(mozdirty, "_moz_dirty")
   1.126 +EDITOR_ATOM(mozEditorBogusNode, "_moz_editor_bogus_node")
   1.127 +EDITOR_ATOM(name, "name")
   1.128 +EDITOR_ATOM(nav, "nav")
   1.129 +EDITOR_ATOM(noscript, "noscript")
   1.130 +EDITOR_ATOM(object, "object")
   1.131 +EDITOR_ATOM(ol, "ol")
   1.132 +EDITOR_ATOM(output, "output")
   1.133 +EDITOR_ATOM(p, "p")
   1.134 +EDITOR_ATOM(pre, "pre")
   1.135 +EDITOR_ATOM(progress, "progress")
   1.136 +EDITOR_ATOM(q, "q")
   1.137 +EDITOR_ATOM(samp, "samp")
   1.138 +EDITOR_ATOM(script, "script")
   1.139 +EDITOR_ATOM(section, "section")
   1.140 +EDITOR_ATOM(select, "select")
   1.141 +EDITOR_ATOM(size, "size")
   1.142 +EDITOR_ATOM(small, "small")
   1.143 +EDITOR_ATOM(span, "span")
   1.144 +EDITOR_ATOM(s, "s")
   1.145 +EDITOR_ATOM(strike, "strike")
   1.146 +EDITOR_ATOM(strong, "strong")
   1.147 +EDITOR_ATOM(sub, "sub")
   1.148 +EDITOR_ATOM(sup, "sup")
   1.149 +EDITOR_ATOM(table, "table")
   1.150 +EDITOR_ATOM(tbody, "tbody")
   1.151 +EDITOR_ATOM(td, "td")
   1.152 +EDITOR_ATOM(textarea, "textarea")
   1.153 +EDITOR_ATOM(tfoot, "tfoot")
   1.154 +EDITOR_ATOM(thead, "thead")
   1.155 +EDITOR_ATOM(th, "th")
   1.156 +EDITOR_ATOM(time, "time")
   1.157 +EDITOR_ATOM(tr, "tr")
   1.158 +EDITOR_ATOM(track, "track")
   1.159 +EDITOR_ATOM(tt, "tt")
   1.160 +EDITOR_ATOM(ul, "ul")
   1.161 +EDITOR_ATOM(u, "u")
   1.162 +EDITOR_ATOM(var, "var")

mercurial