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

Specify output to XML stream. More...

#include <oofrpXML.h>

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

Public Types

enum  { eRenderType ='XML ' }
 

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 ()
 
oofIDfactorygetIdentities ()
 
virtual unsigned short heightOfTextStyle (oofRepTextStyle *)
 
virtual bool isPrintingEnvironment () const
 
virtual void makeRender ()
 
virtual void makeRenderDispatch (oofRepDrawable *) const
 
virtual void makeRenderDispatch (oofAdorner *) const
 
 oofRepXMLEnv (std::ostream &)
 
 oofRepXMLEnv (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 Member Functions

void CloseSection ()
 
void StartReport (const oofString reportID)
 

Protected Attributes

oofIDfactory mIdentities
 
std::ostream * mOut
 
std::ofstream * mOwnedofstream
 
int mSectionNumber
 

Detailed Description

Specify output to XML stream.

Definition at line 57 of file oofrpXML.h.

Constructor & Destructor Documentation

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

Definition at line 1097 of file oofrpXML.cpp.

Member Function Documentation

unsigned long oofRepXMLEnv::calcPageHeight ( )
virtual

Implements oofRepEnvironment.

Definition at line 1158 of file oofrpXML.cpp.

unsigned long oofRepXMLEnv::calcPageWidth ( )
virtual

Implements oofRepEnvironment.

Definition at line 1166 of file oofrpXML.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 oofRepXMLEnv::changeTextStyle ( oofRepTextStyle )
virtual

Implements oofRepEnvironment.

Definition at line 1144 of file oofrpXML.cpp.

void oofRepXMLEnv::CloseSection ( )
protected
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 oofRepXMLEnv::drawPageBreak ( )
virtual

Implements oofRepEnvironment.

Definition at line 1138 of file oofrpXML.cpp.

void oofRepEnvironment::drawSectionBreak ( )
virtualinherited

Definition at line 1273 of file oofrep2.cpp.

References oofRepEnvironment::drawPageBreak().

Referenced by oofRepSection::drawSection().

void oofRepXMLEnv::endEnvironment ( )
virtual
oofIDfactory & oofRepXMLEnv::getIdentities ( )
inline
unsigned short oofRepXMLEnv::heightOfTextStyle ( oofRepTextStyle )
virtual

Implements oofRepEnvironment.

Definition at line 1150 of file oofrpXML.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 oofRepXMLEnv::makeRenderDispatch ( oofRepDrawable drawable) const
virtual

Implements oofRepEnvironment.

Definition at line 1103 of file oofrpXML.cpp.

References oofRepDrawable::makeRender().

void oofRepXMLEnv::makeRenderDispatch ( oofAdorner drawable) const
virtual

Implements oofRepEnvironment.

Definition at line 1122 of file oofrpXML.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(), 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 oofRepXMLEnv::preprocessesPageHeadersAndFooters ( ) const
virtual

Reimplemented from oofRepEnvironment.

Definition at line 1298 of file oofrpXML.cpp.

oofRepRenderT oofRepXMLEnv::renderType ( ) const
virtual

Implements oofRepEnvironment.

Definition at line 1131 of file oofrpXML.cpp.

References eRenderType.

virtual void oofRepEnvironment::resumeBandOverPage ( )
inlinevirtualinherited
virtual void oofRepEnvironment::splitBandOverPage ( )
inlinevirtualinherited
void oofRepXMLEnv::startEnvironment ( )
virtual
void oofRepXMLEnv::StartReport ( const oofString  reportID)
protected
void oofRepXMLEnv::startSection ( )
virtual

Member Data Documentation

oofIDfactory oofRepXMLEnv::mIdentities
protected

Definition at line 87 of file oofrpXML.h.

Referenced by CloseSection(), getIdentities(), startEnvironment(), StartReport(), and startSection().

std::ostream* oofRepStreamEnv::mOut
protectedinherited
std::ofstream* oofRepStreamEnv::mOwnedofstream
protectedinherited
int oofRepXMLEnv::mSectionNumber
protected

Definition at line 88 of file oofrpXML.h.

Referenced by startEnvironment(), and startSection().

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: