]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.h
Actually do the layout update
[lyx.git] / src / Layout.h
index a6c0d6c2eb06080290fdd8d8f14744a8da53a7ac..dd64bce75987879b9688d9efeabc9bad7f91f961 100644 (file)
@@ -193,6 +193,8 @@ public:
        ///
        std::string const & htmllabelattr() const;
        ///
+       bool htmlintoc() const { return htmlintoc_; }
+       ///
        std::string defaultCSSClass() const;
        ///
        bool htmllabelfirst() const { return htmllabelfirst_; }
@@ -408,11 +410,6 @@ public:
        /// Depth of XML command
        int commanddepth;
 
-       /// Return a pointer on a new layout suitable to describe a caption.
-       /// FIXME: remove this eventually. This is only for tex2lyx
-       /// until it has proper support for the caption inset (JMarc)
-       static Layout * forCaption();
-
        /// Is this spellchecked?
        bool spellcheck;
        /**
@@ -521,6 +518,8 @@ private:
        ///    <item><label>...</label>...</item>
        /// The latter is the default.
        bool htmllabelfirst_;
+       /// Is this to be output with the toc?
+       bool htmlintoc_;
        /// CSS information needed by this layout.
        docstring htmlstyle_;
        /// DocBook tag corresponding to this layout.