]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.h
tex2lyx/text.cpp: fix typos
[lyx.git] / src / insets / InsetLayout.h
index ff3674aa5beb91a1619aaf2ea33b8bbe6280f84c..4619abcb0a363fe520009af7d7cae1ce7677649b 100644 (file)
@@ -82,8 +82,15 @@ 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_; }
+       ///
+       docstring refprefix() const { return refprefix_; }
        /// The tag enclosing all the material in this inset. Default is "span".
        std::string const & htmltag() const;
        /// Additional attributes for inclusion with the start tag. Default (if
@@ -127,6 +134,8 @@ public:
        ///
        bool isPassThru() const { return passthru_; }
        ///
+       bool parbreakIsNewline() const { return parbreakisnewline_; }
+       ///
        bool isNeedProtect() const { return needprotect_; }
        ///
        bool isFreeSpacing() const { return freespacing_; }
@@ -137,6 +146,11 @@ 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;
@@ -174,6 +188,12 @@ 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_;
        ///
        mutable std::string htmltag_;
        ///
@@ -208,15 +228,23 @@ private:
        ///
        bool passthru_;
        ///
-       bool needprotect_;
+       bool parbreakisnewline_;
        ///
        bool freespacing_;
        ///
        bool keepempty_;
        ///
        bool forceltr_;
+       ///
+       bool needprotect_;
        /// should the contents be written to TOC strings?
        bool intoc_;
+       /// check spelling of this inset?
+       bool spellcheck_;
+       ///
+       bool resetsfont_;
+       ///
+       bool display_;
 };
 
 ///