]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlength.h
partial framebox support
[lyx.git] / src / lyxlength.h
index 6c79982f2360fa3aa36cba9693a84833a29b2332..93272d7429cb5e59ae3480d2604d6c207f2023ef 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
-               PP, ///< Percent of pagewidth
-               PL, ///< Percent of linewidth
+               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
        };
 
@@ -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. */