Toc & toc = buffer().tocBackend().toc("branch");
docstring const str = params_.branch + ": " + text_.getPar(0).asString();
toc.push_back(TocItem(pit, 0, str));
Toc & toc = buffer().tocBackend().toc("branch");
docstring const str = params_.branch + ": " + text_.getPar(0).asString();
toc.push_back(TocItem(pit, 0, str));
+ // Proceed with the rest of the inset.
+ InsetCollapsable::addToToc(cpit);
Toc & toc = buffer().tocBackend().toc(type_);
docstring const str = full_label_ + ". " + text_.getPar(0).asString();
toc.push_back(TocItem(pit, 0, str));
Toc & toc = buffer().tocBackend().toc(type_);
docstring const str = full_label_ + ". " + text_.getPar(0).asString();
toc.push_back(TocItem(pit, 0, str));
+
+ // Proceed with the rest of the inset.
+ InsetText::addToToc(cpit);
docstring str;
str = custom_label_ + ": " + getNewLabel(str);
toc.push_back(TocItem(pit, 0, str));
docstring str;
str = custom_label_ + ": " + getNewLabel(str);
toc.push_back(TocItem(pit, 0, str));
+ // Proceed with the rest of the inset.
+ InsetFootlike::addToToc(cpit);
docstring str;
str = getNewLabel(str);
toc.push_back(TocItem(pit, 0, str));
docstring str;
str = getNewLabel(str);
toc.push_back(TocItem(pit, 0, str));
+ // Proceed with the rest of the inset.
+ InsetCollapsable::addToToc(cpit);
docstring str;
str = getNewLabel(str);
toc.push_back(TocItem(pit, 0, str));
docstring str;
str = getNewLabel(str);
toc.push_back(TocItem(pit, 0, str));
+ // Proceed with the rest of the inset.
+ InsetFootlike::addToToc(cpit);
str = notetranslator_loc().find(params_.type) + from_ascii(": ")
+ getNewLabel(str);
toc.push_back(TocItem(pit, 0, str));
str = notetranslator_loc().find(params_.type) + from_ascii(": ")
+ getNewLabel(str);
toc.push_back(TocItem(pit, 0, str));
+ // Proceed with the rest of the inset.
+ InsetCollapsable::addToToc(cpit);
-//void InsetInclude::addToToc(DocIterator const & cpit)
-//{
-//}
-
-
void InsetText::updateLabels(ParIterator const & it)
{
ParIterator it2 = it;
void InsetText::updateLabels(ParIterator const & it)
{
ParIterator it2 = it;