using std::endl;
using std::upper_bound;
+using std::lower_bound;
using std::string;
using std::ostream;
os << c;
} else {
InsetOld const * inset = owner_->getInset(i);
- inset->ascii(buf, os, 0);
+ inset->ascii(buf, os, runparams);
}
return;
}
}
bool close = false;
- int const len = os.tellp();
- //ostream::pos_type const len = os.tellp();
+ ostream::pos_type const len = os.tellp();
+
if ((inset->lyxCode() == InsetOld::GRAPHICS_CODE
|| inset->lyxCode() == InsetOld::MATH_CODE
|| inset->lyxCode() == InsetOld::URL_CODE)
texrow.start(owner_->id(), i + 1);
column = 0;
} else {
- column += int(os.tellp()) - len;
+ column += os.tellp() - len;
}
}
break;
BufferParams const & bparams = features.bufferParams();
// check the params.
- if (params.lineTop() || params.lineBottom())
- features.require("lyxline");
if (!params.spacing().isDefault())
features.require("setspace");