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

Base for specifying Macintosh GUI drawing environment. More...

#include <oofrepMac.h>

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

Public Types

enum  { eRenderType ='Mac ' }
 

Public Member Functions

virtual unsigned long calcPageHeight ()=0
 
virtual unsigned long calcPageWidth ()=0
 
virtual bool canDraw ()
 
virtual void changeTextStyle (oofRepTextStyle *)=0
 
virtual void drawPageBorder (long top, long left, long bottom, long right)
 
virtual void drawPageBreak ()=0
 
virtual void drawSectionBreak ()
 
virtual void endEnvironment ()
 
virtual unsigned short heightOfTextStyle (oofRepTextStyle *)=0
 
virtual bool isPrintingEnvironment () const
 
virtual void makeRender ()
 
virtual void makeRenderDispatch (oofRepDrawable *) const
 
virtual void makeRenderDispatch (oofAdorner *) const
 
 oofRepMacEnv ()
 
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 ()
 

Protected Attributes

THPrint mPrintRecordH
 
GrafPtr mSavedPort
 

Detailed Description

Base for specifying Macintosh GUI drawing environment.

Definition at line 51 of file oofrepMac.h.

Constructor & Destructor Documentation

oofRepMacEnv::oofRepMacEnv ( )
inline

Definition at line 55 of file oofrepMac.h.

Member Function Documentation

virtual unsigned long oofRepEnvironment::calcPageHeight ( )
pure virtualinherited
virtual unsigned long oofRepEnvironment::calcPageWidth ( )
pure virtualinherited
bool oofRepEnvironment::canDraw ( )
virtualinherited

Reimplemented in oofRepStreamEnv.

Definition at line 1225 of file oofrep2.cpp.

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

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

Reimplemented from oofRepEnvironment.

Definition at line 75 of file oofrepMac.cpp.

virtual void oofRepEnvironment::drawPageBreak ( )
pure virtualinherited
void oofRepEnvironment::drawSectionBreak ( )
virtualinherited

Definition at line 1273 of file oofrep2.cpp.

References oofRepEnvironment::drawPageBreak().

Referenced by oofRepSection::drawSection().

void oofRepEnvironment::endEnvironment ( )
virtualinherited
virtual unsigned short oofRepEnvironment::heightOfTextStyle ( oofRepTextStyle )
pure virtualinherited
bool oofRepEnvironment::isPrintingEnvironment ( ) const
virtualinherited
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
virtual

Implements oofRepEnvironment.

Reimplemented in oofRepEditingEnv.

Definition at line 25 of file oofrepMac.cpp.

References oofRepDrawable::makeRender().

void oofRepMacEnv::makeRenderDispatch ( oofAdorner drawable) const
virtual

Implements oofRepEnvironment.

Reimplemented in oofRepEditingEnv.

Definition at line 45 of file oofrepMac.cpp.

References oofAdorner::makeRender().

THPrint oofRepMacEnv::pageSetup ( ) const
inline
void oofRepMacEnv::pageSetup ( THPrint  inPageSetup)

Definition at line 62 of file oofrepMac.cpp.

References mPrintRecordH.

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

Implements oofRepEnvironment.

Definition at line 55 of file oofrepMac.cpp.

References eRenderType.

virtual void oofRepEnvironment::resumeBandOverPage ( )
inlinevirtualinherited
virtual void oofRepEnvironment::splitBandOverPage ( )
inlinevirtualinherited
void oofRepEnvironment::startEnvironment ( )
virtualinherited
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
protected
GrafPtr oofRepMacEnv::mSavedPort
protected

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