}
-void InsetTabular::updateLabels(ParIterator const & it, bool out)
+void InsetTabular::updateLabels(ParIterator const & it, UpdateType utype)
{
// In a longtable, tell captions what the current float is
Counters & cnts = buffer().masterBuffer()->params().documentClass().counters();
it2.forwardPos();
size_t const end = it2.nargs();
for ( ; it2.idx() < end; it2.top().forwardIdx())
- buffer().updateLabels(it2, out);
+ buffer().updateLabels(it2, utype);
//reset afterwards
if (tabular.is_long_tabular)
}
+void InsetTabular::addToToc(DocIterator const & cpit)
+{
+ DocIterator dit = cpit;
+ dit.forwardPos();
+ size_t const end = dit.nargs();
+ for ( ; dit.idx() < end; dit.top().forwardIdx())
+ cell(dit.idx())->addToToc(dit);
+}
+
+
void InsetTabular::doDispatch(Cursor & cur, FuncRequest & cmd)
{
LYXERR(Debug::DEBUG, "# InsetTabular::doDispatch: cmd: " << cmd