mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
0a8631ad44
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4574 a592a061-630c-0410-9148-cb99ea01b6c8
23 lines
450 B
C++
23 lines
450 B
C++
// -*- C++ -*-
|
|
|
|
#ifndef LENGTH_COMMON_H
|
|
#define LENGTH_COMMON_H
|
|
|
|
#include "LString.h"
|
|
#include "lyxlength.h"
|
|
|
|
/// the number of units possible
|
|
extern int const num_units;
|
|
|
|
/**
|
|
* array of unit names
|
|
*
|
|
* FIXME: I am not sure if "mu" should be possible to select (Lgb)
|
|
*/
|
|
extern char const * unit_name[];
|
|
|
|
/// return the unit given a string representation such as "cm"
|
|
LyXLength::UNIT unitFromString(string const & data);
|
|
|
|
#endif // LENGTH_COMMON_H
|