]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlength.h
remove unused code
[lyx.git] / src / lyxlength.h
index 6c79982f2360fa3aa36cba9693a84833a29b2332..1d84408fbce3a65a297925d224c87ec36ec48394 100644 (file)
@@ -36,10 +36,12 @@ public:
                EX, ///< Height of a small "x" for the current font.
                EM, ///< Width of capital "M" in current font.
                MU, ///< Math unit (18mu = 1em) for positioning in math mode
-               PW, ///< Percent of columnwidth both "%" or "%c"
-               PE, ///< FIXME
+               PW, ///< Percent of columnwidth
+               PE, ///< Percent of textwidth
                PP, ///< Percent of pagewidth
                PL, ///< Percent of linewidth
+               TH, ///< Percent of textheight          // Herbert 2002-05-16
+               PH, ///< Percent of paperheight         // Herbert 2002-05-16
                UNIT_NONE ///< no unit
        };
 
@@ -67,6 +69,8 @@ public:
        string const asLatexString() const;
        /// return the on-screen size of this length
        int inPixels(int default_width, int default_height) const;
+       /// return the on-screen size of this length of an image
+       int inBP() const;
 
        /** If "data" is valid, the length represented by it is
          stored into "result", if that is not 0. */