+ os << full_label_ << ' ';
+ return InsetText::plaintext(os, runparams);
+}
+
+
+docstring InsetCaption::getCaptionAsHTML(XHTMLStream & xs,
+ OutputParams const & runparams) const
+{
+ xs << full_label_ << ' ';
+ InsetText::XHTMLOptions const opts =
+ InsetText::WriteLabel | InsetText::WriteInnerTag;
+ return InsetText::insetAsXHTML(xs, runparams, opts);
+}
+
+
+void InsetCaption::updateBuffer(ParIterator const & it, UpdateType utype)
+{
+ Buffer const & master = *buffer().masterBuffer();
+ DocumentClass const & tclass = master.params().documentClass();
+ string const & lang = it.paragraph().getParLanguage(master.params())->code();