embedding/browser/webBrowser/nsIPrintPreviewNavigation.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: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
     2  *
     3  * This Source Code Form is subject to the terms of the Mozilla Public
     4  * License, v. 2.0. If a copy of the MPL was not distributed with this
     5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     7 #include "nsISupports.idl"
    10 /**
    11  * The nsIPrintPreviewNavigation
    12  */
    13 [scriptable, uuid(8148E3F1-2E8B-11d5-A86C-00105A183419)]
    14 interface nsIPrintPreviewNavigation  : nsISupports
    15 {
    17   readonly attribute long pageCount;
    20   /**
    21    * Preview the next Page
    22    *
    23    * Return - PR_TRUE if success
    24    */
    25   boolean	nextPage();
    27   /**
    28    * Preview the previous Page
    29    *
    30    * Return - PR_TRUE if success
    31    */
    32   boolean	previousPage();
    34   /**
    35    * Go to a page to preview
    36    *
    37    * aPageNumber - Page to go preview
    38    * Return - PR_TRUE if success
    39    */
    40   boolean	goToPage(unsigned long aPageNumber);
    43   /**
    44    * Skip pages
    45    *
    46    * aNumPages - number of pages to skip including the current page. Neg. goes back
    47    * Return - true if success
    48    */
    49   boolean	skipPages(long aNumPages);
    52 };

mercurial