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

oofSizedTextArray Class Reference
[Macintosh Report renderingMS Windows Report rendering]

#include <oofdraw.h>

Collaboration diagram for oofSizedTextArray:

Collaboration graph
[legend]
List of all members.

Detailed Description

Array of oofStrings paired with oofTextSizer.

Note:
we don't expose the sizer so clients can only call our CalculateWrapping thus we can update mMaxNumRows otherwise they could bypass our routine and cause inconsistencies


Public Member Functions

 oofSizedTextArray (unsigned short numItems=0)
 ~oofSizedTextArray ()
void initSizers (unsigned short numItems)
oofStringtext (unsigned short index) const
unsigned short maxRows () const
unsigned short count () const
const unsigned long * GetLineStarts (unsigned short index) const
const unsigned long * GetLineLengths (unsigned short index) const
unsigned short GetNumRows (unsigned short index) const
virtual void CalculateWrapping (unsigned short index, unsigned short inColWidth, bool inTruncWords=true)


Constructor & Destructor Documentation

oofSizedTextArray::oofSizedTextArray unsigned short  numItems = 0  ) 
 

oofSizedTextArray::~oofSizedTextArray  ) 
 


Member Function Documentation

void oofSizedTextArray::CalculateWrapping unsigned short  index,
unsigned short  inColWidth,
bool  inTruncWords = true
[virtual]
 

unsigned short oofSizedTextArray::count  )  const [inline]
 

const unsigned long * oofSizedTextArray::GetLineLengths unsigned short  index  )  const
 

const unsigned long * oofSizedTextArray::GetLineStarts unsigned short  index  )  const
 

unsigned short oofSizedTextArray::GetNumRows unsigned short  index  )  const
 

void oofSizedTextArray::initSizers unsigned short  numItems  ) 
 

unsigned short oofSizedTextArray::maxRows  )  const [inline]
 

oofString & oofSizedTextArray::text unsigned short  index  )  const
 


The documentation for this class was generated from the following files:
Generated on Fri Jan 2 01:28:54 2004 for OOFILE by doxygen 1.3.5