X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFloating.h;h=096379a03388589e5e52db4ff5c35f67bf4dcb3e;hb=2098f1d8c20d51e63e670bcdc9da8996068975bf;hp=ae1a95f87be0a7e91dc05d2b9d2715eb0d8f4d3b;hpb=6eb15ce7229b74d45554d0b17f90bfd71c96483e;p=lyx.git diff --git a/src/Floating.h b/src/Floating.h index ae1a95f87b..096379a033 100644 --- a/src/Floating.h +++ b/src/Floating.h @@ -50,13 +50,15 @@ public: std::string const & listName() const; /// style information, for preamble std::string const & htmlStyle() const; - /// class, for css - std::string const & htmlClass() const; - /// tag type - std::string const & htmlType() const; + /// class, for css, defaults to "float-" + type() + std::string const & htmlAttrib() const; + /// tag type, defaults to "div" + std::string const & htmlTag() const; /// bool builtin() const; private: + /// + std::string defaultCSSClass() const; /// std::string type_; /// @@ -71,12 +73,14 @@ 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 - std::string htmlStyle_; + /// + mutable std::string html_tag_; + /// + mutable std::string html_attrib_; + /// + mutable std::string defaultcssclass_; + /// + std::string html_style_; /// bool builtin_; };