]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetHyperlink.h
Run codespell on tex2lyx/, client/, convert/ and graphics/
[lyx.git] / src / insets / InsetHyperlink.h
index fb4c8919790c474d7a2b5f2e5de51ff619d7c4fb..0e0e8d34465320821e9ddb43feea6ea367f23b36 100644 (file)
@@ -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
        //@{