Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations
nsIDeviceContext.h File Reference
#include "nsISupports.h"
#include "nsCoord.h"
#include "nsRect.h"
#include "nsIWidget.h"
#include "nsIRenderingContext.h"

Go to the source code of this file.

Classes

struct  nsPaletteInfo
class  nsIDeviceContext

Defines

#define NS_ERROR_GFX_PRINTER_BASE   (1) /* adjustable :-) */
#define NS_ERROR_GFX_PRINTER_CMD_NOT_FOUND   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+1)
#define NS_ERROR_GFX_PRINTER_CMD_FAILURE   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+2)
#define NS_ERROR_GFX_PRINTER_NO_PRINTER_AVAILABLE   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+3)
#define NS_ERROR_GFX_PRINTER_NAME_NOT_FOUND   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+4)
#define NS_ERROR_GFX_PRINTER_ACCESS_DENIED   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+5)
#define NS_ERROR_GFX_PRINTER_INVALID_ATTRIBUTE   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+6)
#define NS_ERROR_GFX_PRINTER_PRINTER_NOT_READY   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+8)
#define NS_ERROR_GFX_PRINTER_OUT_OF_PAPER   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+9)
#define NS_ERROR_GFX_PRINTER_PRINTER_IO_ERROR   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+10)
#define NS_ERROR_GFX_PRINTER_COULD_NOT_OPEN_FILE   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+11)
#define NS_ERROR_GFX_PRINTER_FILE_IO_ERROR   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+12)
#define NS_ERROR_GFX_PRINTER_PRINTPREVIEW   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+13)
#define NS_ERROR_GFX_PRINTER_STARTDOC   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+14)
#define NS_ERROR_GFX_PRINTER_ENDDOC   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+15)
#define NS_ERROR_GFX_PRINTER_STARTPAGE   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+16)
#define NS_ERROR_GFX_PRINTER_ENDPAGE   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+17)
#define NS_ERROR_GFX_PRINTER_PRINT_WHILE_PREVIEW   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+18)
#define NS_ERROR_GFX_PRINTER_PAPER_SIZE_NOT_SUPPORTED   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+19)
#define NS_ERROR_GFX_PRINTER_ORIENTATION_NOT_SUPPORTED   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+20)
#define NS_ERROR_GFX_PRINTER_COLORSPACE_NOT_SUPPORTED   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+21)
#define NS_ERROR_GFX_PRINTER_TOO_MANY_COPIES   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+22)
#define NS_ERROR_GFX_PRINTER_DRIVER_CONFIGURATION_ERROR   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+23)
#define NS_ERROR_GFX_PRINTER_XPRINT_BROKEN_XPRT   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+24)
#define NS_ERROR_GFX_PRINTER_DOC_IS_BUSY_PP   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+25)
#define NS_ERROR_GFX_PRINTER_DOC_WAS_DESTORYED   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+26)
#define NS_ERROR_GFX_PRINTER_NO_XUL   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+27)
#define NS_ERROR_GFX_NO_PRINTDIALOG_IN_TOOLKIT   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+28)
#define NS_ERROR_GFX_NO_PRINTROMPTSERVICE   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+29)
#define NS_ERROR_GFX_PRINTER_XPRINT_NO_XPRINT_SERVERS_FOUND   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+30)
#define NS_ERROR_GFX_PRINTER_PLEX_NOT_SUPPORTED   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+31)
#define NS_ERROR_GFX_PRINTER_DOC_IS_BUSY   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+32)
#define NS_ERROR_GFX_PRINTING_NOT_IMPLEMENTED   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+33)
#define NS_ERROR_GFX_COULD_NOT_LOAD_PRINT_MODULE   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+34)
#define NS_ERROR_GFX_PRINTER_RESOLUTION_NOT_SUPPORTED   NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GFX,NS_ERROR_GFX_PRINTER_BASE+35)
#define NS_IDEVICE_CONTEXT_IID
 Conts need for Print Preview.

Typedefs

typedef voidnsNativeDeviceContext
typedef voidnsPalette

Enumerations

enum  nsSystemFontID {
  eSystemFont_Caption, eSystemFont_Icon, eSystemFont_Menu, eSystemFont_MessageBox,
  eSystemFont_SmallCaption, eSystemFont_StatusBar, eSystemFont_Window, eSystemFont_Document,
  eSystemFont_Workspace, eSystemFont_Desktop, eSystemFont_Info, eSystemFont_Dialog,
  eSystemFont_Button, eSystemFont_PullDownMenu, eSystemFont_List, eSystemFont_Field,
  eSystemFont_Tooltips, eSystemFont_Widget
}

Class Documentation

struct nsPaletteInfo

Definition at line 184 of file nsIDeviceContext.h.

Class Members
PRPackedBool isPaletteDevice
PRUint16 numReserved
nsPalette palette
PRUint16 sizePalette

Define Documentation

Definition at line 159 of file nsIDeviceContext.h.

Definition at line 141 of file nsIDeviceContext.h.

Definition at line 144 of file nsIDeviceContext.h.

Definition at line 75 of file nsIDeviceContext.h.

#define NS_ERROR_GFX_PRINTER_BASE   (1) /* adjustable :-) */

Definition at line 61 of file nsIDeviceContext.h.

Definition at line 66 of file nsIDeviceContext.h.

Definition at line 63 of file nsIDeviceContext.h.

Definition at line 120 of file nsIDeviceContext.h.

Definition at line 90 of file nsIDeviceContext.h.

Definition at line 153 of file nsIDeviceContext.h.

Definition at line 132 of file nsIDeviceContext.h.

Definition at line 135 of file nsIDeviceContext.h.

Definition at line 126 of file nsIDeviceContext.h.

Definition at line 102 of file nsIDeviceContext.h.

Definition at line 108 of file nsIDeviceContext.h.

Definition at line 93 of file nsIDeviceContext.h.

Definition at line 78 of file nsIDeviceContext.h.

Definition at line 72 of file nsIDeviceContext.h.

Definition at line 69 of file nsIDeviceContext.h.

Definition at line 138 of file nsIDeviceContext.h.

Definition at line 117 of file nsIDeviceContext.h.

Definition at line 84 of file nsIDeviceContext.h.

Definition at line 114 of file nsIDeviceContext.h.

Definition at line 150 of file nsIDeviceContext.h.

Definition at line 111 of file nsIDeviceContext.h.

Definition at line 87 of file nsIDeviceContext.h.

Definition at line 81 of file nsIDeviceContext.h.

Definition at line 96 of file nsIDeviceContext.h.

Definition at line 162 of file nsIDeviceContext.h.

Definition at line 99 of file nsIDeviceContext.h.

Definition at line 105 of file nsIDeviceContext.h.

Definition at line 123 of file nsIDeviceContext.h.

Definition at line 129 of file nsIDeviceContext.h.

Definition at line 147 of file nsIDeviceContext.h.

Definition at line 156 of file nsIDeviceContext.h.

Value:
{ 0xb31ad9ce, 0x40cb, 0x43c4, \
  { 0x90, 0xf8, 0x0f, 0x30, 0x53, 0xf6, 0xb8, 0xea } }

Conts need for Print Preview.

Definition at line 176 of file nsIDeviceContext.h.


Typedef Documentation

Definition at line 55 of file nsIDeviceContext.h.

typedef void* nsPalette

Definition at line 181 of file nsIDeviceContext.h.


Enumeration Type Documentation

Enumerator:
eSystemFont_Caption 
eSystemFont_Icon 
eSystemFont_Menu 
eSystemFont_MessageBox 
eSystemFont_SmallCaption 
eSystemFont_StatusBar 
eSystemFont_Window 
eSystemFont_Document 
eSystemFont_Workspace 
eSystemFont_Desktop 
eSystemFont_Info 
eSystemFont_Dialog 
eSystemFont_Button 
eSystemFont_PullDownMenu 
eSystemFont_List 
eSystemFont_Field 
eSystemFont_Tooltips 
eSystemFont_Widget 

Definition at line 191 of file nsIDeviceContext.h.