X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetRef.h;h=066a596630b15f55399e015f96bdafd364780a7d;hb=4947476da8d7e42ded2c53ee984dc4c38db1d528;hp=a28d233fc2cb0edc6a35ce567e4e3a79de4ef0c6;hpb=73f59e87bd62e00bbfbceee59b8876aa59e75f58;p=lyx.git diff --git a/src/insets/InsetRef.h b/src/insets/InsetRef.h index a28d233fc2..066a596630 100644 --- a/src/insets/InsetRef.h +++ b/src/insets/InsetRef.h @@ -61,7 +61,7 @@ public: int docbook(odocstream &, OutputParams const &) const; /// docstring xhtml(XHTMLStream &, OutputParams const &) const; - /// + /// void toString(odocstream &) const; /// void forOutliner(docstring &, size_t const, bool const) const; @@ -71,7 +71,7 @@ public: void updateBuffer(ParIterator const & it, UpdateType); /// void addToToc(DocIterator const & di, bool output_active, - UpdateType utype) const; + UpdateType utype, TocBackend & backend) const; /// bool forceLTR() const { return true; } //@} @@ -86,13 +86,6 @@ public: static bool isCompatibleCommand(std::string const & s); //@} - //FIXME: private - /// \name Private functions inherited from InsetCommand class - //@{ - /// - docstring screenLabel() const { return screen_label_; } - //@} - protected: /// InsetRef(InsetRef const &); @@ -103,7 +96,13 @@ private: /// Inset * clone() const { return new InsetRef(*this); } //@} - + + /// \name Private functions inherited from InsetCommand class + //@{ + /// + docstring screenLabel() const; + //@} + /// \return the label with things that need to be escaped escaped docstring getEscapedLabel(OutputParams const &) const; /// \return the command for a formatted reference to ref @@ -116,6 +115,8 @@ private: /// mutable docstring screen_label_; /// + mutable bool broken_; + /// mutable docstring tooltip_; };