]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetHyperlink.h
Fix text direction issue for InsetInfo in RTL context
[lyx.git] / src / insets / InsetHyperlink.h
index ddf35af8533e4631c71a94def965960656c70f3b..a70200cc7523c7f1b6413ce64473b1bbd5292acb 100644 (file)
@@ -24,7 +24,7 @@ class InsetHyperlink : public InsetCommand
 public:
        ///
        InsetHyperlink(Buffer * buf, InsetCommandParams const &);
-                               
+
        /// \name Public functions inherited from Inset class
        //@{
        ///
@@ -36,17 +36,20 @@ public:
        ///
        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;
        ///
@@ -56,14 +59,14 @@ public:
        /// \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
        //@{