]> 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 6cd518bf386e82487f2d59fa0f69cb9f9a797c1a..acb98f7e8a2c9dcb7ba007b191468288f1c780e9 100644 (file)
@@ -48,12 +48,12 @@ public:
        std::string const & name() const;
        ///
        std::string const & listName() const;
-       /// 
+       /// style information, for preamble
        std::string const & htmlStyle() const;
-       ///
+       /// class, for css, defaults to "float-" + type()
        std::string const & htmlClass() const;
-       ///
-       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_;