* Licence details can be found in the file COPYING.
*
* \author Matthias Ettrich
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
* \author Jean-Marc Lasgouttes
* \author John Levon
*
std::string const asLatexString() const;
/// return the on-screen size of this length
int inPixels(int text_width, int em_width = 0) const;
- /// return the on-screen size of this length of an image
+ /// return the value in Big Postscript points.
int inBP() const;
+ /// return the default unit (centimeter or inch)
+ static UNIT defaultUnit();
+
friend bool isValidLength(std::string const & data, Length * result);
private: