lyx_mirror/src/lengthcommon.h

26 lines
525 B
C
Raw Normal View History

// -*- 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[];
extern char const * unit_name_gui[];
extern char const * unit_name_ltx[];
/// return the unit given a string representation such as "cm"
LyXLength::UNIT unitFromString(string const & data);
#endif // LENGTH_COMMON_H