mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
6c300f72a2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15422 a592a061-630c-0410-9148-cb99ea01b6c8
43 lines
843 B
C++
43 lines
843 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file lengthcommon.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Lars Gullik Bjønnes
|
|
* \author Matthias Ettrich
|
|
* \author Jean-Marc Lasgouttes
|
|
* \author John Levon
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef LENGTH_COMMON_H
|
|
#define LENGTH_COMMON_H
|
|
|
|
#include "lyxlength.h"
|
|
|
|
|
|
namespace lyx {
|
|
|
|
|
|
/// 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 * const unit_name[];
|
|
extern char const * const unit_name_gui[];
|
|
|
|
/// return the unit given a string representation such as "cm"
|
|
LyXLength::UNIT unitFromString(std::string const & data);
|
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
#endif // LENGTH_COMMON_H
|