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

Report page dimensions & page title. More...

#include <oofrw.h>

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

Public Member Functions

dbRepSizerblockVertSep (unsigned int)
 
dbRepSizerbottomMargin (unsigned int)
 
dbRepSizercolSepWidth (unsigned int)
 
 dbRepSizer (const OOF_String &reportTitle, unsigned int pageHeight=70, unsigned int pageWidth=80, unsigned int leftMargin=0, unsigned int rightMargin=0, unsigned int topMargin=1, unsigned int bottomMargin=1, unsigned int colSepWidth=2, unsigned int blockVertSep=1)
 
 dbRepSizer (const char *reportTitle="", unsigned int pageHeight=70, unsigned int pageWidth=80, unsigned int leftMargin=0, unsigned int rightMargin=0, unsigned int topMargin=1, unsigned int bottomMargin=1, unsigned int colSepWidth=2, unsigned int blockVertSep=1)
 
virtual void describe (std::ostream &) const
 Provide human-readable information about object. More...
 
bool hidden () const
 
void hide (bool hideIt=true)
 
dbRepSizerleftMargin (unsigned int)
 
virtual oofString name () const
 
dbRepSizerpageHeight (unsigned int)
 
dbRepSizerpageWidth (unsigned int)
 
dbRepSizerrightMargin (unsigned int)
 
dbRepSizertitle (const OOF_String &)
 
dbRepSizertitle (const char *)
 
dbRepSizertopMargin (unsigned int)
 

Public Attributes

unsigned int mBlockVertSep
 
unsigned int mBottomMargin
 
unsigned int mColSepWidth
 
unsigned int mLeftMargin
 
unsigned int mPageHeight
 
unsigned int mPageWidth
 
OOF_String mReportTitle
 
unsigned int mRightMargin
 
unsigned int mTopMargin
 

Protected Attributes

bool mHidden
 

Detailed Description

Report page dimensions & page title.

Definition at line 118 of file oofrw.h.

Constructor & Destructor Documentation

dbRepSizer::dbRepSizer ( const OOF_String reportTitle,
unsigned int  pageHeight = 70,
unsigned int  pageWidth = 80,
unsigned int  leftMargin = 0,
unsigned int  rightMargin = 0,
unsigned int  topMargin = 1,
unsigned int  bottomMargin = 1,
unsigned int  colSepWidth = 2,
unsigned int  blockVertSep = 1 
)
inline

Definition at line 121 of file oofrw.h.

dbRepSizer::dbRepSizer ( const char *  reportTitle = "",
unsigned int  pageHeight = 70,
unsigned int  pageWidth = 80,
unsigned int  leftMargin = 0,
unsigned int  rightMargin = 0,
unsigned int  topMargin = 1,
unsigned int  bottomMargin = 1,
unsigned int  colSepWidth = 2,
unsigned int  blockVertSep = 1 
)
inline

Definition at line 141 of file oofrw.h.

Member Function Documentation

dbRepSizer & dbRepSizer::blockVertSep ( unsigned int  blockVertSep)
inline

Definition at line 390 of file oofrw.h.

References mBlockVertSep.

dbRepSizer & dbRepSizer::bottomMargin ( unsigned int  bottomMargin)
inline

Definition at line 374 of file oofrw.h.

References mBottomMargin.

dbRepSizer & dbRepSizer::colSepWidth ( unsigned int  colSepWidth)
inline

Definition at line 382 of file oofrw.h.

References mColSepWidth.

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

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().

bool OOF_PublicBase::hidden ( ) const
inlineinherited

Definition at line 51 of file oof1.h.

Referenced by OOF_Dictionary::EntryMatchesVisibility().

void OOF_PublicBase::hide ( bool  hideIt = true)
inlineinherited

Definition at line 52 of file oof1.h.

dbRepSizer & dbRepSizer::leftMargin ( unsigned int  leftMargin)
inline

Definition at line 350 of file oofrw.h.

References mLeftMargin.

oofString OOF_PublicBase::name ( ) const
virtualinherited

Reimplemented in dbConnect, dbTable, OOF_adornerHolder, and dbField.

Definition at line 349 of file oof1.cpp.

Referenced by OOF_PublicBase::describe().

dbRepSizer & dbRepSizer::pageHeight ( unsigned int  pageHeight)
inline

Definition at line 334 of file oofrw.h.

References mPageHeight.

dbRepSizer & dbRepSizer::pageWidth ( unsigned int  pageWidth)
inline

Definition at line 342 of file oofrw.h.

References mPageWidth.

dbRepSizer & dbRepSizer::rightMargin ( unsigned int  rightMargin)
inline

Definition at line 358 of file oofrw.h.

References mRightMargin.

dbRepSizer & dbRepSizer::title ( const OOF_String reportTitle)
inline

Definition at line 318 of file oofrw.h.

References mReportTitle.

dbRepSizer & dbRepSizer::title ( const char *  reportTitle)
inline

Definition at line 326 of file oofrw.h.

References mReportTitle.

dbRepSizer & dbRepSizer::topMargin ( unsigned int  topMargin)
inline

Definition at line 366 of file oofrw.h.

References mTopMargin.

Member Data Documentation

unsigned int dbRepSizer::mBlockVertSep

Definition at line 181 of file oofrw.h.

Referenced by blockVertSep(), dbRepChar::drawColumnar(), and dbRepChar::drawPageWise().

unsigned int dbRepSizer::mBottomMargin

Definition at line 179 of file oofrw.h.

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

unsigned int dbRepSizer::mColSepWidth

Definition at line 180 of file oofrw.h.

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

bool OOF_PublicBase::mHidden
protectedinherited

Definition at line 61 of file oof1.h.

unsigned int dbRepSizer::mLeftMargin

Definition at line 179 of file oofrw.h.

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

unsigned int dbRepSizer::mPageHeight

Definition at line 179 of file oofrw.h.

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

unsigned int dbRepSizer::mPageWidth

Definition at line 179 of file oofrw.h.

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

OOF_String dbRepSizer::mReportTitle

Definition at line 178 of file oofrw.h.

Referenced by dbRep::reportTitle(), and title().

unsigned int dbRepSizer::mRightMargin

Definition at line 179 of file oofrw.h.

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

unsigned int dbRepSizer::mTopMargin

Definition at line 179 of file oofrw.h.

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


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