]> git.lyx.org Git - lyx.git/blobdiff - src/MetricsInfo.h
Limit the nopassthurchars case in beamer to URL
[lyx.git] / src / MetricsInfo.h
index 94f86706a7fe1902548b208c0e89f5d40b0f6ef9..6f1d404822f2fca5d268a9fa7c388d3422e17d3f 100644 (file)
@@ -47,6 +47,8 @@ public:
        BufferView * bv;
        /// current font
        FontInfo font;
+       /// font of the containing inset
+       FontInfo outer_font;
        /// name of current font - mathed specific
        std::string fontname;
        /// This is the width available in pixels
@@ -56,6 +58,8 @@ public:
 
        /// Temporarily change a full font.
        Changer changeFontSet(std::string const & name);
+       /// Temporarily change font size in text mode, only record it in math mode.
+       Changer changeFontSize(std::string const & fontsize, bool mathmode);
        /// Temporarily change the font to math if needed.
        Changer changeEnsureMath(Inset::mode_type mode = Inset::MATH_MODE);
        // Temporarily change to the style suitable for use in fractions
@@ -105,6 +109,8 @@ public:
        bool vmode;
        /// if true, do not expand insets to max width artificially
        bool tight_insets;
+       /// Extra width required by an inset, in addition to its dimension
+       int extrawidth;
 };