LibreOffice Module xmloff (master) 1
Variables
weighhdl.cxx File Reference
#include "weighhdl.hxx"
#include <sax/tools/converter.hxx>
#include <xmloff/xmltoken.hxx>
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/awt/FontWeight.hpp>
Include dependency graph for weighhdl.cxx:

Go to the source code of this file.

Variables

FontWeightMapper const aFontWeightMap []
 

Variable Documentation

◆ aFontWeightMap

FontWeightMapper const aFontWeightMap[]
Initial value:
=
{
{ css::awt::FontWeight::DONTKNOW, 0 },
{ css::awt::FontWeight::THIN, 100 },
{ css::awt::FontWeight::ULTRALIGHT, 150 },
{ css::awt::FontWeight::LIGHT, 250 },
{ css::awt::FontWeight::SEMILIGHT, 350 },
{ css::awt::FontWeight::NORMAL, 400 },
{ css::awt::FontWeight::NORMAL, 450 },
{ css::awt::FontWeight::SEMIBOLD, 600 },
{ css::awt::FontWeight::BOLD, 700 },
{ css::awt::FontWeight::ULTRABOLD, 800 },
{ css::awt::FontWeight::BLACK, 900 },
{ css::awt::FontWeight::DONTKNOW, 1000 }
}

Definition at line 44 of file weighhdl.cxx.

Referenced by XMLFontWeightPropHdl::exportXML(), and XMLFontWeightPropHdl::importXML().