editor/idl/nsIHTMLInlineTableEditor.idl

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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 };

mercurial