/Users/ericb/Desktop/SRC680_m247/starmath/source/format.cxx File Reference

#include "precompiled_starmath.hxx"
#include <tools/stream.hxx>
#include <vcl/svapp.hxx>
#include <svx/scripttypeitem.hxx>
#include "format.hxx"

Include dependency graph for format.cxx:

Go to the source code of this file.

Functions

String GetDefaultFontName (LanguageType nLang, USHORT nIdent)

Variables

static const USHORT aLatinDefFnts [FNT_END]
static const USHORT aCJKDefFnts [FNT_END]
static const USHORT aCTLDefFnts [FNT_END]


Function Documentation

String GetDefaultFontName ( LanguageType  nLang,
USHORT  nIdent 
)

Definition at line 99 of file format.cxx.

References aCJKDefFnts, aCTLDefFnts, aLatinDefFnts, FNT_END, FNT_MATH, and FNTNAME_MATH.

Referenced by SmMathConfig::LoadFormat().


Variable Documentation

const USHORT aCJKDefFnts[FNT_END] [static]

Initial value:

{
    DEFAULTFONT_SERIF,          
    DEFAULTFONT_SERIF,          
    DEFAULTFONT_SERIF,          
    DEFAULTFONT_CJK_TEXT,       
    DEFAULTFONT_CJK_TEXT,       
    DEFAULTFONT_CJK_DISPLAY,    
    DEFAULTFONT_CJK_TEXT        
    
}
we use non-asian fonts for variables, functions and numbers since they look better and even in asia only latin letters will be used for those. At least that's what I was told...

Definition at line 73 of file format.cxx.

Referenced by GetDefaultFontName().

const USHORT aCTLDefFnts[FNT_END] [static]

Initial value:

{
    DEFAULTFONT_CTL_TEXT,    
    DEFAULTFONT_CTL_TEXT,    
    DEFAULTFONT_CTL_TEXT,    
    DEFAULTFONT_CTL_TEXT,    
    DEFAULTFONT_CTL_TEXT,    
    DEFAULTFONT_CTL_TEXT,    
    DEFAULTFONT_CTL_TEXT     
    
}

Definition at line 86 of file format.cxx.

Referenced by GetDefaultFontName().

const USHORT aLatinDefFnts[FNT_END] [static]

Initial value:

{
    DEFAULTFONT_SERIF,  
    DEFAULTFONT_SERIF,  
    DEFAULTFONT_SERIF,  
    DEFAULTFONT_SERIF,  
    DEFAULTFONT_SERIF,  
    DEFAULTFONT_SANS,   
    DEFAULTFONT_FIXED   
    
}

Definition at line 57 of file format.cxx.

Referenced by GetDefaultFontName().


Generated on Wed Feb 20 17:22:22 2008 for maths by  doxygen 1.5.1