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

Specify output to Comma-Separated-Values stream. More...

#include <oofrpCSV.h>

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

Public Types

enum  { eRenderType ='CSV ' }
 

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
 
 oofRepCSVEnv ()
 
 oofRepCSVEnv (std::ostream &)
 
 oofRepCSVEnv (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 Comma-Separated-Values stream.

Definition at line 30 of file oofrpCSV.h.

Constructor & Destructor Documentation

oofRepCSVEnv::oofRepCSVEnv ( )

Definition at line 45 of file oofrpCSV.cpp.

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

Definition at line 56 of file oofrpCSV.cpp.

Member Function Documentation

unsigned long oofRepCSVEnv::calcPageHeight ( )
virtual

Implements oofRepEnvironment.

Definition at line 118 of file oofrpCSV.cpp.

unsigned long oofRepCSVEnv::calcPageWidth ( )
virtual

Implements oofRepEnvironment.

Definition at line 126 of file oofrpCSV.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 oofRepCSVEnv::changeTextStyle ( oofRepTextStyle )
virtual

Implements oofRepEnvironment.

Definition at line 104 of file oofrpCSV.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 oofRepCSVEnv::drawPageBreak ( )
virtual

Implements oofRepEnvironment.

Definition at line 98 of file oofrpCSV.cpp.

void oofRepEnvironment::drawSectionBreak ( )
virtualinherited

Definition at line 1273 of file oofrep2.cpp.

References oofRepEnvironment::drawPageBreak().

Referenced by oofRepSection::drawSection().

void oofRepCSVEnv::endEnvironment ( )
virtual

Reimplemented from oofRepEnvironment.

Definition at line 139 of file oofrpCSV.cpp.

unsigned short oofRepCSVEnv::heightOfTextStyle ( oofRepTextStyle )
virtual

Implements oofRepEnvironment.

Definition at line 110 of file oofrpCSV.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 oofRepCSVEnv::makeRenderDispatch ( oofRepDrawable drawable) const
virtual

Implements oofRepEnvironment.

Definition at line 63 of file oofrpCSV.cpp.

References oofRepDrawable::makeRender().

void oofRepCSVEnv::makeRenderDispatch ( oofAdorner drawable) const
virtual

Implements oofRepEnvironment.

Definition at line 82 of file oofrpCSV.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 oofRepCSVEnv::preprocessesPageHeadersAndFooters ( ) const
virtual

Reimplemented from oofRepEnvironment.

Definition at line 145 of file oofrpCSV.cpp.

oofRepRenderT oofRepCSVEnv::renderType ( ) const
virtual

Implements oofRepEnvironment.

Definition at line 91 of file oofrpCSV.cpp.

References eRenderType.

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

Reimplemented from oofRepEnvironment.

Definition at line 133 of file oofrpCSV.cpp.

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: