]> git.lyx.org Git - lyx.git/blobdiff - src/Floating.h
Some cleanup for the Floating class.
[lyx.git] / src / Floating.h
index acb98f7e8a2c9dcb7ba007b191468288f1c780e9..29ec3dc04506f9c7b1bf30e04e8cf0497cfc9d86 100644 (file)
@@ -35,30 +35,32 @@ public:
                 std::string const & htmlClass, std::string const & htmlStyle,
                 bool builtin = false);
        ///
-       std::string const & type() const;
+       std::string const & floattype() const { return floattype_; }
        ///
-       std::string const & placement() const;
+       std::string const & placement() const { return placement_; }
        ///
-       std::string const & ext() const;
+       std::string const & ext() const {return ext_; }
        ///
-       std::string const & within() const;
+       std::string const & within() const { return within_; }
        ///
-       std::string const & style() const;
+       std::string const & style() const { return style_; }
        ///
-       std::string const & name() const;
+       std::string const & name() const { return name_; }
        ///
-       std::string const & listName() const;
+       std::string const & listName() const { return listname_; }
+       ///
+       bool builtin() const { return builtin_; }
        /// style information, for preamble
-       std::string const & htmlStyle() const;
+       std::string const & htmlStyle() const { return html_style_; }
        /// class, for css, defaults to "float-" + type()
-       std::string const & htmlClass() const;
+       std::string const & htmlAttrib() const;
        /// tag type, defaults to "div"
        std::string const & htmlTag() const;
-       ///
-       bool builtin() const;
 private:
        ///
-       std::string type_;
+       std::string defaultCSSClass() const;
+       ///
+       std::string floattype_;
        ///
        std::string placement_;
        ///
@@ -70,15 +72,17 @@ private:
        ///
        std::string name_;
        ///
-       std::string listName_;
-       /// 
-       mutable std::string htmlTag_;
+       std::string listname_;
+       ///
+       bool builtin_;
        /// 
-       mutable std::string htmlClass_;
+       mutable std::string html_tag_;
        /// 
-       std::string htmlStyle_;
+       mutable std::string html_attrib_;
        ///
-       bool builtin_;
+       mutable std::string defaultcssclass_;
+       /// 
+       std::string html_style_;
 };