]> git.lyx.org Git - lyx.git/blobdiff - src/Floating.h
partial fix for bug 6986: Use the right tex2lyx (at least if tex2lyx is installed)
[lyx.git] / src / Floating.h
index 358bedf0bd76674db9c929f762853a9d7d063f4f..d50fa90870e8b86d5a3eb895f243e2f3e53df84e 100644 (file)
@@ -32,6 +32,7 @@ public:
                 std::string const & ext, std::string const & within,
                 std::string const & style, std::string const & name,
                 std::string const & listName, std::string const & listCmd,
+                std::string const & refPrefix,
                 std::string const & htmlType, std::string const & htmlClass, 
                 std::string const & htmlStyle, bool builtin = false);
        ///
@@ -52,6 +53,8 @@ public:
        /// if needsFloatPkg() is false. note that this should not contain
        /// the leading "\".
        std::string const & listCommand() const { return listcommand_; }
+       /// prefix to use for formatted references to such floats
+       std::string const & refPrefix() const { return refprefix_; }
        ///
        bool needsFloatPkg() const { return needsfloatpkg_; }
        /// style information, for preamble
@@ -80,6 +83,8 @@ private:
        ///
        std::string listcommand_;
        ///
+       std::string refprefix_;
+       ///
        bool needsfloatpkg_;
        /// 
        mutable std::string html_tag_;