lib

#include <fontstyle.h>

Public Member Functions

bool init (ContextStyle *context, bool install=true)
 
const SymbolTable * symbolTable () const
 
SymbolTable * symbolTable ()
 
Artwork * createArtwork (SymbolType type=EmptyBracket) const
 

Static Public Member Functions

static TQStringList missingFonts (bool install=true)
 
static void testFont (TQStringList &missing, const TQString &fontName)
 

Static Public Attributes

static bool m_installed = false
 

Detailed Description

Base class for all supported font styles.

Definition at line 41 of file fontstyle.h.

Constructor & Destructor Documentation

◆ ~FontStyle()

FontStyle::~FontStyle ( )
inline

Definition at line 43 of file fontstyle.h.

Member Function Documentation

◆ createArtwork()

Artwork * FontStyle::createArtwork ( SymbolType  type = EmptyBracket) const

Definition at line 142 of file fontstyle.cpp.

◆ init()

bool FontStyle::init ( ContextStyle *  context,
bool  install = true 
)

lazy init support.

Needs to be run before anything else.

Parameters
installif true fonts may be installed if needed

Definition at line 42 of file fontstyle.cpp.

◆ missingFonts()

TQStringList FontStyle::missingFonts ( bool  install = true)
static

Definition at line 91 of file fontstyle.cpp.

◆ symbolTable() [1/2]

SymbolTable * FontStyle::symbolTable ( )
inline

Definition at line 53 of file fontstyle.h.

◆ symbolTable() [2/2]

const SymbolTable * FontStyle::symbolTable ( ) const
inline

the table for ordinary symbols (those that have a unicode value)

Definition at line 52 of file fontstyle.h.

◆ testFont()

void FontStyle::testFont ( TQStringList &  missing,
const TQString &  fontName 
)
static

Definition at line 81 of file fontstyle.cpp.

Member Data Documentation

◆ m_installed

KFORMULA_NAMESPACE_BEGIN bool FontStyle::m_installed = false
static

Definition at line 59 of file fontstyle.h.


The documentation for this class was generated from the following files: