embedding/browser/webBrowser/nsIPrintPreviewNavigation.idl

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:4bd65be41c13
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/. */
6
7 #include "nsISupports.idl"
8
9
10 /**
11 * The nsIPrintPreviewNavigation
12 */
13 [scriptable, uuid(8148E3F1-2E8B-11d5-A86C-00105A183419)]
14 interface nsIPrintPreviewNavigation : nsISupports
15 {
16
17 readonly attribute long pageCount;
18
19
20 /**
21 * Preview the next Page
22 *
23 * Return - PR_TRUE if success
24 */
25 boolean nextPage();
26
27 /**
28 * Preview the previous Page
29 *
30 * Return - PR_TRUE if success
31 */
32 boolean previousPage();
33
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);
41
42
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);
50
51
52 };

mercurial