X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetLabel.h;h=ef4fed9cac2ee20eb5a7d752ca5ba4e7c4f76c7c;hb=85b36769cb38d5b9a1f0f52999d23c68a9fb9759;hp=22131ab4a157bc6a11d44e6773a12c873de2fb43;hpb=51aebc9327345f6ea065035f489dbfec1568279f;p=lyx.git diff --git a/src/insets/InsetLabel.h b/src/insets/InsetLabel.h index 22131ab4a1..ef4fed9cac 100644 --- a/src/insets/InsetLabel.h +++ b/src/insets/InsetLabel.h @@ -32,7 +32,7 @@ public: /// docstring const & prettyCounter() const { return pretty_counter_; } /// Updates only the label string, doesn't handle undo nor references. - void updateLabel(docstring const & new_label); + void updateLabel(docstring const & new_label, bool const active = true); /// Updates the label and the references to it. /// Will also handle undo/redo if \p cursor is passed. void updateLabelAndRefs(docstring const & new_label, Cursor * cursor = 0); @@ -48,6 +48,8 @@ public: /// InsetCode lyxCode() const { return LABEL_CODE; } /// + void latex(otexstream & os, OutputParams const & runparams_in) const; + /// int plaintext(odocstringstream & ods, OutputParams const & op, size_t max_length = INT_MAX) const; ///