]> git.lyx.org Git - features.git/commitdiff
Length.h: partly revert r30595 , for an unknown reason the percent lengths are hardcoded
authorUwe Stöhr <uwestoehr@web.de>
Fri, 17 Jul 2009 00:59:41 +0000 (00:59 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Fri, 17 Jul 2009 00:59:41 +0000 (00:59 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30640 a592a061-630c-0410-9148-cb99ea01b6c8

src/Length.h

index 3a7e87a91cde8e3e5a2e660242e28cdb07b2fc33..41033084c79e4ac40dbede9ebc992244d43bb55d 100644 (file)
@@ -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_;
        ///