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 oofRepTextStyle * | clone () const |
| bool | operator== (const oofRepTextStyle &) const |
| const oofString & | fontName () const |
| unsigned short | fontSize () const |
| unsigned char | fontStyle () const |
| short | leading () const |
| const oofColor & | color () 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 |