editor/libeditor/base/nsEditPropertyAtomList.h
author Ivan Enderlin <ivan.enderlin@hoa-project.net>, Mounir Lamouri <mounir.lamouri@gmail.com>, Ms2ger <ms2ger@gmail.com>
Wed, 23 Jun 2010 10:08:56 -0700
changeset 44192 b4149e2c40567006e4ad41e89fb2d22c5961e4c4
parent 43890 727bbd59a5fa86633aee7e7d9cad5155b27a149f
child 44193 40de8e1a9f13e192ab367fd3202ab23e4fc70ec8
permissions -rw-r--r--
Implement the mark element. r=jonas+timeless (Bug 485377)

/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * The Original Code is editor atom table.
 *
 * The Initial Developer of the Original Code is
 * Netscape Communications Corp.
 * Portions created by the Initial Developer are Copyright (C) 2003
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Alec Flett <alecf@netscape.com>
 *
 * Alternatively, the contents of this file may be used under the terms of
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the MPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the MPL, the GPL or the LGPL.
 *
 * ***** END LICENSE BLOCK ***** */

/******

  This file contains the list of all editor nsIAtoms and their values

  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

 ******/

#ifdef WINCE
#undef small
#endif

EDITOR_ATOM(a, "a")
EDITOR_ATOM(abbr, "abbr")
EDITOR_ATOM(acronym, "acronym")
EDITOR_ATOM(address, "address")
EDITOR_ATOM(article, "article")
EDITOR_ATOM(aside, "aside")
EDITOR_ATOM(b, "b")
EDITOR_ATOM(bdo, "bdo")
EDITOR_ATOM(big, "big")
EDITOR_ATOM(blink, "blink")
EDITOR_ATOM(blockquote, "blockquote")
EDITOR_ATOM(body, "body")
EDITOR_ATOM(br, "br")
EDITOR_ATOM(button, "button")
EDITOR_ATOM(caption, "caption")
EDITOR_ATOM(center, "center")
EDITOR_ATOM(cite, "cite")
EDITOR_ATOM(code, "code")
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")
EDITOR_ATOM(cssCmUnit, "cm")
EDITOR_ATOM(cssColor, "color")
EDITOR_ATOM(cssDirection, "direction")
EDITOR_ATOM(cssEmUnit, "em")
EDITOR_ATOM(cssExUnit, "ex")
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")
EDITOR_ATOM(cssInUnit, "in")
EDITOR_ATOM(cssLeft, "left")
EDITOR_ATOM(cssListStyleType, "list-style-type")
EDITOR_ATOM(cssMarginLeft, "margin-left")
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, "%")
EDITOR_ATOM(cssPosition, "position")
EDITOR_ATOM(cssPtUnit, "pt")
EDITOR_ATOM(cssPxUnit, "px")
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")
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")
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")
EDITOR_ATOM(label, "label")
EDITOR_ATOM(legend, "legend")
EDITOR_ATOM(li, "li")
EDITOR_ATOM(map, "map")
EDITOR_ATOM(mark, "mark")
EDITOR_ATOM(mozdirty, "_moz_dirty")
EDITOR_ATOM(mozEditorBogusNode, "_moz_editor_bogus_node")
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")
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")