]> git.lyx.org Git - lyx.git/blobdiff - src/Floating.h
A bit of renaming, plus default values for htmlTag() and htmlClass().
[lyx.git] / src / Floating.h
index ae1a95f87be0a7e91dc05d2b9d2715eb0d8f4d3b..acb98f7e8a2c9dcb7ba007b191468288f1c780e9 100644 (file)
@@ -50,10 +50,10 @@ public:
        std::string const & listName() const;
        /// style information, for preamble
        std::string const & htmlStyle() const;
-       /// class, for css
+       /// class, for css, defaults to "float-" + type()
        std::string const & htmlClass() const;
-       /// tag type
-       std::string const & htmlType() const;
+       /// tag type, defaults to "div"
+       std::string const & htmlTag() const;
        ///
        bool builtin() const;
 private:
@@ -71,11 +71,11 @@ private:
        std::string name_;
        ///
        std::string listName_;
-       /// HTML Element type, usually div
-       std::string htmlType_;
-       /// class attribute, e.g., float-table, for CSS
-       std::string htmlClass_;
-       /// CSS information for this element
+       /// 
+       mutable std::string htmlTag_;
+       /// 
+       mutable std::string htmlClass_;
+       /// 
        std::string htmlStyle_;
        ///
        bool builtin_;