]> git.lyx.org Git - lyx.git/blobdiff - src/Floating.h
Add a fixme, in effect, about dots.
[lyx.git] / src / Floating.h
index 3daaeec15b16c6fc52c9360c558238071f01c47e..50c94af53ad684763db02a400d2a36e9bea61f27 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -14,6 +14,9 @@
 
 #include <string>
 
+
+namespace lyx {
+
 /** This is a "float layout" object. It contains the parameters for how to
  *  handle the different kinds of floats, default ones and user created ones.
  *  Objects of this class is stored in a container in FloatList. The different
@@ -28,7 +31,9 @@ public:
        Floating(std::string const & type, std::string const & placement,
                 std::string const & ext, std::string const & within,
                 std::string const & style, std::string const & name,
-                std::string const & listName, bool builtin = false);
+                std::string const & listName, std::string const & htmlType,
+                std::string const & htmlClass, std::string const & htmlStyle,
+                bool builtin = false);
        ///
        std::string const & type() const;
        ///
@@ -43,6 +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;
+       /// tag type, defaults to "div"
+       std::string const & htmlTag() const;
        ///
        bool builtin() const;
 private:
@@ -60,8 +71,17 @@ private:
        std::string name_;
        ///
        std::string listName_;
+       /// 
+       mutable std::string html_tag_;
+       /// 
+       mutable std::string html_class_;
+       /// 
+       std::string html_style_;
        ///
        bool builtin_;
 };
 
+
+} // namespace lyx
+
 #endif