gfx/src/mac/nsDeviceContextSpecMac.cpp,1.15 | . | Disk File |
Skipping to line 264 | . | |
prFirstItem = AppendToDialog(gPrtJobDialog, DITL_ADDITIONS); |
. |
prFirstItem = AppendToDialog(gPrtJobDialog, DITL_ADDITIONS); |
|
. |
|
nsCOMPtr<nsIPrintOptions> printOptionsService = do_GetService("@mozilla.org/
gfx/printoptions;1"); |
. |
nsCOMPtr<nsIPrintOptions> printOptionsService = do_GetService("@mozilla.org/
gfx/printoptions;1"); |
|
. |
|
if (printOptionsService) { |
. |
if (printOptionsService) { |
printOptionsService->GetPrintOptions(nsIPrintOptions::kPrintOptionsEnableS
electionRB, &isOn); |
. |
printOptionsService->GetPrintOptions(nsIPrintOptions::kEnableSelectionRB,
&isOn); |
printOptionsService->GetHowToEnableFrameUI(&howToEnableFrameUI); |
. |
printOptionsService->GetHowToEnableFrameUI(&howToEnableFrameUI); |
} |
. |
} |
|
. |
|
::GetDialogItem((DialogPtr) gPrtJobDialog, prFirstItem+ePrintSelectionCheckb
oxID-1, &itemType, &itemH, &itemBox); |
. |
::GetDialogItem((DialogPtr) gPrtJobDialog, prFirstItem+ePrintSelectionCheckb
oxID-1, &itemType, &itemH, &itemBox); |
if ( isOn ) { |
. |
if ( isOn ) { |
Skipping to line 322 | . | |
|
. |
|
/** ------------------------------------------------------- |
. |
/** ------------------------------------------------------- |
* Initialize the nsDeviceContextSpecMac |
. |
* Initialize the nsDeviceContextSpecMac |
* @update dc 05/04/2001 |
. |
* @update dc 05/04/2001 |
*/ |
. |
*/ |
NS_IMETHODIMP nsDeviceContextSpecMac::Init(PRBool aQuiet)
|
. |
NS_IMETHODIMP nsDeviceContextSpecMac::Init(nsIPrintSettings* aPS, PRBool aQuie
t) |
{ |
. |
{ |
#if !TARGET_CARBON |
. |
#if !TARGET_CARBON |
|
. |
|
if (aQuiet) |
. |
if (aQuiet) |
{ |
. |
{ |