Public Types | Public Member Functions | Static Public Member Functions | List of all members

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

#include <oofrpWin.h>

Inheritance diagram for oofRepWinEnv:
Inheritance graph
Collaboration diagram for oofRepWinEnv:
Collaboration graph

Public Types

enum  { eRenderType ='Win ' }

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 *theStyle)
virtual bool isPrintingEnvironment () const
virtual void makeRender ()
virtual void makeRenderDispatch (oofRepDrawable *drawable) const
virtual void makeRenderDispatch (oofAdorner *drawable) const
virtual bool preprocessesPageHeadersAndFooters () const
virtual oofRepRenderT renderType () const
virtual void resumeBandOverPage ()
virtual void splitBandOverPage ()
virtual void startEnvironment ()
virtual void startSection ()

Static Public Member Functions

static SIZE getTextExtent (const oofRepTextStyle *textStyle, const OOF_String &text)

Detailed Description

Base for specifying Win32 GUI drawing environment.

Definition at line 46 of file oofrpWin.h.

Member Function Documentation

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

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 oofRepEnvironment::drawPageBorder ( long  top,
long  left,
long  bottom,
long  right 

Reimplemented in oofRepMacEnv, and oofRepWinGUIPreviewMFC.

Definition at line 1266 of file oofrep2.cpp.

Referenced by oofRep::drawFirstPageHeaders(), and oofRep::drawPageHeaders().

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

Definition at line 1273 of file oofrep2.cpp.

References oofRepEnvironment::drawPageBreak().

Referenced by oofRepSection::drawSection().

void oofRepEnvironment::endEnvironment ( )
SIZE oofRepWinEnv::getTextExtent ( const oofRepTextStyle textStyle,
const OOF_String text 

Definition at line 86 of file oofrpWin.cpp.

References oofRepTextStyle::fontSize(), and oofString::length().

Referenced by oofRepTextBlock_WinRender::width().

unsigned short oofRepWinEnv::heightOfTextStyle ( oofRepTextStyle theStyle)

Implements oofRepEnvironment.

Definition at line 56 of file oofrpWin.cpp.

References oofRepTextStyle::fontSize().

bool oofRepEnvironment::isPrintingEnvironment ( ) const
virtual void oofRepEnvironment::makeRender ( )

Definition at line 420 of file oofrep.h.

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

void oofRepWinEnv::makeRenderDispatch ( oofRepDrawable drawable) const

Implements oofRepEnvironment.

Definition at line 27 of file oofrpWin.cpp.

References oofRepDrawable::makeRender().

void oofRepWinEnv::makeRenderDispatch ( oofAdorner drawable) const

Implements oofRepEnvironment.

Definition at line 45 of file oofrpWin.cpp.

References oofAdorner::makeRender().

bool oofRepEnvironment::preprocessesPageHeadersAndFooters ( ) const
oofRepRenderT oofRepWinEnv::renderType ( ) const

Implements oofRepEnvironment.

Definition at line 50 of file oofrpWin.cpp.

virtual void oofRepEnvironment::resumeBandOverPage ( )
virtual void oofRepEnvironment::splitBandOverPage ( )
void oofRepWinEnv::startEnvironment ( )

Reimplemented from oofRepEnvironment.

Definition at line 119 of file oofrpWin.cpp.

void oofRepEnvironment::startSection ( )

Reimplemented in oofRepXMLEnv, and oofRepRTFEnv.

Definition at line 1253 of file oofrep2.cpp.

Referenced by oofRepSection::drawSection().

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