shellprint.c File Reference

#include "frontier.h"
#include "standard.h"
#include "memory.h"
#include "cursor.h"
#include "error.h"
#include "kb.h"
#include "quickdraw.h"
#include "strings.h"
#include "shell.h"
#include "shellprivate.h"
#include "shell.rsrc.h"
#include "shellprint.h"

Include dependency graph for shellprint.c:

Go to the source code of this file.

Defines

#define rect2rect(dstr, srcr)

Functions

static boolean carbonKillPrintVars (void)
static boolean carbonValidSession (void)
static boolean carbonSessionPrintSession ()
static boolean carbonSessionDefaultPageAndSettingValidate (void)
static boolean carbonCreateFormatAndSetting (void)
static boolean carbonStdSetup (void)
static void shellcopyprintinfo (void)
boolean shellinitprint (void)
static boolean shellpagesetupvisit (WindowPtr w, ptrvoid refcon)
boolean shellpagesetup (void)
boolean iscurrentportprintport (void)
boolean isprintingactive (void)
boolean getprintscale (long *scaleMult, long *scaleDiv)

Variables

typrintinfo shellprintinfo


Define Documentation

#define rect2rect dstr,
srcr   ) 
 

Value:

{\
    srcr.top    = (short)lround(dstr.top); \
    srcr.bottom = (short)lround(dstr.bottom); \
    srcr.left   = (short)lround(dstr.left); \
    srcr.right  = (short)lround(dstr.right); \
}

Definition at line 287 of file shellprint.c.

Referenced by shellcopyprintinfo().


Function Documentation

static boolean carbonCreateFormatAndSetting void   )  [static]
 

Definition at line 247 of file shellprint.c.

References carbonKillPrintVars(), error, noErr, and shellprintinfo.

Referenced by carbonStdSetup(), and shellcopyprintinfo().

Here is the call graph for this function:

static boolean carbonKillPrintVars void   )  [static]
 

Definition at line 138 of file shellprint.c.

References nil, typrintinfo::printhandle, and shellprintinfo.

Referenced by carbonCreateFormatAndSetting(), carbonSessionDefaultPageAndSettingValidate(), and carbonStdSetup().

static boolean carbonSessionDefaultPageAndSettingValidate void   )  [static]
 

Definition at line 202 of file shellprint.c.

References carbonKillPrintVars(), error, noErr, typrintinfo::printhandle, and shellprintinfo.

Referenced by carbonStdSetup(), and shellcopyprintinfo().

Here is the call graph for this function:

static boolean carbonSessionPrintSession  )  [static]
 

Definition at line 181 of file shellprint.c.

References nil, noErr, typrintinfo::printhandle, and shellprintinfo.

Referenced by carbonStdSetup(), and shellcopyprintinfo().

static boolean carbonStdSetup void   )  [static]
 

Definition at line 271 of file shellprint.c.

References carbonCreateFormatAndSetting(), carbonKillPrintVars(), carbonSessionDefaultPageAndSettingValidate(), carbonSessionPrintSession(), and fl.

Referenced by shellpagesetup().

Here is the call graph for this function:

static boolean carbonValidSession void   )  [static]
 

Definition at line 170 of file shellprint.c.

References nil, typrintinfo::printhandle, and shellprintinfo.

Referenced by shellpagesetup().

boolean getprintscale long scaleMult,
long scaleDiv
 

Definition at line 664 of file shellprint.c.

References typrintinfo::scaleDiv, typrintinfo::scaleMult, and shellprintinfo.

Referenced by opgetprintrect(), and opsetdisplaydefaults().

boolean iscurrentportprintport void   ) 
 

Definition at line 652 of file shellprint.c.

References getport(), and isprintingactive().

Referenced by opsetdisplaydefaults(), ploticoncustom(), and ploticonresource().

Here is the call graph for this function:

boolean isprintingactive void   ) 
 

Definition at line 658 of file shellprint.c.

References NULL.

Referenced by iscurrentportprintport().

static void shellcopyprintinfo void   )  [static]
 

Definition at line 296 of file shellprint.c.

References carbonCreateFormatAndSetting(), carbonSessionDefaultPageAndSettingValidate(), carbonSessionPrintSession(), fl, hwndMDIClient, typrintinfo::margins, max, min, noErr, oserror(), typrintinfo::paperrect, popport(), typrintinfo::printhandle, pushport(), rect2rect, and shellprintinfo.

Referenced by shellinitprint(), and shellpagesetup().

Here is the call graph for this function:

boolean shellinitprint void   ) 
 

Definition at line 395 of file shellprint.c.

References clearbytes(), error, h, longsizeof, newclearhandle(), nil, noErr, NULL, setrect(), shellcopyprintinfo(), shellprintinfo, and sizeof().

Referenced by shellinit().

Here is the call graph for this function:

boolean shellpagesetup void   ) 
 

Definition at line 519 of file shellprint.c.

References carbonStdSetup(), carbonValidSession(), fl, hwndMDIClient, nil, noErr, typrintinfo::printhandle, shellcopyprintinfo(), shellpagesetupvisit(), shellprintinfo, and shellvisittypedwindows().

Referenced by shellhandlemenu().

Here is the call graph for this function:

static boolean shellpagesetupvisit WindowPtr  w,
ptrvoid  refcon
[static]
 

Definition at line 506 of file shellprint.c.

References tyshellglobals::pagesetuproutine, shellglobals, shellpopglobals(), and shellpushglobals().

Referenced by shellpagesetup().

Here is the call graph for this function:


Variable Documentation

typrintinfo shellprintinfo
 

Definition at line 60 of file shellprint.c.

Referenced by carbonCreateFormatAndSetting(), carbonKillPrintVars(), carbonSessionDefaultPageAndSettingValidate(), carbonSessionPrintSession(), carbonValidSession(), getprintscale(), opgetpagecount(), opgetprintrect(), opgetscrollbarinfo(), opsetprintinfo(), pictprint(), pictsetprintinfo(), setdefaultstyles(), shellcopyprintinfo(), shellinitprint(), shellpagesetup(), tableprint(), tablesetprintinfo(), wpavailwidth(), wpbeginprint(), wpdrawtext(), wplinkwindowinfo(), wpnewrecord(), wpprint(), wpsetprintinfo(), and wpunpack().


Generated on Tue Jun 13 03:23:00 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6