]> git.lyx.org Git - lyx.git/blobdiff - src/Floating.h
* GuiDocument.cpp:
[lyx.git] / src / Floating.h
index d1b81c87ea4290a728cc7233873a55842891d91e..6cd518bf386e82487f2d59fa0f69cb9f9a797c1a 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.
  */
@@ -31,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;
        ///
@@ -46,6 +48,12 @@ public:
        std::string const & name() const;
        ///
        std::string const & listName() const;
+       /// 
+       std::string const & htmlStyle() const;
+       ///
+       std::string const & htmlClass() const;
+       ///
+       std::string const & htmlType() const;
        ///
        bool builtin() const;
 private:
@@ -63,6 +71,12 @@ 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_;
        ///
        bool builtin_;
 };