// Prints out the buffer info into the .lyx file given by file
// the textclass
- os << "\\textclass " << textclasslist.NameOfClass(textclass) << '\n';
+ os << "\\textclass " << textclasslist[textclass].name() << '\n';
// then the the preamble
if (!preamble.empty()) {
}
else {
os << "\\bulletLaTeX " << i
- << "\n\t"
+ << "\n\t\""
<< user_defined_bullets[i].getText()
- << "\n\\end_bullet\n";
+ << "\"\n\\end_bullet\n";
}
}
}
void BufferParams::useClassDefaults()
{
- LyXTextClass const & tclass = textclasslist.TextClass(textclass);
+ LyXTextClass const & tclass = textclasslist[textclass];
sides = tclass.sides();
columns = tclass.columns();
bool BufferParams::hasClassDefaults() const
{
- LyXTextClass const & tclass = textclasslist.TextClass(textclass);
+ LyXTextClass const & tclass = textclasslist[textclass];
return (sides == tclass.sides()
&& columns == tclass.columns()