/// return the Qt form of the label
docstring const getLabel(docstring const & ucs4str) {
/// return the Qt form of the label
docstring const getLabel(docstring const & ucs4str) {
string str = lyx::to_utf8(ucs4str);
string label;
string sc(split(str, label, '|'));
string str = lyx::to_utf8(ucs4str);
string label;
string sc(split(str, label, '|'));
temp += lyx::from_utf8(getContents());
if (!isLatex && !getOptions().empty()) {
temp += "||";
temp += lyx::from_utf8(getContents());
if (!isLatex && !getOptions().empty()) {
temp += "||";
temp += lyx::from_utf8(getOptions());
}
return temp;
temp += lyx::from_utf8(getOptions());
}
return temp;
int InsetRef::plaintext(Buffer const &, lyx::odocstream & os,
OutputParams const &) const
{
int InsetRef::plaintext(Buffer const &, lyx::odocstream & os,
OutputParams const &) const
{
os << '[' << lyx::from_utf8(getContents()) << ']';
return 0;
}
os << '[' << lyx::from_utf8(getContents()) << ']';
return 0;
}