X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetHyperlink.h;h=90ae05b94f7413f721373c68ccdf102747937abe;hb=48b1e8a0aca2f3f3faa8f1f800568e47792ba9a0;hp=ddf35af8533e4631c71a94def965960656c70f3b;hpb=e7f2bbe1eec4752ae2c88481bd77320186bbb8fb;p=lyx.git diff --git a/src/insets/InsetHyperlink.h b/src/insets/InsetHyperlink.h index ddf35af853..90ae05b94f 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 tocString(odocstream &) const; + 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; + void docbook(XMLStream &, 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 //@{