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

oofRepTextStylable Class Reference
[OOFILE Report writer]

#include <oofrep.h>

Inheritance diagram for oofRepTextStylable:

Inheritance graph
[legend]
Collaboration diagram for oofRepTextStylable:

Collaboration graph
[legend]
List of all members.

Detailed Description

Report elements that may have text style specified.


Public Member Functions

 oofRepTextStylable (const char *fontName, unsigned short fontSize, unsigned char styleNum=0, short leading=0, oofColor color=oofColor::Black)
 oofRepTextStylable (oofRepTextStyle *adoptedStyle=0)
 oofRepTextStylable (const oofRepTextStylable &)
virtual ~oofRepTextStylable ()
oofRepTextStylelocalTextStyle () const
 Get style owned by this object.

oofRepTextStyleuniqueTextStyle ()
 Get a style unique to this object, cloning the one we'd normally use if necessary.

void textStyle (oofRepTextStyle *adoptedStyle)
 Set style owned by this object.

void textStyle (const char *fontName, unsigned short fontSize, unsigned char styleNum=0, short leading=0, oofColor color=oofColor::Black)
 Set style owned by this object, creating from the font parameters.

virtual oofRepTextStyletextStyle () const
 Get the text style owned by this object or a default.


Protected Attributes

oofRepTextStylemStyle


Constructor & Destructor Documentation

oofRepTextStylable::oofRepTextStylable const char *  fontName,
unsigned short  fontSize,
unsigned char  styleNum = 0,
short  leading = 0,
oofColor  color = oofColor::Black
 

oofRepTextStylable::oofRepTextStylable oofRepTextStyle adoptedStyle = 0  ) 
 

oofRepTextStylable::oofRepTextStylable const oofRepTextStylable  ) 
 

oofRepTextStylable::~oofRepTextStylable  )  [virtual]
 


Member Function Documentation

oofRepTextStyle * oofRepTextStylable::localTextStyle  )  const [inline]
 

Get style owned by this object.

Returns:
may be null indicating use container's style.

oofRepTextStyle * oofRepTextStylable::textStyle  )  const [virtual]
 

Get the text style owned by this object or a default.

Returns:
never null, may be from default in report settings.

Reimplemented in oofRepBlock.

void oofRepTextStylable::textStyle const char *  fontName,
unsigned short  fontSize,
unsigned char  styleNum = 0,
short  leading = 0,
oofColor  color = oofColor::Black
 

Set style owned by this object, creating from the font parameters.

void oofRepTextStylable::textStyle oofRepTextStyle adoptedStyle  ) 
 

Set style owned by this object.

oofRepTextStyle * oofRepTextStylable::uniqueTextStyle  ) 
 

Get a style unique to this object, cloning the one we'd normally use if necessary.

Return values:
Always returns a style.


Member Data Documentation

oofRepTextStyle* oofRepTextStylable::mStyle [protected]
 


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