X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetHyperlink.h;h=0e0e8d34465320821e9ddb43feea6ea367f23b36;hb=110f8f67ac1afe9892dad5566d1c697044427cf0;hp=fb4c8919790c474d7a2b5f2e5de51ff619d7c4fb;hpb=7287a259c5436b8f3f384c0d0bd7641a2f2601e9;p=lyx.git diff --git a/src/insets/InsetHyperlink.h b/src/insets/InsetHyperlink.h index fb4c891979..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,13 +32,13 @@ 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 forToc(docstring &, size_t) const; + void forOutliner(docstring &, size_t const, bool const) const; /// docstring toolTip(BufferView const & bv, int x, int y) const; /// @@ -48,24 +48,25 @@ public: /// 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 //@{