]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.h
continue spellchecking after "replace all"
[lyx.git] / src / Layout.h
index b9f099349bf1410acde7545c5ce2f31c0e249ca8..aeca0f4f83ae7c9b6a84b672704d0aefb61a0fe2 100644 (file)
@@ -120,8 +120,12 @@ public:
        std::string const & htmllabel() const { return htmllabel_; }
        /// 
        std::string const & htmllabelattr() const { return htmllabelattr_; }
+       ///
+       bool htmllabelfirst() const { return htmllabelfirst_; }
        /// 
        docstring const & htmlstyle() const { return htmlstyle_; }
+       /// 
+       docstring const & htmlpreamble() const { return htmlpreamble_; }
        ///
        docstring const & labelstring_appendix() const {
                return labelstring_appendix_;
@@ -304,8 +308,17 @@ private:
        std::string htmllabel_;
        /// Attributes for the label.
        std::string htmllabelattr_;
+       /// Whether to put the label before the item, or within the item.
+       /// I.e., do we have (true):
+       ///    <label>...</label><item>...</item>
+       /// or instead (false):
+       ///    <item><label>...</label>...</item>
+       /// The latter is the default.
+       bool htmllabelfirst_;
        /// CSS information needed by this layout.
        docstring htmlstyle_;
+       /// Any other info for the HTML header.
+       docstring htmlpreamble_;
        /// This is the `category' for this layout. The following are
        /// recommended basic categories: FrontMatter, BackMatter, MainText,
        /// Section, Starred, List, Theorem.