]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.h
Make the fake sequence for braces highly unlikely (addressing #6478).
[lyx.git] / src / Layout.h
index 596c082b5d6aca131dbaf661714cfd732cf2b1e6..1aaf9669426665ae61f93d31e16af67ac7976c77 100644 (file)
@@ -130,6 +130,8 @@ public:
        /// 
        docstring const & htmlpreamble() const { return htmlpreamble_; }
        ///
+       bool htmltitle() const { return htmltitle_; }
+       ///
        bool isParagraph() const { return latextype == LATEX_PARAGRAPH; }
        ///
        bool isCommand() const { return latextype == LATEX_COMMAND; }
@@ -347,6 +349,8 @@ private:
        mutable docstring htmldefaultstyle_;
        /// Any other info for the HTML header.
        docstring htmlpreamble_;
+       /// Whether this is the <title> paragraph.
+       bool htmltitle_;
        /// calculating this is expensive, so we cache it.
        mutable std::string defaultcssclass_;
        /// This is the `category' for this layout. The following are