From 357af8a211f0f693d7ff81af64f9a8fe7caf39d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Fri, 17 Jul 2009 00:59:41 +0000 Subject: [PATCH] Length.h: partly revert r30595 , for an unknown reason the percent lengths are hardcoded git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30640 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Length.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Length.h b/src/Length.h index 3a7e87a91c..41033084c7 100644 --- a/src/Length.h +++ b/src/Length.h @@ -50,12 +50,12 @@ public: PC, ///< Pica = 12pt = 4.218mm PT, ///< Point = 1/72.27in = 0.351mm SP, ///< Scaled point (65536sp = 1pt) TeX's smallest unit. + PTW, //< Percent of TextWidth PCW, //< Percent of ColumnWidth - PLW, //< Percent of LineWidth - PPH, //< Percent of PaperHeight // Herbert 2002-05-16 PPW, //< Percent of PageWidth - PTH, //< Percent of TextHeight // Herbert 2002-05-16 - PTW, //< Percent of TextWidth + PLW, //< Percent of LineWidth + PTH, //< Percent of TextHeight // Herbert 2002-05-16 + PPH, //< Percent of PaperHeight // Herbert 2002-05-16 UNIT_NONE ///< no unit }; @@ -100,6 +100,8 @@ public: friend bool isValidLength(std::string const & data, Length * result); private: + /// This HSpace kind + HSpaceKind kind_; /// double val_; /// -- 2.39.2