]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.h
GuiSearch did not work with num. keypad enter
[lyx.git] / src / Layout.h
index 102bab6abab71310932534c73f565cd3498d6deb..4eb8412723b9263d75427e4b71afcef11b4801d0 100644 (file)
@@ -115,6 +115,7 @@ public:
                docstring docbooktag;
                docstring docbooktagtype;
                docstring docbookattr;
+               bool docbookargumentbeforemaintag = false;
        };
        ///
        typedef std::map<std::string, latexarg> LaTeXArgMap;
@@ -250,6 +251,8 @@ public:
        ///
        std::string const & docbookforceabstracttag() const;
        ///
+       bool docbooknofontinside() const { return docbooknofontinside_; }
+       ///
        bool isParagraph() const { return latextype == LATEX_PARAGRAPH; }
        ///
        bool isCommand() const { return latextype == LATEX_COMMAND; }
@@ -267,13 +270,13 @@ public:
        bool labelIsInline() const {
                return labeltype == LABEL_STATIC
                        || labeltype == LABEL_SENSITIVE
-                 || labeltype == LABEL_ENUMERATE
+                       || labeltype == LABEL_ENUMERATE
                        || labeltype == LABEL_ITEMIZE;
        }
        bool labelIsAbove() const {
                return labeltype == LABEL_ABOVE
                        || labeltype == LABEL_CENTERED
-                 || labeltype == LABEL_BIBLIO;
+                       || labeltype == LABEL_BIBLIO;
        }
        ///
        bool addToToc() const { return add_to_toc_; }
@@ -572,6 +575,8 @@ private:
        /// in LyX must be considered as the abstract if this is true); this text must be output with the specific tag
        /// held by this attribute
        mutable std::string docbookforceabstracttag_;
+       /// Whether font tags are allowed inside this tag.
+       bool docbooknofontinside_ = false;
        /// Should we generate the default CSS for this layout, even if HTMLStyle
        /// has been given? Default is false.
        /// Note that the default CSS is output first, then the user CSS, so it is