4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
8 * \author Matthias Ettrich
9 * \author Jean-Marc Lasgouttes
12 * Full author contact details are available in file CREDITS.
15 #ifndef LENGTH_COMMON_H
16 #define LENGTH_COMMON_H
18 #include "lyxlength.h"
19 #include "support/std_string.h"
21 /// the number of units possible
22 extern int const num_units;
27 * FIXME: I am not sure if "mu" should be possible to select (Lgb)
29 extern char const * unit_name[];
30 extern char const * unit_name_gui[];
31 extern char const * unit_name_ltx[];
33 /// return the unit given a string representation such as "cm"
34 LyXLength::UNIT unitFromString(string const & data);
37 #endif // LENGTH_COMMON_H