1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include
"nsISupports.idl"
7 #include
"domstubs.idl"
9 [scriptable
, uuid(eda2e65c
-a758
-451f
-9b05
-77cb8de74ed2
)]
11 interface nsIHTMLInlineTableEditor
: nsISupports
14 * boolean indicating if inline table editing is enabled in the editor.
15 * When inline table editing is enabled, and when the selection is
16 * contained in a table cell, special buttons allowing to add/remove
17 * a line/column are available on the cell's border.
19 attribute
boolean inlineTableEditingEnabled
;
22 * Shows inline table editing UI around a table cell
23 * @param aCell [IN] a DOM Element being a table cell, td or th
25 void showInlineTableEditingUI
(in nsIDOMElement aCell
);
28 * Hide all inline table editing UI
30 void hideInlineTableEditingUI
();
33 * Modifies the table containing the selection according to the
34 * activation of an inline table editing UI element
35 * @param aUIAnonymousElement [IN] the inline table editing UI element
37 void doInlineTableEditingAction
(in nsIDOMElement aUIAnonymousElement
);
40 * Refresh already visible inline table editing UI
42 void refreshInlineTableEditingUI
();