]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.h
Properly fix handling of title layouts within insets (#11787)
[lyx.git] / src / insets / InsetLayout.h
index f36afa11563a7a25ae3d7c7609831e7bc577de2e..3bab0a48981e19b8369b33a2430b5ed6e31bcf2b 100644 (file)
@@ -56,7 +56,8 @@ public:
                ILT_ERROR
        };
        ///
-       bool read(Lexer & lexrc, TextClass const & tclass);
+       bool read(Lexer & lexrc, TextClass const & tclass,
+                       bool validating = false);
        ///
        docstring name() const { return name_; }
        ///
@@ -148,7 +149,7 @@ public:
        /// Defaults to true.
        bool htmlisblock() const { return htmlisblock_; }
        ///
-       std::set<std::string> requires() const { return requires_; }
+       std::set<std::string> required() const { return required_; }
        ///
        bool isMultiPar() const { return multipar_; }
        ///
@@ -164,6 +165,8 @@ public:
        ///
        bool parbreakIsNewline() const { return parbreakisnewline_; }
        ///
+       bool parbreakIgnored() const { return parbreakignored_; }
+       ///
        bool isNeedProtect() const { return needprotect_; }
        ///
        bool needsCProtect() const { return needcprotect_; }
@@ -273,7 +276,7 @@ private:
        ///
        bool htmlisblock_;
        ///
-       std::set<std::string> requires_;
+       std::set<std::string> required_;
        ///
        bool multipar_;
        ///
@@ -289,6 +292,8 @@ private:
        ///
        bool parbreakisnewline_;
        ///
+       bool parbreakignored_;
+       ///
        bool freespacing_;
        ///
        bool keepempty_;