Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

oofRepCustomViewDrawer Class Reference
[OOFILE Report writerMacintosh Report renderingMS Windows Report rendering]

#include <oofrep.h>

Inheritance diagram for oofRepCustomViewDrawer:

Inheritance graph
[legend]
Collaboration diagram for oofRepCustomViewDrawer:

Collaboration graph
[legend]
List of all members.

Detailed Description

Abstract base for user column drawer.

Allows you to draw any content you like within an oofRepViewBand. Doesn't distinguish between rendering environments, requiring you to override draw() for Mac, makeDrawDE() for Windows and plainText() for all stream environments.

Todo:
factor into render classes so can intelligently output to other environments


Public Member Functions

virtual void draw (int left, int top)=0
virtual void calculateWrapping (const dbField *, unsigned long sizedWidth, unsigned long &wrappedHeight)=0
virtual unsigned long calcNextDrawHeight (unsigned long heightAvailable, unsigned long &heightUsed)=0
virtual oofString plainText (const dbField *)
 Called for non-GUI rendering eg: oofRepViewBand_TSVRender::draw.

virtual oofDEmakeDrawDE (int left, int top)=0
bool hidden () const
void hide (bool hideIt=true)
virtual void describe (std::ostream &) const
 Provide human-readable information about object.

virtual oofString name () const
virtual oofString serialize () const
virtual oofString signature () const=0

Static Public Member Functions

oofString makeSerializableElement (oofSerializable *, const char *tag, oofIDfactory *idFactory, bool writeID=false, const char *otherAttributes=0)

Protected Attributes

bool mHidden


Member Function Documentation

virtual unsigned long oofRepCustomViewDrawer::calcNextDrawHeight unsigned long  heightAvailable,
unsigned long &  heightUsed
[pure virtual]
 

virtual void oofRepCustomViewDrawer::calculateWrapping const dbField ,
unsigned long  sizedWidth,
unsigned long &  wrappedHeight
[pure virtual]
 

void OOF_PublicBase::describe std::ostream &  os  )  const [virtual, inherited]
 

Provide human-readable information about object.

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

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

virtual void oofRepCustomViewDrawer::draw int  left,
int  top
[pure virtual]
 

bool OOF_PublicBase::hidden  )  const [inline, inherited]
 

void OOF_PublicBase::hide bool  hideIt = true  )  [inline, inherited]
 

virtual oofDE* oofRepCustomViewDrawer::makeDrawDE int  left,
int  top
[pure virtual]
 

oofString oofSerializable::makeSerializableElement oofSerializable ,
const char *  tag,
oofIDfactory idFactory,
bool  writeID = false,
const char *  otherAttributes = 0
[static, inherited]
 

oofString OOF_PublicBase::name  )  const [virtual, inherited]
 

Reimplemented in dbTable, dbConnect, dbField, and OOF_adornerHolder.

oofString oofRepCustomViewDrawer::plainText const dbField inField  )  [virtual]
 

Called for non-GUI rendering eg: oofRepViewBand_TSVRender::draw.

override if your field contains custom content, eg: RTF if your custom drawer just manipulates a plain text field then you can rely on this base method

oofString oofSerializable::serialize  )  const [virtual, inherited]
 

Reimplemented in oofBorderAdorner, oofShadingAdorner, oofBandShadingAdorner, and oofRepBreakEveryRecord.

virtual oofString oofSerializable::signature  )  const [pure virtual, inherited]
 

Implemented in oofBorderAdorner, oofShadingAdorner, oofBandShadingAdorner, and oofRepBreakEveryRecord.


Member Data Documentation

bool OOF_PublicBase::mHidden [protected, inherited]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 1 21:47:31 2004 for OOFILE by doxygen 1.3.5