#include "support/lstrings.h"
#include "support/lyxalgo.h"
+using namespace std;
+using namespace lyx::support;
namespace lyx {
{}
+CommandInfo const * InsetLabel::findInfo(string const & /* cmdName */)
+{
+ static const char * const paramnames[] = {"name", ""};
+ static const bool isoptional[] = {false};
+ static const CommandInfo info = {1, paramnames, isoptional};
+ return &info;
+}
+
+
Inset * InsetLabel::clone() const
{
return new InsetLabel(params());
}
-void InsetLabel::getLabelList(Buffer const &, std::vector<docstring> & list) const
+void InsetLabel::getLabelList(Buffer const &, vector<docstring> & list) const
{
list.push_back(getParam("name"));
}
int InsetLabel::latex(Buffer const &, odocstream & os,
OutputParams const &) const
{
- os << support::escape(getCommand());
+ os << escape(getCommand());
return 0;
}