hk_font Class Reference

represents a font More...

#include <hk_font.h>

Inheritance diagram for hk_font:

Inheritance graph
[legend]
Collaboration diagram for hk_font:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 hk_font (const hk_string &fontname, int fontsize)
 hk_font (const hk_font &)
void set_font (const hk_string &fontname, int fontsize)
void set_font (const hk_font &)
hk_string fontname (void) const
int fontsize (void) const
void set_bold (bool)
bool bold (void) const
void set_italic (bool)
bool italic (void) const
bool operator= (const hk_font &)
bool operator== (const hk_font &)
bool operator!= (const hk_font &)
hk_string psfontname (void)
bool text2lines (int fixedwidth, list< hk_string > *l, const hk_string &text)
virtual void savedata (ostream &s)
virtual void loaddata (xmlNodePtr definition)
void set_encodingtab (hk_encodingtab *t)
hk_encodingtab * encodingtab (void) const
hk_url fontfile (void)
hk_string psfontembeddefinition (void)
HK_CHARSIZE char_ascender_size ()
HK_CHARSIZE char_descender_size ()
bool is_scaleable (void)
list< int > * available_sizes ()
void register_string (const hk_string &)

Static Public Member Functions

static void set_defaultfont (const hk_string &d, int s)
static hk_string defaultfontname (void)
static int defaultfontsize (void)
static list< hk_string > * fontlist ()

Protected Member Functions

void set_fontface (void)

Detailed Description

represents a font

Version:
Revision
1.16
Author:
Horst Knorr (hk_classes@knoda.org)


Member Function Documentation

bool hk_font::text2lines ( int  fixedwidth,
list< hk_string > *  l,
const hk_string &  text 
)

fixedwidth in zmm

void hk_font::savedata ( ostream &  s  )  [virtual]

stores the object's values to stream s. Especially used to store queries, forms and reports

Reimplemented from hk_class.

void hk_font::loaddata ( xmlNodePtr  definition  )  [virtual]

loads the object's values out of the definition string. Especially used to load queries, forms and reports

Reimplemented from hk_class.


The documentation for this class was generated from the following files:
Generated on Tue Nov 28 02:48:32 2006 for Databaseconnectionclasses by  doxygen 1.5.0