void GuiDocument::classChanged()
{
- TextClassIndex const tc = latexModule->classCO->currentIndex();
+ textclass_type const tc = latexModule->classCO->currentIndex();
bp_.setBaseClass(tc);
if (lyxrc.auto_reset_options) {
if (applyPB->isEnabled()) {
namespace {
- // This is an insanely complicated attempt to make this sort of thing
- // work with RTL languages.
+ //This is an insanely complicated attempt to make this sort of thing
+ //work with RTL languages.
docstring formatStrVec(vector<string> const & v, docstring const & s)
{
//this mess formats the list as "v[0], v[1], ..., [s] v[n]"
}
// text layout
- latexModule->classCO->setCurrentIndex(params.baseClass());
+ latexModule->classCO->setCurrentIndex(params.getBaseClass());
updatePagestyle(textClass().opt_pagestyle(),
params.pagestyle);
TextClass const & GuiDocument::textClass() const
{
- return textclasslist[bp_.baseClass()];
+ return textclasslist[bp_.getBaseClass()];
}