Merge mozilla-beta to b2g34. a=merge
[gecko.git] / editor / nsIHTMLInlineTableEditor.idl
blobf7b83b8d84598f7f7a4f21c9a33159cd283aedbd
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
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.
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
25 void showInlineTableEditingUI(in nsIDOMElement aCell);
27 /**
28 * Hide all inline table editing UI
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
37 void doInlineTableEditingAction(in nsIDOMElement aUIAnonymousElement);
39 /**
40 * Refresh already visible inline table editing UI
42 void refreshInlineTableEditingUI();