Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIPrintOptions Interface Reference

Print options interface. More...

import "nsIPrintOptions.idl";

Inheritance diagram for nsIPrintOptions:
Inheritance graph
[legend]
Collaboration diagram for nsIPrintOptions:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void ShowPrintSetupDialog (in nsIPrintSettings aThePrintSettings)
 Show Native Print Options dialog, this may not be supported on all platforms.
nsIPrintSettings CreatePrintSettings ()
 Creates a new PrintSettnigs Object and initializes it from prefs.
nsISimpleEnumerator availablePrinters ()
 available Printers It returns an enumerator object or throws an exception on error cases like if internal setup failed and/or no printers are available.
PRInt32 getPrinterPrefInt (in nsIPrintSettings aPrintSettings, in wstring aPrefName)
 Get a prefixed integer pref.
void displayJobProperties (in wstring aPrinter, in nsIPrintSettings aPrintSettings, out boolean aDisplayed)
 display Printer Job Properties dialog
void setFontNamePointSize (in AString aName, in PRInt32 aPointSize)
void SetDefaultFont (in nsNativeFontRef aFont)
void GetDefaultFont (in nsNativeFontRef aFont)
voidPtr GetNativeData (in short aDataType)

Public Attributes

const short kNativeDataPrintRecord = 0
 Native data constants.

Detailed Description

Print options interface.

Do not attempt to freeze this API - it still needs lots of work. Consult John Keiser jkeis.nosp@m.er@n.nosp@m.etsca.nosp@m.pe.c.nosp@m.om and Roland Mainz rolan.nosp@m.d.ma.nosp@m.inz@i.nosp@m.nfor.nosp@m.matik.nosp@m..med.nosp@m..uni-.nosp@m.gies.nosp@m.sen.d.nosp@m.e for futher details.

Definition at line 64 of file nsIPrintOptions.idl.


Member Function Documentation

available Printers It returns an enumerator object or throws an exception on error cases like if internal setup failed and/or no printers are available.

Creates a new PrintSettnigs Object and initializes it from prefs.

void nsIPrintOptions::displayJobProperties ( in wstring  aPrinter,
in nsIPrintSettings  aPrintSettings,
out boolean  aDisplayed 
)

display Printer Job Properties dialog

voidPtr nsIPrintOptions::GetNativeData ( in short  aDataType)
PRInt32 nsIPrintOptions::getPrinterPrefInt ( in nsIPrintSettings  aPrintSettings,
in wstring  aPrefName 
)

Get a prefixed integer pref.

void nsIPrintOptions::setFontNamePointSize ( in AString  aName,
in PRInt32  aPointSize 
)

Show Native Print Options dialog, this may not be supported on all platforms.


Member Data Documentation

Native data constants.

Definition at line 106 of file nsIPrintOptions.idl.


The documentation for this interface was generated from the following file: