X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetHyperlink.h;h=0e0e8d34465320821e9ddb43feea6ea367f23b36;hb=110f8f67ac1afe9892dad5566d1c697044427cf0;hp=29439f51c51282b88c5356df19cc10719f2b7889;hpb=832d6cd7e1017b11058048a9dc6930ec08aee30c;p=lyx.git diff --git a/src/insets/InsetHyperlink.h b/src/insets/InsetHyperlink.h index 29439f51c5..0e0e8d3446 100644 --- a/src/insets/InsetHyperlink.h +++ b/src/insets/InsetHyperlink.h @@ -24,7 +24,7 @@ class InsetHyperlink : public InsetCommand public: /// InsetHyperlink(Buffer * buf, InsetCommandParams const &); - + /// \name Public functions inherited from Inset class //@{ /// @@ -32,38 +32,41 @@ public: /// bool hasSettings() const { return true; } /// - bool forceLTR() const { return true; } + bool forceLTR(OutputParams const &) const { return true; } /// bool isInToc() const { return true; } /// void toString(odocstream &) const; /// + void forOutliner(docstring &, size_t const, bool const) const; + /// docstring toolTip(BufferView const & bv, int x, int y) const; /// - docstring contextMenuName() const; + std::string contextMenuName() const; /// void validate(LaTeXFeatures &) const; /// - int latex(odocstream &, OutputParams const &) const; + void latex(otexstream &, OutputParams const &) const; /// - 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; /// - docstring xhtml(XHTMLStream &, OutputParams const &) const; + docstring xhtml(XMLStream &, OutputParams const &) const; //@} /// \name Static public methods obligated for InsetCommand derived classes //@{ /// - static bool isCompatibleCommand(std::string const & s) + static bool isCompatibleCommand(std::string const & s) { return s == "href"; } /// static std::string defaultCommand() { return "href"; } /// static ParamInfo const & findInfo(std::string const &); //@} - + private: /// \name Private functions inherited from Inset class //@{