/// "data" must be a decimal number, followed by a unit
explicit LyXLength(string const & data);
-
+
///
double value() const;
///
void value(double);
///
void unit(LyXLength::UNIT unit);
-
- /// real length in SP
- //void lenght();
-
+ ///
+ bool zero() const;
/// conversion
string const asString() const;
///
///
bool operator==(LyXLength const & l1, LyXLength const & l2);
///
+bool operator!=(LyXLength const & l1, LyXLength const & l2);
+///
bool isValidLength(string const & data, LyXLength * result);
///
char const * stringFromUnit(int unit);