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

Specify output to HTML stream. More...

#include <oofrpHTM.h>

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

Public Types

enum  { eRenderType ='HTML' }
 

Public Member Functions

virtual unsigned long calcPageHeight ()
 
virtual unsigned long calcPageWidth ()
 
virtual bool canDraw ()
 Confirm can draw to stream - only used for GUI to choose destination. More...
 
virtual void changeTextStyle (oofRepTextStyle *)
 
virtual void drawPageBorder (long top, long left, long bottom, long right)
 
virtual void drawPageBreak ()
 
virtual void drawSectionBreak ()
 
virtual void endEnvironment ()
 
virtual unsigned short heightOfTextStyle (oofRepTextStyle *)
 
virtual bool isPrintingEnvironment () const
 
virtual void makeRender ()
 
virtual void makeRenderDispatch (oofRepDrawable *) const
 
virtual void makeRenderDispatch (oofAdorner *) const
 
 oofRepHTMLEnv ()
 
 oofRepHTMLEnv (std::ostream &)
 
 oofRepHTMLEnv (const char *fileName)
 
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 std::ostream & out ()
 

Static Public Attributes

static std::ostream * sOut = 0
 

Protected Attributes

std::ostream * mOut
 
std::ofstream * mOwnedofstream
 

Detailed Description

Specify output to HTML stream.

Definition at line 27 of file oofrpHTM.h.

Constructor & Destructor Documentation

oofRepHTMLEnv::oofRepHTMLEnv ( )

Definition at line 36 of file oofrpHTM.cpp.

oofRepHTMLEnv::oofRepHTMLEnv ( std::ostream &  )
oofRepHTMLEnv::oofRepHTMLEnv ( const char *  fileName)

Definition at line 46 of file oofrpHTM.cpp.

Member Function Documentation

unsigned long oofRepHTMLEnv::calcPageHeight ( )
virtual

Implements oofRepEnvironment.

Definition at line 107 of file oofrpHTM.cpp.

unsigned long oofRepHTMLEnv::calcPageWidth ( )
virtual

Implements oofRepEnvironment.

Definition at line 114 of file oofrpHTM.cpp.

bool oofRepStreamEnv::canDraw ( )
virtualinherited

Confirm can draw to stream - only used for GUI to choose destination.

Todo:

check why there's only a Mac file dialog here - do we use under Win?

add exception for NavGetDefaultDialogOptions failing.

Reimplemented from oofRepEnvironment.

Definition at line 1323 of file oofrep2.cpp.

References oofDirectory::gotoDirectory(), oofRepStreamEnv::mOut, and oofRepStreamEnv::sOut.

void oofRepHTMLEnv::changeTextStyle ( oofRepTextStyle )
virtual

Implements oofRepEnvironment.

Definition at line 94 of file oofrpHTM.cpp.

void oofRepEnvironment::drawPageBorder ( long  top,
long  left,
long  bottom,
long  right 
)
virtualinherited

Reimplemented in oofRepMacEnv, and oofRepWinGUIPreviewMFC.

Definition at line 1266 of file oofrep2.cpp.

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

void oofRepHTMLEnv::drawPageBreak ( )
virtual

Implements oofRepEnvironment.

Definition at line 88 of file oofrpHTM.cpp.

void oofRepEnvironment::drawSectionBreak ( )
virtualinherited

Definition at line 1273 of file oofrep2.cpp.

References oofRepEnvironment::drawPageBreak().

Referenced by oofRepSection::drawSection().

void oofRepHTMLEnv::endEnvironment ( )
virtual

Reimplemented from oofRepEnvironment.

Definition at line 143 of file oofrpHTM.cpp.

References oofRepStreamEnv::mOut.

unsigned short oofRepHTMLEnv::heightOfTextStyle ( oofRepTextStyle )
virtual

Implements oofRepEnvironment.

Definition at line 100 of file oofrpHTM.cpp.

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 oofRepHTMLEnv::makeRenderDispatch ( oofRepDrawable drawable) const
virtual

Implements oofRepEnvironment.

Definition at line 53 of file oofrpHTM.cpp.

References oofRepDrawable::makeRender().

void oofRepHTMLEnv::makeRenderDispatch ( oofAdorner drawable) const
virtual

Implements oofRepEnvironment.

Definition at line 72 of file oofrpHTM.cpp.

References oofAdorner::makeRender().

std::ostream & oofRepStreamEnv::out ( )
inlinestaticinherited

Definition at line 2727 of file oofrep.h.

References oofRepStreamEnv::sOut.

Referenced by oofRepSpaceBand_XMLRender::describeLayout(), oofRepGraphBand_XMLRender::describeLayout(), oofRepLineBand_XMLRender::describeLayout(), oofRepTextBlock_XMLRender::describeLayout(), oofRepPageNoBlock_XMLRender::describeLayout(), oofRepSpaceBand_HTMLRender::draw(), oofRepGraphBand_CSVRender::draw(), oofRepGraphBand_TSVRender::draw(), oofRepLayoutBand_HTMLRender::draw(), oofRepLayoutBand_CSVRender::draw(), oofRepLayoutBand_TSVRender::draw(), oofRepFreeImageBand_RTFRender::draw(), oofRepLineBand_HTMLRender::draw(), oofRepPictBand_HTMLRender::draw(), oofRepViewBand_HTMLRender::draw(), oofRepViewBand_CSVRender::draw(), oofRepGraphBand_XMLRender::draw(), oofRepViewBand_TSVRender::draw(), oofRepTextBlock_CSVRender::draw(), oofRepTextBlock_TSVRender::draw(), oofRepTextBlock_HTMLRender::draw(), oofRepSpaceBand_RTFRender::draw(), oofRepPictBlock_HTMLRender::draw(), oofRepGraphBand_RTFRender::draw(), oofRepLayoutBand_RTFRender::draw(), oofRepLineBand_RTFRender::draw(), oofRepPictBand_RTFRender::draw(), oofRepViewBand_RTFRender::draw(), oofRepTextBlock_RTFRender::draw(), oofRepPictBlock_RTFRender::draw(), oofRepPageNoBlock_RTFRender::draw(), oofRepViewBand_CSVRender::drawColumnHeaders(), oofRepViewBand_TSVRender::drawColumnHeaders(), oofRepViewBand_RTFRender::drawColumnHeaders(), oofRepRTFEnv::encodeToRTFStream(), oofRepRTFEnv::endEnvironment(), oofRepViewBand_HTMLRender::endTableBody(), oofRepViewBand_XMLRender::oofRepViewBand_XMLRender(), oofRepRTFEnv::startEnvironment(), oofRepXMLEnv::StartReport(), oofRepViewBand_HTMLRender::startTableBody(), OOF_repXMLadornerVisitor::VisitAdorner(), OOF_repXMLlayoutVisitor::VisitBandFooterBreaks(), OOF_repXMLlayoutVisitor::VisitBandFooters(), OOF_repXMLlayoutVisitor::VisitBandHeaderBreaks(), OOF_repXMLlayoutVisitor::VisitBandHeaders(), OOF_repXMLlayoutVisitor::VisitBreakList(), OOF_repXMLschemaVisitor::VisitComplexBand(), OOF_repXMLlayoutVisitor::VisitComplexBand(), OOF_repXMLstyleVisitor::VisitDrawable(), OOF_repXMLlayoutVisitor::VisitFirstPageFooters(), OOF_repXMLlayoutVisitor::VisitFirstPageHeaders(), OOF_repXMLlayoutVisitor::VisitLayoutBand(), OOF_repXMLschemaVisitor::VisitView(), and OOF_repXMLlayoutVisitor::WriteColumns().

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

Implements oofRepEnvironment.

Definition at line 82 of file oofrpHTM.cpp.

References eRenderType.

virtual void oofRepEnvironment::resumeBandOverPage ( )
inlinevirtualinherited
virtual void oofRepEnvironment::splitBandOverPage ( )
inlinevirtualinherited
void oofRepHTMLEnv::startEnvironment ( )
virtual

Reimplemented from oofRepEnvironment.

Definition at line 120 of file oofrpHTM.cpp.

References oofRepStreamEnv::mOut.

void oofRepEnvironment::startSection ( )
virtualinherited

Reimplemented in oofRepXMLEnv, and oofRepRTFEnv.

Definition at line 1253 of file oofrep2.cpp.

Referenced by oofRepSection::drawSection().

Member Data Documentation

std::ostream* oofRepStreamEnv::mOut
protectedinherited
std::ofstream* oofRepStreamEnv::mOwnedofstream
protectedinherited
ostream * oofRepStreamEnv::sOut = 0
staticinherited

Definition at line 462 of file oofrep.h.

Referenced by oofRepStreamEnv::canDraw(), and oofRepStreamEnv::out().


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