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

Specify MS Windows GUI drawing environment previewed in MFC window. More...

#include <oofPrnWn.h>

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

Public Types

enum  { eRenderType ='Win ' }
 

Public Member Functions

virtual unsigned long calcPageHeight ()
 
virtual unsigned long calcPageWidth ()
 
virtual bool canDraw ()
 
virtual void changeTextStyle (oofRepTextStyle *)
 
void drawPage (HDC, unsigned long pageIndex, oofRect)
 
virtual void drawPageBorder (long top, long left, long bottom, long right)
 
virtual void drawPageBreak ()
 
virtual void drawSectionBreak ()
 
void drawWithTextStyle (oofRepTextStyle *)
 
virtual void endEnvironment ()
 
void finish ()
 
oofRectgetMargin ()
 
unsigned long getNumPages () const
 
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
 
 oofRepWinGUIPreviewMFC (PAGESETUPDLG *pageSetup=NULL)
 
virtual oofRectpageRectPts ()
 
oofRepPageListpages ()
 
void parentWindow (CWnd *)
 
CWndparentWindow () const
 
virtual bool preprocessesPageHeadersAndFooters () const
 
unsigned long previewPageOrdinal () const
 
virtual oofRepRenderT renderType () const
 
virtual void resumeBandOverPage ()
 
void setPageSetup (PAGESETUPDLG *pageSetup)
 
virtual void splitBandOverPage ()
 
void start ()
 
virtual void startEnvironment ()
 
virtual void startSection ()
 
 ~oofRepWinGUIPreviewMFC ()
 

Static Public Member Functions

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

Protected Member Functions

void endPage ()
 
void startPage ()
 

Detailed Description

Specify MS Windows GUI drawing environment previewed in MFC window.

Definition at line 34 of file oofPrnWn.h.

Constructor & Destructor Documentation

oofRepWinGUIPreviewMFC::oofRepWinGUIPreviewMFC ( PAGESETUPDLG *  pageSetup = NULL)

Definition at line 32 of file oofPrnWn.cpp.

References initDefaultPageSetup(), and setPageSetup().

oofRepWinGUIPreviewMFC::~oofRepWinGUIPreviewMFC ( )

Definition at line 51 of file oofPrnWn.cpp.

References finish().

Member Function Documentation

unsigned long oofRepWinGUIPreviewMFC::calcPageHeight ( )
virtual

Implements oofRepEnvironment.

Definition at line 231 of file oofPrnWn.cpp.

References oofRect::height().

unsigned long oofRepWinGUIPreviewMFC::calcPageWidth ( )
virtual

Implements oofRepEnvironment.

Definition at line 237 of file oofPrnWn.cpp.

References oofRect::width().

bool oofRepEnvironment::canDraw ( )
virtualinherited

Reimplemented in oofRepStreamEnv.

Definition at line 1225 of file oofrep2.cpp.

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

void oofRepWinGUIPreviewMFC::changeTextStyle ( oofRepTextStyle inStyle)
virtual
void oofRepWinGUIPreviewMFC::drawPage ( HDC  inDC,
unsigned long  pageIndex,
oofRect  inRect 
)
void oofRepWinGUIPreviewMFC::drawPageBorder ( long  top,
long  left,
long  bottom,
long  right 
)
virtual

Reimplemented from oofRepEnvironment.

Definition at line 254 of file oofPrnWn.cpp.

References oofWinRectDE::recordElement(), and oofRect::set().

void oofRepWinGUIPreviewMFC::drawPageBreak ( )
virtual

Implements oofRepEnvironment.

Definition at line 165 of file oofPrnWn.cpp.

References endPage(), and startPage().

void oofRepEnvironment::drawSectionBreak ( )
virtualinherited

Definition at line 1273 of file oofrep2.cpp.

References oofRepEnvironment::drawPageBreak().

Referenced by oofRepSection::drawSection().

void oofRepWinGUIPreviewMFC::drawWithTextStyle ( oofRepTextStyle style)

Definition at line 203 of file oofPrnWn.cpp.

References oofRepTextStyle::color(), and oofRepTextStyle::fontSize().

Referenced by changeTextStyle().

void oofRepEnvironment::endEnvironment ( )
virtualinherited
void oofRepWinGUIPreviewMFC::endPage ( )
protected

Definition at line 152 of file oofPrnWn.cpp.

References oofRepPageList::appendPage(), and changeTextStyle().

Referenced by drawPageBreak(), and finish().

void oofRepWinGUIPreviewMFC::finish ( )

Definition at line 137 of file oofPrnWn.cpp.

References endPage().

Referenced by oofRepWinPrint::print(), and ~oofRepWinGUIPreviewMFC().

oofRect* oofRepWinGUIPreviewMFC::getMargin ( )
inline

Definition at line 50 of file oofPrnWn.h.

unsigned long oofRepWinGUIPreviewMFC::getNumPages ( ) const
inline
SIZE oofRepWinEnv::getTextExtent ( const oofRepTextStyle textStyle,
const OOF_String text 
)
staticinherited

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)
virtualinherited

Implements oofRepEnvironment.

Definition at line 56 of file oofrpWin.cpp.

References oofRepTextStyle::fontSize().

void oofRepWinGUIPreviewMFC::initDefaultPageSetup ( PAGESETUPDLG *  ps)
static

Definition at line 61 of file oofPrnWn.cpp.

References oofRepWinPrint::getPaperSize().

Referenced by oofRepWinGUIPreviewMFC().

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 oofRepWinEnv::makeRenderDispatch ( oofRepDrawable drawable) const
virtualinherited

Implements oofRepEnvironment.

Definition at line 27 of file oofrpWin.cpp.

References oofRepDrawable::makeRender().

void oofRepWinEnv::makeRenderDispatch ( oofAdorner drawable) const
virtualinherited

Implements oofRepEnvironment.

Definition at line 45 of file oofrpWin.cpp.

References oofAdorner::makeRender().

virtual oofRect* oofRepWinGUIPreviewMFC::pageRectPts ( )
inlinevirtual

Definition at line 51 of file oofPrnWn.h.

Referenced by drawPage().

oofRepPageList & oofRepWinGUIPreviewMFC::pages ( )
inline

Definition at line 146 of file oofPrnWn.h.

void oofRepWinGUIPreviewMFC::parentWindow ( CWnd inWnd)
inline

Definition at line 167 of file oofPrnWn.h.

CWnd * oofRepWinGUIPreviewMFC::parentWindow ( ) const
inline

Definition at line 174 of file oofPrnWn.h.

bool oofRepEnvironment::preprocessesPageHeadersAndFooters ( ) const
virtualinherited
unsigned long oofRepWinGUIPreviewMFC::previewPageOrdinal ( ) const
inline

Definition at line 160 of file oofPrnWn.h.

oofRepRenderT oofRepWinEnv::renderType ( ) const
virtualinherited

Implements oofRepEnvironment.

Definition at line 50 of file oofrpWin.cpp.

virtual void oofRepEnvironment::resumeBandOverPage ( )
inlinevirtualinherited
void oofRepWinGUIPreviewMFC::setPageSetup ( PAGESETUPDLG *  pageSetup)

Definition at line 91 of file oofPrnWn.cpp.

References hienglish2pts(), and himetric2pts().

Referenced by oofRepWinGUIPreviewMFC().

virtual void oofRepEnvironment::splitBandOverPage ( )
inlinevirtualinherited
void oofRepWinGUIPreviewMFC::start ( )

Definition at line 130 of file oofPrnWn.cpp.

References startPage().

Referenced by oofRepWinPrint::oofRepWinPrint().

void oofRepWinEnv::startEnvironment ( )
virtualinherited

Reimplemented from oofRepEnvironment.

Definition at line 119 of file oofrpWin.cpp.

void oofRepWinGUIPreviewMFC::startPage ( )
protected

Definition at line 144 of file oofPrnWn.cpp.

Referenced by drawPageBreak(), and start().

void oofRepEnvironment::startSection ( )
virtualinherited

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: