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

oofRepTextStyle Class Reference
[OOFILE Report writer]

#include <oofrep.h>

Collaboration diagram for oofRepTextStyle:

Collaboration graph
[legend]
List of all members.

Detailed Description

Cross-platform specification of text style.

Attributes specified that identify OS font are fontName, size & style. Macintosh style constants are used, OOF_MacStyleEnumT on Windows. Rendering is further controlled by alignment, leading & color. Uses two-stage init via finishConstruction().


Public Member Functions

 oofRepTextStyle ()
 mainly used by subclasses for delayed init, must set fontname & size before valid

 oofRepTextStyle (const char *fontName, unsigned short fontSize, unsigned char styleNum=0, short leading=0, oofColor color=oofColor::Black, oofColSizer::colAlignT Alin=oofColSizer::alignLeft)
 oofRepTextStyle (const char *fontName, unsigned short fontSize, oofColSizer::colAlignT Alin, unsigned char styleNum=0, short leading=0, oofColor color=oofColor::Black)
virtual ~oofRepTextStyle ()
void finishConstruction ()
 public so delayed init can be performed by other classes

bool invariant () const
 true after full initialisation

virtual oofRepTextStyleclone () const
bool operator== (const oofRepTextStyle &) const
const oofStringfontName () const
unsigned short fontSize () const
unsigned char fontStyle () const
short leading () const
const oofColorcolor () const
oofColSizer::colAlignT alignment () const
void fontName (const oofString &)
void fontSize (unsigned short)
void fontStyle (unsigned char)
void leading (short)
void color (const oofColor &)
void alignment (oofColSizer::colAlignT)
unsigned long fixedHeight ()
void extract (std::ostream &) const
const LOGFONT & getLogFont () const


Constructor & Destructor Documentation

oofRepTextStyle::oofRepTextStyle  ) 
 

mainly used by subclasses for delayed init, must set fontname & size before valid

oofRepTextStyle::oofRepTextStyle const char *  fontName,
unsigned short  fontSize,
unsigned char  styleNum = 0,
short  leading = 0,
oofColor  color = oofColor::Black,
oofColSizer::colAlignT  Alin = oofColSizer::alignLeft
 

oofRepTextStyle::oofRepTextStyle const char *  fontName,
unsigned short  fontSize,
oofColSizer::colAlignT  Alin,
unsigned char  styleNum = 0,
short  leading = 0,
oofColor  color = oofColor::Black
 

virtual oofRepTextStyle::~oofRepTextStyle  )  [inline, virtual]
 


Member Function Documentation

void oofRepTextStyle::alignment oofColSizer::colAlignT   )  [inline]
 

oofColSizer::colAlignT oofRepTextStyle::alignment  )  const [inline]
 

oofRepTextStyle * oofRepTextStyle::clone  )  const [virtual]
 

void oofRepTextStyle::color const oofColor  )  [inline]
 

const oofColor & oofRepTextStyle::color  )  const [inline]
 

void oofRepTextStyle::extract std::ostream &   )  const
 

void oofRepTextStyle::finishConstruction  ) 
 

public so delayed init can be performed by other classes

unsigned long oofRepTextStyle::fixedHeight  ) 
 

void oofRepTextStyle::fontName const oofString  )  [inline]
 

const oofString & oofRepTextStyle::fontName  )  const [inline]
 

void oofRepTextStyle::fontSize unsigned  short  )  [inline]
 

unsigned short oofRepTextStyle::fontSize  )  const [inline]
 

void oofRepTextStyle::fontStyle unsigned  char  )  [inline]
 

unsigned char oofRepTextStyle::fontStyle  )  const [inline]
 

const LOGFONT & oofRepTextStyle::getLogFont  )  const [inline]
 

bool oofRepTextStyle::invariant  )  const [inline]
 

true after full initialisation

void oofRepTextStyle::leading short   )  [inline]
 

short oofRepTextStyle::leading  )  const [inline]
 

bool oofRepTextStyle::operator== const oofRepTextStyle  )  const
 


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