]> git.lyx.org Git - lyx.git/blob - src/lengthcommon.h
go through horrendous contortions to work around font breakage in every
[lyx.git] / src / lengthcommon.h
1 // -*- C++ -*-
2
3 #ifndef LENGTH_COMMON_H
4 #define LENGTH_COMMON_H
5
6 #include "LString.h"
7 #include "lyxlength.h"
8
9 /// the number of units possible
10 extern int const num_units;
11
12 /**
13  * array of unit names
14  *
15  * FIXME: I am not sure if "mu" should be possible to select (Lgb)
16  */
17 extern char const * unit_name[];
18 extern char const * unit_name_gui[];
19 extern char const * unit_name_ltx[];
20
21 /// return the unit given a string representation such as "cm"
22 LyXLength::UNIT unitFromString(string const & data);
23
24
25 #endif // LENGTH_COMMON_H