X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFloating.h;h=096379a03388589e5e52db4ff5c35f67bf4dcb3e;hb=2098f1d8c20d51e63e670bcdc9da8996068975bf;hp=6cd518bf386e82487f2d59fa0f69cb9f9a797c1a;hpb=4ad536375f7c38c121cb5a0f7c40e6e4891ec1f5;p=lyx.git diff --git a/src/Floating.h b/src/Floating.h index 6cd518bf38..096379a033 100644 --- a/src/Floating.h +++ b/src/Floating.h @@ -48,15 +48,17 @@ public: std::string const & name() const; /// std::string const & listName() const; - /// + /// style information, for preamble std::string const & htmlStyle() const; - /// - std::string const & htmlClass() const; - /// - 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_; };