OOFILE  1.9
Public Types | Public Member Functions | Protected Attributes | List of all members

Specify Macintosh GUI drawing environment printed to classic printer. More...

#include <oofrepMacPrint.h>

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

Public Types

enum  { eRenderType ='Mac ' }
 

Public Member Functions

virtual unsigned long calcPageHeight ()
 
virtual unsigned long calcPageWidth ()
 
virtual bool canDraw ()
 
virtual void changeTextStyle (oofRepTextStyle *)
 
virtual void drawPageBorder (long top, long left, long bottom, long right)
 
virtual void drawPageBreak ()
 
virtual void drawSectionBreak ()
 
virtual void endEnvironment ()
 
virtual unsigned short heightOfTextStyle (oofRepTextStyle *)
 
virtual bool isPrintingEnvironment () const
 
virtual void makeRender ()
 
virtual void makeRenderDispatch (oofRepDrawable *) const
 
virtual void makeRenderDispatch (oofAdorner *) const
 
 oofRepMacPrint (THPrint pageSetup=nil)
 
THPrint pageSetup () const
 
void pageSetup (THPrint)
 
virtual bool preprocessesPageHeadersAndFooters () const
 
virtual oofRepRenderT renderType () const
 
virtual void resumeBandOverPage ()
 
virtual void splitBandOverPage ()
 
virtual void startEnvironment ()
 
virtual void startSection ()
 
 ~oofRepMacPrint ()
 

Protected Attributes

THPrint mPrintRecordH
 
GrafPtr mSavedPort
 

Detailed Description

Specify Macintosh GUI drawing environment printed to classic printer.

Definition at line 25 of file oofrepMacPrint.h.

Constructor & Destructor Documentation

oofRepMacPrint::oofRepMacPrint ( THPrint  pageSetup = nil)

Definition at line 22 of file oofrepMacPrint.cpp.

References oofRepMacEnv::mPrintRecordH, and oofRepMacEnv::pageSetup().

oofRepMacPrint::~oofRepMacPrint ( )

Definition at line 34 of file oofrepMacPrint.cpp.

References oofRepMacEnv::mPrintRecordH.

Member Function Documentation

unsigned long oofRepMacPrint::calcPageHeight ( )
virtual

Implements oofRepEnvironment.

Definition at line 154 of file oofrepMacPrint.cpp.

References oofRepMacEnv::mPrintRecordH, and oofRepMacEnv::mSavedPort.

unsigned long oofRepMacPrint::calcPageWidth ( )
virtual

Implements oofRepEnvironment.

Definition at line 195 of file oofrepMacPrint.cpp.

bool oofRepEnvironment::canDraw ( )
virtualinherited

Reimplemented in oofRepStreamEnv.

Definition at line 1225 of file oofrep2.cpp.

Referenced by oofRep::draw(), and oofRepMulti::draw().

void oofRepMacPrint::changeTextStyle ( oofRepTextStyle S)
virtual
void oofRepMacEnv::drawPageBorder ( long  top,
long  left,
long  bottom,
long  right 
)
virtualinherited

Reimplemented from oofRepEnvironment.

Definition at line 75 of file oofrepMac.cpp.

void oofRepMacPrint::drawPageBreak ( )
virtual

Implements oofRepEnvironment.

Definition at line 83 of file oofrepMacPrint.cpp.

References oofRepMacEnv::mPrintRecordH.

void oofRepEnvironment::drawSectionBreak ( )
virtualinherited

Definition at line 1273 of file oofrep2.cpp.

References oofRepEnvironment::drawPageBreak().

Referenced by oofRepSection::drawSection().

void oofRepMacPrint::endEnvironment ( )
virtual

Reimplemented from oofRepEnvironment.

Definition at line 56 of file oofrepMacPrint.cpp.

References oofRepMacEnv::mPrintRecordH, and oofRepMacEnv::mSavedPort.

unsigned short oofRepMacPrint::heightOfTextStyle ( oofRepTextStyle theStyle)
virtual

Implements oofRepEnvironment.

Definition at line 136 of file oofrepMacPrint.cpp.

References changeTextStyle(), and oofRepTextStyle::leading().

bool oofRepMacPrint::isPrintingEnvironment ( ) const
virtual

Reimplemented from oofRepEnvironment.

Definition at line 41 of file oofrepMacPrint.cpp.

virtual void oofRepEnvironment::makeRender ( )
inlinevirtualinherited

Definition at line 420 of file oofrep.h.

Referenced by oofRep::draw(), and oofRepMulti::draw().

void oofRepMacEnv::makeRenderDispatch ( oofRepDrawable drawable) const
virtualinherited

Implements oofRepEnvironment.

Reimplemented in oofRepEditingEnv.

Definition at line 25 of file oofrepMac.cpp.

References oofRepDrawable::makeRender().

void oofRepMacEnv::makeRenderDispatch ( oofAdorner drawable) const
virtualinherited

Implements oofRepEnvironment.

Reimplemented in oofRepEditingEnv.

Definition at line 45 of file oofrepMac.cpp.

References oofAdorner::makeRender().

THPrint oofRepMacEnv::pageSetup ( ) const
inlineinherited
void oofRepMacEnv::pageSetup ( THPrint  inPageSetup)
inherited

Definition at line 62 of file oofrepMac.cpp.

References oofRepMacEnv::mPrintRecordH.

bool oofRepEnvironment::preprocessesPageHeadersAndFooters ( ) const
virtualinherited
oofRepRenderT oofRepMacEnv::renderType ( ) const
virtualinherited

Implements oofRepEnvironment.

Definition at line 55 of file oofrepMac.cpp.

References oofRepMacEnv::eRenderType.

virtual void oofRepEnvironment::resumeBandOverPage ( )
inlinevirtualinherited
virtual void oofRepEnvironment::splitBandOverPage ( )
inlinevirtualinherited
void oofRepMacPrint::startEnvironment ( )
virtual

Reimplemented from oofRepEnvironment.

Definition at line 48 of file oofrepMacPrint.cpp.

void oofRepEnvironment::startSection ( )
virtualinherited

Reimplemented in oofRepXMLEnv, and oofRepRTFEnv.

Definition at line 1253 of file oofrep2.cpp.

Referenced by oofRepSection::drawSection().

Member Data Documentation

THPrint oofRepMacEnv::mPrintRecordH
protectedinherited
GrafPtr oofRepMacEnv::mSavedPort
protectedinherited

The documentation for this class was generated from the following files: