]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetScript.h
Do not output deleted rows columns if show changes in output is false
[lyx.git] / src / insets / InsetScript.h
index 0b755aa118e83031a63898ec80ca47afaaffea6b..1aee8e8dd00852085b125e70cd4bc8c27c744d8d 100644 (file)
@@ -67,6 +67,8 @@ public:
        ///
        docstring layoutName() const;
        ///
+       DisplayType display() const;
+       ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -84,7 +86,7 @@ public:
        ///
        bool neverIndent() const { return true; }
        ///
-       bool inheritFont() const { return false; }
+       bool inheritFont() const { return true; }
        ///
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
@@ -127,6 +129,8 @@ private:
        friend class InsetScriptParams;
        ///
        InsetScriptParams params_;
+       /// The font of containing inset; this is necessary to compute shift
+       mutable FontInfo outer_font_;
 };