mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
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
This commit is contained in:
parent
375d1526bb
commit
357af8a211
12
src/Length.h
12
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.
|
||||
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
|
||||
PCW, //< Percent of ColumnWidth
|
||||
PPW, //< Percent of PageWidth
|
||||
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_;
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user