2007-03-22 10:30:00 -07:00
|
|
|
/* ***** 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
|
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
|
|
|
|
|
|
|
|
******/
|
|
|
|
|
|
|
|
#ifdef WINCE
|
|
|
|
#undef small
|
|
|
|
#endif
|
|
|
|
|
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-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")
|
|
|
|
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")
|
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")
|
|
|
|
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")
|