]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.h
tex2lyx/text.cpp: fix typos
[lyx.git] / src / insets / InsetLayout.h
index 82fbe75edc6eb42a54690834de8e81a95ca7aa00..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_; }
        ///
@@ -142,6 +147,10 @@ public:
        bool isInToc() const { return intoc_; }
        ///
        bool spellcheck() const { return spellcheck_; }
+       ///
+       bool resetsFont() const { return resetsfont_; }
+       ///
+       bool isDisplay() const { return display_; }
 private:
        ///
        void makeDefaultCSS() const;
@@ -179,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_;
        ///
@@ -228,6 +241,10 @@ private:
        bool intoc_;
        /// check spelling of this inset?
        bool spellcheck_;
+       ///
+       bool resetsfont_;
+       ///
+       bool display_;
 };
 
 ///