2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2012-07-12 23:33:42 -07:00
|
|
|
// IWYU pragma: private, include "nsEditProperty.h"
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/******
|
|
|
|
|
|
|
|
This file contains the list of all editor nsIAtoms and their values
|
2010-06-21 08:00:43 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
It is designed to be used as inline input to nsEditProperty.cpp *only*
|
|
|
|
through the magic of C preprocessing.
|
|
|
|
|
|
|
|
All entries must be enclosed in the macro EDITOR_ATOM which will have cruel
|
|
|
|
and unusual things done to it
|
|
|
|
|
|
|
|
It is recommended (but not strictly necessary) to keep all entries
|
|
|
|
in alphabetical order
|
|
|
|
|
|
|
|
The first argument to EDITOR_ATOM is the C++ identifier of the atom
|
|
|
|
The second argument is the string value of the atom
|
|
|
|
|
|
|
|
******/
|
|
|
|
|
2010-06-21 08:00:43 -07:00
|
|
|
EDITOR_ATOM(a, "a")
|
|
|
|
EDITOR_ATOM(abbr, "abbr")
|
2007-03-22 10:30:00 -07:00
|
|
|
EDITOR_ATOM(acronym, "acronym")
|
|
|
|
EDITOR_ATOM(address, "address")
|
2010-06-19 11:44:43 -07:00
|
|
|
EDITOR_ATOM(article, "article")
|
|
|
|
EDITOR_ATOM(aside, "aside")
|
2010-06-21 08:00:43 -07:00
|
|
|
EDITOR_ATOM(b, "b")
|
|
|
|
EDITOR_ATOM(bdo, "bdo")
|
|
|
|
EDITOR_ATOM(big, "big")
|
|
|
|
EDITOR_ATOM(blink, "blink")
|
|
|
|
EDITOR_ATOM(blockquote, "blockquote")
|
2007-03-22 10:30:00 -07:00
|
|
|
EDITOR_ATOM(body, "body")
|
2010-06-21 08:00:43 -07:00
|
|
|
EDITOR_ATOM(br, "br")
|
|
|
|
EDITOR_ATOM(button, "button")
|
2007-03-22 10:30:00 -07:00
|
|
|
EDITOR_ATOM(caption, "caption")
|
2010-06-21 08:00:43 -07:00
|
|
|
EDITOR_ATOM(center, "center")
|
|
|
|
EDITOR_ATOM(cite, "cite")
|
|
|
|
EDITOR_ATOM(code, "code")
|
2007-03-22 10:30:00 -07:00
|
|
|
EDITOR_ATOM(col, "col")
|
|
|
|
EDITOR_ATOM(colgroup, "colgroup")
|
|
|
|
EDITOR_ATOM(color, "color")
|
|
|
|
EDITOR_ATOM(cssBackgroundColor, "background-color")
|
|
|
|
EDITOR_ATOM(cssBackgroundImage, "background-image")
|
|
|
|
EDITOR_ATOM(cssBorder, "border")
|
|
|
|
EDITOR_ATOM(cssBottom, "bottom")
|
|
|
|
EDITOR_ATOM(cssCaptionSide, "caption-side")
|
2010-06-21 08:00:43 -07:00
|
|
|
EDITOR_ATOM(cssCmUnit, "cm")
|
2007-03-22 10:30:00 -07:00
|
|
|
EDITOR_ATOM(cssColor, "color")
|
|
|
|
EDITOR_ATOM(cssDirection, "direction")
|
2010-06-21 08:00:43 -07:00
|
|
|
EDITOR_ATOM(cssEmUnit, "em")
|
|
|
|
EDITOR_ATOM(cssExUnit, "ex")
|
2007-03-22 10:30:00 -07:00
|
|
|
EDITOR_ATOM(cssFloat, "float")
|
|
|
|
EDITOR_ATOM(cssFontFamily, "font-family")
|
|
|
|
EDITOR_ATOM(cssFontSize, "font-size")
|
|
|
|
EDITOR_ATOM(cssFontStyle, "font-style")
|
|
|
|
EDITOR_ATOM(cssFontWeight, "font-weight")
|
|
|
|
EDITOR_ATOM(cssHeight, "height")
|
2010-06-21 08:00:43 -07:00
|
|
|
EDITOR_ATOM(cssInUnit, "in")
|
2007-03-22 10:30:00 -07:00
|
|
|
EDITOR_ATOM(cssLeft, "left")
|
2010-06-21 08:00:43 -07:00
|
|
|
EDITOR_ATOM(cssListStyleType, "list-style-type")
|
2007-03-22 10:30:00 -07:00
|
|
|
EDITOR_ATOM(cssMarginLeft, "margin-left")
|
2010-06-21 08:00:43 -07:00
|
|
|
EDITOR_ATOM(cssMarginRight, "margin-right")
|
|
|
|
EDITOR_ATOM(cssMmUnit, "mm")
|
|
|
|
EDITOR_ATOM(cssMozUserModify, "-moz-user-modify")
|
|
|
|
EDITOR_ATOM(cssMozUserSelect, "-moz-user-select")
|
|
|
|
EDITOR_ATOM(cssPcUnit, "pc")
|
|
|
|
EDITOR_ATOM(cssPercentUnit, "%")
|
2007-03-22 10:30:00 -07:00
|
|
|
EDITOR_ATOM(cssPosition, "position")
|
2010-06-21 08:00:43 -07:00
|
|
|
EDITOR_ATOM(cssPtUnit, "pt")
|
|
|
|
EDITOR_ATOM(cssPxUnit, "px")
|
2007-03-22 10:30:00 -07:00
|
|
|
EDITOR_ATOM(cssRight, "right")
|
|
|
|
EDITOR_ATOM(cssTextAlign, "text-align")
|
|
|
|
EDITOR_ATOM(cssTextDecoration, "text-decoration")
|
|
|
|
EDITOR_ATOM(cssTop, "top")
|
|
|
|
EDITOR_ATOM(cssVerticalAlign, "vertical-align")
|
|
|
|
EDITOR_ATOM(cssWhitespace, "white-space")
|
|
|
|
EDITOR_ATOM(cssWidth, "width")
|
|
|
|
EDITOR_ATOM(cssZIndex, "z-index")
|
2010-09-09 22:16:56 -07:00
|
|
|
EDITOR_ATOM(datalist, "datalist")
|
2010-06-21 08:00:43 -07:00
|
|
|
EDITOR_ATOM(dd, "dd")
|
|
|
|
EDITOR_ATOM(dfn, "dfn")
|
|
|
|
EDITOR_ATOM(div, "div")
|
|
|
|
EDITOR_ATOM(dl, "dl")
|
|
|
|
EDITOR_ATOM(dt, "dt")
|
|
|
|
EDITOR_ATOM(em, "em")
|
|
|
|
EDITOR_ATOM(face, "face")
|
|
|
|
EDITOR_ATOM(fieldset, "fieldset")
|
2010-06-23 10:08:56 -07:00
|
|
|
EDITOR_ATOM(figcaption, "figcaption")
|
|
|
|
EDITOR_ATOM(figure, "figure")
|
2010-06-21 08:00:43 -07:00
|
|
|
EDITOR_ATOM(font, "font")
|
|
|
|
EDITOR_ATOM(footer, "footer")
|
|
|
|
EDITOR_ATOM(form, "form")
|
|
|
|
EDITOR_ATOM(h1, "h1")
|
|
|
|
EDITOR_ATOM(h2, "h2")
|
|
|
|
EDITOR_ATOM(h3, "h3")
|
|
|
|
EDITOR_ATOM(h4, "h4")
|
|
|
|
EDITOR_ATOM(h5, "h5")
|
|
|
|
EDITOR_ATOM(h6, "h6")
|
|
|
|
EDITOR_ATOM(header, "header")
|
|
|
|
EDITOR_ATOM(head, "head")
|
|
|
|
EDITOR_ATOM(hgroup, "hgroup")
|
|
|
|
EDITOR_ATOM(href, "href") // Use to differentiate between "a" for link, "a" for named anchor
|
|
|
|
EDITOR_ATOM(hr, "hr")
|
|
|
|
EDITOR_ATOM(html, "html")
|
|
|
|
EDITOR_ATOM(i, "i")
|
|
|
|
EDITOR_ATOM(img, "img")
|
|
|
|
EDITOR_ATOM(input, "input")
|
|
|
|
EDITOR_ATOM(kbd, "kbd")
|
2010-10-21 14:12:49 -07:00
|
|
|
EDITOR_ATOM(keygen, "keygen")
|
2010-06-21 08:00:43 -07:00
|
|
|
EDITOR_ATOM(label, "label")
|
|
|
|
EDITOR_ATOM(legend, "legend")
|
|
|
|
EDITOR_ATOM(li, "li")
|
|
|
|
EDITOR_ATOM(map, "map")
|
2010-06-23 10:08:56 -07:00
|
|
|
EDITOR_ATOM(mark, "mark")
|
2012-05-16 04:18:33 -07:00
|
|
|
EDITOR_ATOM(meter, "meter")
|
2011-08-08 10:31:32 -07:00
|
|
|
EDITOR_ATOM(menuitem, "menuitem")
|
2007-03-22 10:30:00 -07:00
|
|
|
EDITOR_ATOM(mozdirty, "_moz_dirty")
|
2010-05-03 06:23:36 -07:00
|
|
|
EDITOR_ATOM(mozEditorBogusNode, "_moz_editor_bogus_node")
|
2010-06-21 08:00:43 -07:00
|
|
|
EDITOR_ATOM(name, "name")
|
|
|
|
EDITOR_ATOM(nav, "nav")
|
|
|
|
EDITOR_ATOM(noscript, "noscript")
|
|
|
|
EDITOR_ATOM(object, "object")
|
|
|
|
EDITOR_ATOM(ol, "ol")
|
|
|
|
EDITOR_ATOM(output, "output")
|
|
|
|
EDITOR_ATOM(p, "p")
|
|
|
|
EDITOR_ATOM(pre, "pre")
|
2011-04-09 10:22:02 -07:00
|
|
|
EDITOR_ATOM(progress, "progress")
|
2010-06-21 08:00:43 -07:00
|
|
|
EDITOR_ATOM(q, "q")
|
|
|
|
EDITOR_ATOM(samp, "samp")
|
|
|
|
EDITOR_ATOM(script, "script")
|
|
|
|
EDITOR_ATOM(section, "section")
|
|
|
|
EDITOR_ATOM(select, "select")
|
|
|
|
EDITOR_ATOM(size, "size")
|
|
|
|
EDITOR_ATOM(small, "small")
|
|
|
|
EDITOR_ATOM(span, "span")
|
|
|
|
EDITOR_ATOM(s, "s")
|
|
|
|
EDITOR_ATOM(strike, "strike")
|
|
|
|
EDITOR_ATOM(strong, "strong")
|
|
|
|
EDITOR_ATOM(sub, "sub")
|
|
|
|
EDITOR_ATOM(sup, "sup")
|
|
|
|
EDITOR_ATOM(table, "table")
|
|
|
|
EDITOR_ATOM(tbody, "tbody")
|
|
|
|
EDITOR_ATOM(td, "td")
|
|
|
|
EDITOR_ATOM(textarea, "textarea")
|
|
|
|
EDITOR_ATOM(tfoot, "tfoot")
|
|
|
|
EDITOR_ATOM(thead, "thead")
|
|
|
|
EDITOR_ATOM(th, "th")
|
|
|
|
EDITOR_ATOM(tr, "tr")
|
|
|
|
EDITOR_ATOM(tt, "tt")
|
|
|
|
EDITOR_ATOM(ul, "ul")
|
|
|
|
EDITOR_ATOM(u, "u")
|
|
|
|
EDITOR_ATOM(var, "var")
|