Public Types | Public Member Functions | Protected Attributes | List of all members

Variant on simple one-table HTML report using table for layout. More...

#include <oofhtml.h>

Inheritance diagram for dbRepHTMLTable:
Inheritance graph
Collaboration diagram for dbRepHTMLTable:
Collaboration graph

Public Types

enum  ReportStyles { pageWise, columnar }

Public Member Functions

char * copyStr (const char *theString)
 dbRepHTMLTable (const dbRepSizer &sizer, const dbView &fields, const ReportStyles style=columnar)
 dbRepHTMLTable (const dbRepSizer &sizer, const dbRepColWidths colWidths, const dbView &fields, const ReportStyles style=columnar)
virtual void describe (std::ostream &) const
 Provide human-readable information about object. More...
void draw (std::ostream &)
void drawColumnar (std::ostream &)
void drawHeader (std::ostream &)
void drawPageWise (std::ostream &)
void extract (std::ostream &)
void formatForCharStream ()
bool hidden () const
void hide (bool hideIt=true)
virtual oofString name () const
const OOF_StringreportTitle ()
void setStyle (const ReportStyles)

Protected Attributes

bool mBuilt
dbRepColWidths mColWidths
dbView mFields
bool mHidden
ReportStyles mReportStyle
dbRepSizer mSizer

Detailed Description

Variant on simple one-table HTML report using table for layout.

Definition at line 80 of file oofhtml.h.

Constructor & Destructor Documentation

dbRepHTMLTable::dbRepHTMLTable ( const dbRepSizer sizer,
const dbView fields,
const ReportStyles  style = columnar 

Definition at line 83 of file oofhtml.h.

dbRepHTMLTable::dbRepHTMLTable ( const dbRepSizer sizer,
const dbRepColWidths  colWidths,
const dbView fields,
const ReportStyles  style = columnar 

Definition at line 87 of file oofhtml.h.

Member Function Documentation

char * dbRep::copyStr ( const char *  theString)

Definition at line 197 of file oofrw.cpp.

Referenced by dbRepChar::drawPageWise().

void OOF_PublicBase::describe ( std::ostream &  ) const

Provide human-readable information about object.

Overriden to provide much more detail particularly for dbTable::describe() which provides full schema.

Reimplemented in dbConnect, dbTable, dbFixedBinary, dbChar, dbField, and dbRelRefBase.

Definition at line 342 of file oof1.cpp.

References OOF_PublicBase::name().

Referenced by OOF_Dictionary::describeVisible().

void dbRepHTMLTable::draw ( std::ostream &  )

Implements dbRep.

Definition at line 514 of file oofhtml.cpp.

void dbRepHTMLTable::drawColumnar ( std::ostream &  )

Definition at line 443 of file oofhtml.cpp.

References dbField::copyString().

void dbRepHTMLTable::drawHeader ( std::ostream &  )

Definition at line 414 of file oofhtml.cpp.

References dbField::fieldName().

void dbRepHTMLTable::drawPageWise ( std::ostream &  )

Definition at line 470 of file oofhtml.cpp.

References dbField::copyString(), and dbField::fieldName().

void dbRep::extract ( std::ostream &  )
void dbRepHTMLTable::formatForCharStream ( )

Implements dbRep.

Definition at line 380 of file oofhtml.cpp.

bool OOF_PublicBase::hidden ( ) const

Definition at line 51 of file oof1.h.

Referenced by OOF_Dictionary::EntryMatchesVisibility().

void OOF_PublicBase::hide ( bool  hideIt = true)

Definition at line 52 of file oof1.h.

oofString OOF_PublicBase::name ( ) const

Reimplemented in dbConnect, dbTable, OOF_adornerHolder, and dbField.

Definition at line 349 of file oof1.cpp.

Referenced by OOF_PublicBase::describe().

const OOF_String & dbRep::reportTitle ( )

Definition at line 307 of file oofrw.h.

References dbRepSizer::mReportTitle, and dbRep::mSizer.

void dbRep::setStyle ( const ReportStyles  style)

Definition at line 210 of file oofrw.cpp.

References dbRep::mReportStyle.

Member Data Documentation

bool dbRep::mBuilt

Definition at line 265 of file oofrw.h.

Referenced by dbRepChar::draw(), and dbRepChar::formatForCharStream().

dbRepColWidths dbRep::mColWidths
dbView dbRep::mFields
bool OOF_PublicBase::mHidden

Definition at line 61 of file oof1.h.

ReportStyles dbRep::mReportStyle
dbRepSizer dbRep::mSizer

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