]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.h
Fix use of std::regex_match
[lyx.git] / src / insets / InsetLayout.h
index 3bab0a48981e19b8369b33a2430b5ed6e31bcf2b..00e3ba64d7184cc90143a4d813a4fc81e8deee1b 100644 (file)
@@ -44,7 +44,6 @@ public:
                NOLYXTYPE,
                CHARSTYLE,
                CUSTOM,
-               ELEMENT,
                END,
                STANDARD
        };
@@ -149,6 +148,10 @@ public:
        /// Defaults to true.
        bool htmlisblock() const { return htmlisblock_; }
        ///
+       std::string docbooktag() const { return docbooktag_; }
+       ///
+       std::string docbookattr() const { return docbookattr_; }
+       ///
        std::set<std::string> required() const { return required_; }
        ///
        bool isMultiPar() const { return multipar_; }
@@ -213,7 +216,7 @@ private:
        /**
                * This is only used (at present) to decide where to put them on the menus.
                * Values are 'charstyle', 'custom' (things that by default look like a
-               * footnote), 'element' (docbook), 'standard'.
+               * footnote), 'standard'.
                */
        InsetLyXType lyxtype_;
        ///
@@ -276,6 +279,10 @@ private:
        ///
        bool htmlisblock_;
        ///
+       std::string docbooktag_;
+       ///
+       std::string docbookattr_;
+       ///
        std::set<std::string> required_;
        ///
        bool multipar_;