X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFloating.h;h=d50fa90870e8b86d5a3eb895f243e2f3e53df84e;hb=225c1dbe55635a97b183909ea7194b8d92051378;hp=358bedf0bd76674db9c929f762853a9d7d063f4f;hpb=abc81b5c0734c7a913d615a044f1954e4a8119d8;p=lyx.git diff --git a/src/Floating.h b/src/Floating.h index 358bedf0bd..d50fa90870 100644 --- a/src/Floating.h +++ b/src/Floating.h @@ -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_;