]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.h
#7379 avoid the wrap spell check question when buffer is empty
[lyx.git] / src / insets / InsetLayout.h
index 0fcbad20d0ac645eac01deff28820dcb3ef0a430..5b88cb89836187b7552f0ea5d965ff77bf1672bb 100644 (file)
@@ -84,6 +84,8 @@ public:
        docstring preamble() const { return preamble_; }
        ///
        docstring counter() const { return counter_; }
+       ///
+       docstring refprefix() const { return refprefix_; }
        /// The tag enclosing all the material in this inset. Default is "span".
        std::string const & htmltag() const;
        /// Additional attributes for inclusion with the start tag. Default (if
@@ -127,6 +129,8 @@ public:
        ///
        bool isPassThru() const { return passthru_; }
        ///
+       bool parbreakIsNewline() const { return parbreakisnewline_; }
+       ///
        bool isNeedProtect() const { return needprotect_; }
        ///
        bool isFreeSpacing() const { return freespacing_; }
@@ -138,6 +142,10 @@ public:
        bool isInToc() const { return intoc_; }
        ///
        bool spellcheck() const { return spellcheck_; }
+       ///
+       bool resetsFont() const { return resetsfont_; }
+       ///
+       bool isDisplay() const { return display_; }
 private:
        ///
        void makeDefaultCSS() const;
@@ -176,6 +184,8 @@ private:
        ///
        docstring preamble_;
        ///
+       docstring refprefix_;
+       ///
        mutable std::string htmltag_;
        ///
        mutable std::string htmlattr_;
@@ -209,17 +219,23 @@ private:
        ///
        bool passthru_;
        ///
-       bool needprotect_;
+       bool parbreakisnewline_;
        ///
        bool freespacing_;
        ///
        bool keepempty_;
        ///
        bool forceltr_;
+       ///
+       bool needprotect_;
        /// should the contents be written to TOC strings?
        bool intoc_;
        /// check spelling of this inset?
        bool spellcheck_;
+       ///
+       bool resetsfont_;
+       ///
+       bool display_;
 };
 
 ///