X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetLabel.h;h=3c9bbd05f6b25257c855bbf60fc2ff30cd0d6752;hb=dae8555234f0e5c8358b91c307d91b219c664617;hp=35edecf567dd5ee593e36cc12ade1c8e11ac1218;hpb=f9e9956169cea7789c8cd08003458e4e395ce9c1;p=lyx.git diff --git a/src/insets/InsetLabel.h b/src/insets/InsetLabel.h index 35edecf567..3c9bbd05f6 100644 --- a/src/insets/InsetLabel.h +++ b/src/insets/InsetLabel.h @@ -33,8 +33,8 @@ 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); - /// Updates the label. Will handle undo/redo as well as update the - /// references to this label if \p cursor is passed. + /// 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); /// \name Public functions inherited from Inset class @@ -48,7 +48,8 @@ public: /// InsetCode lyxCode() const { return LABEL_CODE; } /// - int plaintext(odocstream &, OutputParams const &) const; + int plaintext(odocstringstream & ods, OutputParams const & op, + size_t max_length = INT_MAX) const; /// int docbook(odocstream &, OutputParams const &) const; /// @@ -56,7 +57,7 @@ public: /// void updateBuffer(ParIterator const & it, UpdateType); /// - void addToToc(DocIterator const &) const; + void addToToc(DocIterator const & di, bool output_active) const; //@} /// \name Static public methods obligated for InsetCommand derived classes