Bumping manifests a=b2g-bump
[gecko.git] / embedding / browser / nsIPrintPreviewNavigation.idl
blob87a39ff7268784d482a8663b0872b91f1c410c88
1 /* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 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
13 [scriptable, uuid(8148E3F1-2E8B-11d5-A86C-00105A183419)]
14 interface nsIPrintPreviewNavigation : nsISupports
17 readonly attribute long pageCount;
20 /**
21 * Preview the next Page
23 * Return - PR_TRUE if success
25 boolean nextPage();
27 /**
28 * Preview the previous Page
30 * Return - PR_TRUE if success
32 boolean previousPage();
34 /**
35 * Go to a page to preview
37 * aPageNumber - Page to go preview
38 * Return - PR_TRUE if success
40 boolean goToPage(unsigned long aPageNumber);
43 /**
44 * Skip pages
46 * aNumPages - number of pages to skip including the current page. Neg. goes back
47 * Return - true if success
49 boolean skipPages(long aNumPages);