]> git.lyx.org Git - lyx.git/blobdiff - src/Floating.cpp
Track change of label name
[lyx.git] / src / Floating.cpp
index 72b81190a126f71c2bd3d2e3419d9d5bb4ca676b..9074c3922dde3985a625096eaf2f38f6a5bbd3f3 100644 (file)
@@ -30,11 +30,12 @@ Floating::Floating(string const & type, string const & placement,
                   string const & listName, std::string const & listCmd,
                   string const & refPrefix, std::string const & allowedplacement,
                   string const & htmlTag, string const & htmlAttrib,
-                  docstring const & htmlStyle, bool usesfloat, bool ispredefined,
+                  docstring const & htmlStyle, string const & requires, 
+                  bool usesfloat, bool ispredefined,
                   bool allowswide, bool allowssideways)
        : floattype_(type), placement_(placement), ext_(ext), within_(within),
          style_(style), name_(name), listname_(listName), listcommand_(listCmd),
-         refprefix_(refPrefix), allowedplacement_(allowedplacement),
+         refprefix_(refPrefix), allowedplacement_(allowedplacement), requires_(requires),
          usesfloatpkg_(usesfloat), ispredefined_(ispredefined),
          allowswide_(allowswide), allowssideways_(allowssideways),
          html_tag_(htmlTag), html_attrib_(htmlAttrib), html_style_(htmlStyle)
@@ -58,7 +59,7 @@ string const & Floating::htmlTag() const
 
 
 string Floating::defaultCSSClass() const
-{ 
+{
        if (!defaultcssclass_.empty())
                return defaultcssclass_;
        string d;