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

Specify Macintosh GUI drawing environment previewed in PowerPlant window. More...

#include <oofRepPreviewPP.h>

Inheritance diagram for oofRepMacGUIPreviewPP:
Inheritance graph
[legend]
Collaboration diagram for oofRepMacGUIPreviewPP:
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 ()
 
void finishConstruction (dbRepPICTs *PICTs, THPrint pageSetup=nil)
 
virtual unsigned short heightOfTextStyle (oofRepTextStyle *)
 
virtual bool isPrintingEnvironment () const
 
virtual void makeRender ()
 
virtual void makeRenderDispatch (oofRepDrawable *) const
 
virtual void makeRenderDispatch (oofAdorner *) const
 
 oofRepMacGUIPreviewPP ()
 
THPrint pageSetup () const
 
void pageSetup (THPrint)
 
void parentCommander (LCommander *)
 
LCommanderparentCommander () const
 
virtual bool preprocessesPageHeadersAndFooters () const
 
unsigned long previewPageOrdinal () const
 returns ordinal number, NOT the printable page number which may reset More...
 
Point printableOffset ()
 
virtual oofRepRenderT renderType () const
 
virtual void resumeBandOverPage ()
 
virtual void splitBandOverPage ()
 
virtual void startEnvironment ()
 
virtual void startSection ()
 
virtual ~oofRepMacGUIPreviewPP ()
 

Protected Attributes

THPrint mPrintRecordH
 
GrafPtr mSavedPort
 

Detailed Description

Specify Macintosh GUI drawing environment previewed in PowerPlant window.

Definition at line 27 of file oofRepPreviewPP.h.

Constructor & Destructor Documentation

oofRepMacGUIPreviewPP::oofRepMacGUIPreviewPP ( )

Definition at line 15 of file oofRepPreviewPP.cpp.

oofRepMacGUIPreviewPP::~oofRepMacGUIPreviewPP ( )
virtual

Definition at line 36 of file oofRepPreviewPP.cpp.

References oofRepMacEnv::mPrintRecordH.

Member Function Documentation

unsigned long oofRepMacGUIPreviewPP::calcPageHeight ( )
virtual
unsigned long oofRepMacGUIPreviewPP::calcPageWidth ( )
virtual

Implements oofRepEnvironment.

Definition at line 230 of file oofRepPreviewPP.cpp.

bool oofRepEnvironment::canDraw ( )
virtualinherited

Reimplemented in oofRepStreamEnv.

Definition at line 1225 of file oofrep2.cpp.

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

void oofRepMacGUIPreviewPP::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 oofRepMacGUIPreviewPP::drawPageBreak ( )
virtual

Implements oofRepEnvironment.

Reimplemented in oofRepEditingEnv.

Definition at line 72 of file oofRepPreviewPP.cpp.

References oofRepMacEnv::mPrintRecordH.

Referenced by oofRepEditingEnv::drawPageBreak().

void oofRepEnvironment::drawSectionBreak ( )
virtualinherited

Definition at line 1273 of file oofrep2.cpp.

References oofRepEnvironment::drawPageBreak().

Referenced by oofRepSection::drawSection().

void oofRepMacGUIPreviewPP::endEnvironment ( )
virtual

Reimplemented from oofRepEnvironment.

Reimplemented in oofRepEditingEnv.

Definition at line 59 of file oofRepPreviewPP.cpp.

References oofRepMacEnv::mSavedPort.

Referenced by oofRepEditingEnv::endEnvironment().

void oofRepMacGUIPreviewPP::finishConstruction ( dbRepPICTs PICTs,
THPrint  pageSetup = nil 
)

Definition at line 28 of file oofRepPreviewPP.cpp.

References oofRepMacEnv::pageSetup().

Referenced by oofRepWindow::CreatePreviewContent().

unsigned short oofRepMacGUIPreviewPP::heightOfTextStyle ( oofRepTextStyle theStyle)
virtual

Implements oofRepEnvironment.

Definition at line 125 of file oofRepPreviewPP.cpp.

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

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
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.

void oofRepMacGUIPreviewPP::parentCommander ( LCommander inCommander)
inline

Definition at line 76 of file oofRepPreviewPP.h.

Referenced by oofRepWindow::CreatePreviewContent().

LCommander * oofRepMacGUIPreviewPP::parentCommander ( ) const
inline

Definition at line 83 of file oofRepPreviewPP.h.

bool oofRepEnvironment::preprocessesPageHeadersAndFooters ( ) const
virtualinherited
unsigned long oofRepMacGUIPreviewPP::previewPageOrdinal ( ) const

returns ordinal number, NOT the printable page number which may reset

Definition at line 237 of file oofRepPreviewPP.cpp.

References dbTable::recordNumber().

Referenced by oofRepWindow::ReflowReport(), and oofRepEditingEnv::singleClick().

Point oofRepMacGUIPreviewPP::printableOffset ( )
inline

Definition at line 69 of file oofRepPreviewPP.h.

Referenced by oofRepWindow::PrintAsPreviewed().

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 oofRepMacGUIPreviewPP::startEnvironment ( )
virtual

Reimplemented from oofRepEnvironment.

Reimplemented in oofRepEditingEnv.

Definition at line 51 of file oofRepPreviewPP.cpp.

Referenced by oofRepEditingEnv::startEnvironment().

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: