void CommandInset::metrics(MetricsInfo & mi, Dimension & dim) const { if (!set_label_) { set_label_ = true; button_.update(screenLabel(), true); } button_.metrics(mi, dim); // Cache the inset dimension. setDimCache(mi, dim); }
void InsetCitation::forOutliner(docstring & os, size_t) const { os += screenLabel(); }
int InsetTOC::plaintext(odocstream & os, OutputParams const &) const { os << screenLabel() << "\n\n"; buffer().tocBackend().writePlaintextTocList(getCmdName(), os); return PLAINTEXT_NEWLINE; }