]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.h
Circumvent odd stmary font metrics (part of #9990).
[lyx.git] / src / insets / InsetLayout.h
index d2e6458c2d491dceb357879c9a29db7523a81e14..c1bbe5c07371afa2b14764d9d6c0dc85de57b493 100644 (file)
@@ -156,6 +156,8 @@ public:
        ///
        bool isPassThru() const { return passthru_; }
        ///
+       docstring passThruChars() const { return passthru_chars_; }
+       ///
        bool parbreakIsNewline() const { return parbreakisnewline_; }
        ///
        bool isNeedProtect() const { return needprotect_; }
@@ -179,6 +181,12 @@ public:
        bool forcelocalfontswitch() const { return forcelocalfontswitch_; }
        ///
        docstring const & obsoleted_by() const { return obsoleted_by_; }
+       ///
+       bool addToToc() const { return add_to_toc_; }
+       ///
+       std::string tocType() const { return toc_type_; }
+       ///
+       bool isTocCaption() const { return is_toc_caption_; }
 private:
        ///
        void makeDefaultCSS() const;
@@ -262,6 +270,8 @@ private:
        ///
        bool passthru_;
        ///
+       docstring passthru_chars_;
+       ///
        bool parbreakisnewline_;
        ///
        bool freespacing_;
@@ -292,6 +302,12 @@ private:
        Layout::LaTeXArgMap latexargs_;
        ///
        Layout::LaTeXArgMap postcommandargs_;
+       ///
+       bool add_to_toc_;
+       ///
+       std::string toc_type_;
+       ///
+       bool is_toc_caption_;
 };
 
 ///