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

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

#include <oofrpTSV.h>

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

Public Types

enum  { eRenderType ='TSV ' }
 

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

Definition at line 31 of file oofrpTSV.h.

Constructor & Destructor Documentation

oofRepTSVEnv::oofRepTSVEnv ( )

Definition at line 45 of file oofrpTSV.cpp.

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

Definition at line 56 of file oofrpTSV.cpp.

Member Function Documentation

unsigned long oofRepTSVEnv::calcPageHeight ( )
virtual

Implements oofRepEnvironment.

Definition at line 118 of file oofrpTSV.cpp.

unsigned long oofRepTSVEnv::calcPageWidth ( )
virtual

Implements oofRepEnvironment.

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

Implements oofRepEnvironment.

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

Implements oofRepEnvironment.

Definition at line 98 of file oofrpTSV.cpp.

void oofRepEnvironment::drawSectionBreak ( )
virtualinherited

Definition at line 1273 of file oofrep2.cpp.

References oofRepEnvironment::drawPageBreak().

Referenced by oofRepSection::drawSection().

void oofRepTSVEnv::endEnvironment ( )
virtual

Reimplemented from oofRepEnvironment.

Definition at line 139 of file oofrpTSV.cpp.

unsigned short oofRepTSVEnv::heightOfTextStyle ( oofRepTextStyle )
virtual

Implements oofRepEnvironment.

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

Implements oofRepEnvironment.

Definition at line 63 of file oofrpTSV.cpp.

References oofRepDrawable::makeRender().

void oofRepTSVEnv::makeRenderDispatch ( oofAdorner drawable) const
virtual

Implements oofRepEnvironment.

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

Reimplemented from oofRepEnvironment.

Definition at line 145 of file oofrpTSV.cpp.

oofRepRenderT oofRepTSVEnv::renderType ( ) const
virtual

Implements oofRepEnvironment.

Definition at line 91 of file oofrpTSV.cpp.

References eRenderType.

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

Reimplemented from oofRepEnvironment.

Definition at line 133 of file oofrpTSV.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: