]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.h
tex2lyx/text.cpp: fix typos
[lyx.git] / src / insets / InsetLayout.h
index 502428beb0c729bfae03ee06fd5c1008ef9080ef..4619abcb0a363fe520009af7d7cae1ce7677649b 100644 (file)
@@ -82,6 +82,11 @@ public:
        ColorCode bgcolor() const { return bgcolor_; }
        ///
        docstring preamble() const { return preamble_; }
+       /// Get language dependent macro definitions needed for this inset
+       docstring const langpreamble() const { return langpreamble_; }
+       /// Get language and babel dependent macro definitions needed for
+       /// this inset
+       docstring const babelpreamble() const { return babelpreamble_; }
        ///
        docstring counter() const { return counter_; }
        ///
@@ -144,6 +149,8 @@ public:
        bool spellcheck() const { return spellcheck_; }
        ///
        bool resetsFont() const { return resetsfont_; }
+       ///
+       bool isDisplay() const { return display_; }
 private:
        ///
        void makeDefaultCSS() const;
@@ -181,6 +188,10 @@ private:
        docstring counter_;
        ///
        docstring preamble_;
+       /// Language dependent macro definitions needed for this inset
+       docstring langpreamble_;
+       /// Language and babel dependent macro definitions needed for this inset
+       docstring babelpreamble_;
        ///
        docstring refprefix_;
        ///
@@ -232,6 +243,8 @@ private:
        bool spellcheck_;
        ///
        bool resetsfont_;
+       ///
+       bool display_;
 };
 
 ///