Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
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
12 {
13 /**
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.
18 */
19 attribute boolean inlineTableEditingEnabled;
21 /**
22 * Shows inline table editing UI around a table cell
23 * @param aCell [IN] a DOM Element being a table cell, td or th
24 */
25 void showInlineTableEditingUI(in nsIDOMElement aCell);
27 /**
28 * Hide all inline table editing UI
29 */
30 void hideInlineTableEditingUI();
32 /**
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
36 */
37 void doInlineTableEditingAction(in nsIDOMElement aUIAnonymousElement);
39 /**
40 * Refresh already visible inline table editing UI
41 */
42 void refreshInlineTableEditingUI();
43 };