Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

oofRepWinPrint Class Reference
[MS Windows Report rendering]

#include <oofPrnWn.h>

Inheritance diagram for oofRepWinPrint:

Inheritance graph
[legend]
Collaboration diagram for oofRepWinPrint:

Collaboration graph
[legend]
List of all members.

Detailed Description

Specify MS Windows GUI drawing environment being printed.


Public Types

enum  { eRenderType = 'Win ' }

Public Member Functions

 oofRepWinPrint (const char *docStr=NULL, LPPAGESETUPDLG pageSetup=NULL, LPPRINTDLG printDlg=NULL)
 ~oofRepWinPrint ()
void print ()
void disablePrinting ()
virtual bool isPrintingEnvironment () const
virtual void changeTextStyle (oofRepTextStyle *)
virtual void drawPageBreak ()
virtual unsigned long calcPageHeight ()
virtual unsigned long calcPageWidth ()
void finish ()
void start ()
void setPageSetup (PAGESETUPDLG *pageSetup)
oofRectgetMargin ()
virtual oofRectpageRectPts ()
virtual void drawPageBorder (long top, long left, long bottom, long right)
void drawWithTextStyle (oofRepTextStyle *)
oofRepPageListpages ()
unsigned long getNumPages () const
unsigned long previewPageOrdinal () const
void drawPage (HDC, unsigned long pageIndex, oofRect)
void parentWindow (CWnd *)
CWndparentWindow () const
virtual unsigned short heightOfTextStyle (oofRepTextStyle *theStyle)
virtual void makeRenderDispatch (oofRepDrawable *drawable) const
virtual void makeRenderDispatch (oofAdorner *drawable) const
virtual oofRepRenderT renderType () const
virtual void startEnvironment ()
virtual void drawSectionBreak ()
virtual void startSection ()
virtual bool canDraw ()
virtual void makeRender ()
virtual void endEnvironment ()
virtual bool preprocessesPageHeadersAndFooters () const
virtual void splitBandOverPage ()
virtual void resumeBandOverPage ()

Static Public Member Functions

BOOL setPrinterMappingMode (CDC *pDC)
BOOL setPrinterMappingMode (HDC hDC)
BOOL getPaperSize (HANDLE hDevNames, HANDLE hDevMode, LPPOINT paperSize)
BOOL getPaperSizeFromSymbolicValue (short paperSizeID, LPPOINT paperSize)
void initDefaultPageSetup (PAGESETUPDLG *)
SIZE getTextExtent (const oofRepTextStyle *textStyle, const OOF_String &text)

Protected Types

typedef oofRepWinPrint::paperSizeLookupTag paperSizeLookup

Protected Member Functions

void PrintPage (unsigned long pageNo, const LPRECT pageRect, LPPRINTDLG pd)
void GetLogicalPageRect (LPRECT rect, HDC dc) const
void FillInPrintDlg (LPPRINTDLG printDlg) const
void startPage ()
void endPage ()

Protected Attributes

DOCINFO mDocInfo
const char * mDefaultPrintStr
LPPRINTDLG mPrintDlg
bool mPrinted


Member Typedef Documentation

typedef struct oofRepWinPrint::paperSizeLookupTag oofRepWinPrint::paperSizeLookup [protected]
 


Member Enumeration Documentation

anonymous enum [inherited]
 

Enumeration values:
eRenderType 


Constructor & Destructor Documentation

oofRepWinPrint::oofRepWinPrint const char *  docStr = NULL,
LPPAGESETUPDLG  pageSetup = NULL,
LPPRINTDLG  printDlg = NULL
 

oofRepWinPrint::~oofRepWinPrint  ) 
 


Member Function Documentation

virtual unsigned long oofRepWinGUIPreviewMFC::calcPageHeight  )  [virtual, inherited]
 

Implements oofRepEnvironment.

virtual unsigned long oofRepWinGUIPreviewMFC::calcPageWidth  )  [virtual, inherited]
 

Implements oofRepEnvironment.

bool oofRepEnvironment::canDraw  )  [virtual, inherited]
 

Reimplemented in oofRepStreamEnv.

virtual void oofRepWinGUIPreviewMFC::changeTextStyle oofRepTextStyle  )  [virtual, inherited]
 

Implements oofRepEnvironment.

void oofRepWinPrint::disablePrinting  )  [inline]
 

void oofRepWinGUIPreviewMFC::drawPage HDC  ,
unsigned long  pageIndex,
oofRect 
[inherited]
 

virtual void oofRepWinGUIPreviewMFC::drawPageBorder long  top,
long  left,
long  bottom,
long  right
[virtual, inherited]
 

Reimplemented from oofRepEnvironment.

virtual void oofRepWinGUIPreviewMFC::drawPageBreak  )  [virtual, inherited]
 

Implements oofRepEnvironment.

void oofRepEnvironment::drawSectionBreak  )  [virtual, inherited]
 

void oofRepWinGUIPreviewMFC::drawWithTextStyle oofRepTextStyle  )  [inherited]
 

void oofRepEnvironment::endEnvironment  )  [virtual, inherited]
 

Reimplemented in oofMacCarbonPrint, oofRepEditingEnv, oofRepMacPrint, oofRepMacGUIPreviewPP, oofRepCSVEnv, oofRepHTMLEnv, oofRepRTFEnv, oofRepTSVEnv, and oofRepXMLEnv.

void oofRepWinGUIPreviewMFC::endPage  )  [protected, inherited]
 

void oofRepWinPrint::FillInPrintDlg LPPRINTDLG  printDlg  )  const [protected]
 

void oofRepWinGUIPreviewMFC::finish  )  [inherited]
 

void oofRepWinPrint::GetLogicalPageRect LPRECT  rect,
HDC  dc
const [protected]
 

oofRect* oofRepWinGUIPreviewMFC::getMargin  )  [inline, inherited]
 

unsigned long oofRepWinGUIPreviewMFC::getNumPages  )  const [inline, inherited]
 

BOOL oofRepWinPrint::getPaperSize HANDLE  hDevNames,
HANDLE  hDevMode,
LPPOINT  paperSize
[static]
 

BOOL oofRepWinPrint::getPaperSizeFromSymbolicValue short  paperSizeID,
LPPOINT  paperSize
[static]
 

SIZE oofRepWinEnv::getTextExtent const oofRepTextStyle textStyle,
const OOF_String text
[static, inherited]
 

unsigned short oofRepWinEnv::heightOfTextStyle oofRepTextStyle theStyle  )  [virtual, inherited]
 

Implements oofRepEnvironment.

void oofRepWinGUIPreviewMFC::initDefaultPageSetup PAGESETUPDLG *   )  [static, inherited]
 

bool oofRepWinPrint::isPrintingEnvironment  )  const [inline, virtual]
 

Reimplemented from oofRepEnvironment.

virtual void oofRepEnvironment::makeRender  )  [inline, virtual, inherited]
 

void oofRepWinEnv::makeRenderDispatch oofAdorner drawable  )  const [virtual, inherited]
 

Implements oofRepEnvironment.

void oofRepWinEnv::makeRenderDispatch oofRepDrawable drawable  )  const [virtual, inherited]
 

Implements oofRepEnvironment.

virtual oofRect* oofRepWinGUIPreviewMFC::pageRectPts  )  [inline, virtual, inherited]
 

oofRepPageList & oofRepWinGUIPreviewMFC::pages  )  [inline, inherited]
 

CWnd * oofRepWinGUIPreviewMFC::parentWindow  )  const [inline, inherited]
 

void oofRepWinGUIPreviewMFC::parentWindow CWnd  )  [inline, inherited]
 

bool oofRepEnvironment::preprocessesPageHeadersAndFooters  )  const [virtual, inherited]
 

Reimplemented in oofRepCSVEnv, oofRepRTFEnv, oofRepTSVEnv, and oofRepXMLEnv.

unsigned long oofRepWinGUIPreviewMFC::previewPageOrdinal  )  const [inline, inherited]
 

void oofRepWinPrint::print  ) 
 

void oofRepWinPrint::PrintPage unsigned long  pageNo,
const LPRECT  pageRect,
LPPRINTDLG  pd
[protected]
 

oofRepRenderT oofRepWinEnv::renderType  )  const [virtual, inherited]
 

Implements oofRepEnvironment.

virtual void oofRepEnvironment::resumeBandOverPage  )  [inline, virtual, inherited]
 

Reimplemented in oofRepEditingEnv.

void oofRepWinGUIPreviewMFC::setPageSetup PAGESETUPDLG *  pageSetup  )  [inherited]
 

BOOL oofRepWinPrint::setPrinterMappingMode HDC  hDC  )  [static]
 

BOOL oofRepWinPrint::setPrinterMappingMode CDC *  pDC  )  [static]
 

virtual void oofRepEnvironment::splitBandOverPage  )  [inline, virtual, inherited]
 

Reimplemented in oofRepEditingEnv.

void oofRepWinGUIPreviewMFC::start  )  [inherited]
 

void oofRepWinEnv::startEnvironment  )  [virtual, inherited]
 

Reimplemented from oofRepEnvironment.

void oofRepWinGUIPreviewMFC::startPage  )  [protected, inherited]
 

void oofRepEnvironment::startSection  )  [virtual, inherited]
 

Reimplemented in oofRepRTFEnv, and oofRepXMLEnv.


Member Data Documentation

const char* oofRepWinPrint::mDefaultPrintStr [protected]
 

DOCINFO oofRepWinPrint::mDocInfo [protected]
 

LPPRINTDLG oofRepWinPrint::mPrintDlg [protected]
 

bool oofRepWinPrint::mPrinted [protected]
 


The documentation for this class was generated from the following file:
Generated on Fri Jan 2 01:25:28 2004 for OOFILE by doxygen 1.3.5