string InsetRef::getScreenLabel() const
{
static char const * labels[REF_LAST+1]
- = { N_("Ref: "), N_("Page: "), N_("vRef: "), N_("vPage: "),
+ = { N_("Ref: "), N_("Page: "), N_("TextRef: "), N_("TextPage: "),
N_("PrettyRef: ")};
string temp = _(labels[flag]) + getContents();
if(!current_view->buffer()->isLatex()
}
-int InsetRef::Latex(ostream & os,
+int InsetRef::Latex(Buffer const *, ostream & os,
bool /*fragile*/, bool /*fs*/) const
{
if(getOptions().empty())
}
-int InsetRef::Ascii(ostream & os) const
+int InsetRef::Ascii(Buffer const *, ostream & os) const
{
os << "[" << getContents() << "]";
return 0;
}
-int InsetRef::Linuxdoc(ostream & os) const
+int InsetRef::Linuxdoc(Buffer const *, ostream & os) const
{
os << "<ref id=\"" << getContents()
<< "\" name=\"" << getOptions() << "\" >";
}
-int InsetRef::DocBook(ostream & os) const
+int InsetRef::DocBook(Buffer const *, ostream & os) const
{
os << "<link linkend=\"" << getContents()
<< "\">" << getOptions() << "</link>";