X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetRef.h;h=0f5a5b201d87983b5cd66d64dd3073240124a965;hb=87a7f728ca9b8b4d358cf06de980f61b67a927ac;hp=1af1790bf917c13ffcbb8f057aa819c0d6ff4f06;hpb=555338048d417d4532fe954239a0e9e29dd5ee6d;p=lyx.git diff --git a/src/insets/InsetRef.h b/src/insets/InsetRef.h index 1af1790bf9..0f5a5b201d 100644 --- a/src/insets/InsetRef.h +++ b/src/insets/InsetRef.h @@ -40,17 +40,19 @@ public: /// \name Public functions inherited from Inset class //@{ /// + void doDispatch(Cursor & cur, FuncRequest & cmd); + /// + bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus & status) const; + /// bool isLabeled() const { return true; } /// docstring toolTip(BufferView const &, int, int) const { return tooltip_; } /// - docstring getTOCString() const; + docstring getTOCString() const; /// bool hasSettings() const { return true; } /// - bool inheritFont() const { return true; } - /// InsetCode lyxCode() const { return REF_CODE; } /// DisplayType display() const { return Inline; } @@ -63,7 +65,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; @@ -88,13 +90,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 &); @@ -105,7 +100,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 @@ -118,6 +119,8 @@ private: /// mutable docstring screen_label_; /// + mutable bool broken_; + /// mutable docstring tooltip_; };