layout/base/public/nsIPageSequenceFrame.h,1.12 | . | Disk File |
Skipping to line 39 | . | |
|
. |
|
#include "nsISupports.h" |
. |
#include "nsISupports.h" |
#include "nsRect.h" |
. |
#include "nsRect.h" |
|
. |
|
class nsIPresContext; |
. |
class nsIPresContext; |
class nsIPrintOptions; |
. |
class nsIPrintSettings; |
|
. |
|
// IID for the nsIPageSequenceFrame interface |
. |
// IID for the nsIPageSequenceFrame interface |
// a6cf90d2-15b3-11d2-932e-00805f8add32 |
. |
// a6cf90d2-15b3-11d2-932e-00805f8add32 |
#define NS_IPAGESEQUENCEFRAME_IID \ |
. |
#define NS_IPAGESEQUENCEFRAME_IID \ |
{ 0xa6cf90d2, 0x15b3, 0x11d2,{0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32}
} |
. |
{ 0xa6cf90d2, 0x15b3, 0x11d2,{0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32}
} |
Skipping to line 127 | . | |
* interface |
. |
* interface |
* NS_ERROR_INVALID_ARG if printing a range of pages (not all pages
) |
. |
* NS_ERROR_INVALID_ARG if printing a range of pages (not all pages
) |
* and the start page is greater than the total number of pages |
. |
* and the start page is greater than the total number of pages |
* NS_ERROR_FAILURE if there is an error |
. |
* NS_ERROR_FAILURE if there is an error |
* @see nsIPrintStatusCallback#OnProgress() |
. |
* @see nsIPrintStatusCallback#OnProgress() |
*/ |
. |
*/ |
NS_IMETHOD Print(nsIPresContext* aPresContext, |
. |
  |
nsIPrintOptions* aPrintOptions, |
. |
  |
nsIPrintStatusCallback* aStatusCallback) = 0; |
. |
  |
|
. |
  |
NS_IMETHOD StartPrint(nsIPresContext* aPresContext, |
. |
NS_IMETHOD StartPrint(nsIPresContext* aPresContext, |
nsIPrintOptions* aPrintOptions) = 0; |
. |
nsIPrintSettings* aPrintOptions) = 0; |
NS_IMETHOD PrintNextPage(nsIPresContext* aPresContext, |
. |
NS_IMETHOD PrintNextPage(nsIPresContext* aPresContext) = 0; |
nsIPrintOptions* aPrintOptions) = 0; |
. |
  |
NS_IMETHOD GetCurrentPageNum(PRInt32* aPageNum) = 0; |
. |
NS_IMETHOD GetCurrentPageNum(PRInt32* aPageNum) = 0; |
NS_IMETHOD GetNumPages(PRInt32* aNumPages) = 0; |
. |
NS_IMETHOD GetNumPages(PRInt32* aNumPages) = 0; |
NS_IMETHOD IsDoingPrintRange(PRBool* aDoing) = 0; |
. |
NS_IMETHOD IsDoingPrintRange(PRBool* aDoing) = 0; |
NS_IMETHOD GetPrintRange(PRInt32* aFromPage, PRInt32* aToPage) = 0; |
. |
NS_IMETHOD GetPrintRange(PRInt32* aFromPage, PRInt32* aToPage) = 0; |
|
. |
|