]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetHyperlink.h
This should be the last of the commits refactoring the InsetLayout code.
[lyx.git] / src / insets / InsetHyperlink.h
index 322681fc14e667b1d1c416b9494bcea3dcb6bf83..354c8ee94505e5a0e5eccfc31228e8f2491de5f5 100644 (file)
@@ -47,8 +47,16 @@ public:
        int docbook(Buffer const &, odocstream &,
                    OutputParams const &) const;
        /// the string that is passed to the TOC
-       virtual int textString(Buffer const &, odocstream &,
-               OutputParams const &) const;
+       void textString(Buffer const &, odocstream &) const;
+       ///
+       static CommandInfo const * findInfo(std::string const &);
+       ///
+       static std::string defaultCommand() { return "href"; };
+       ///
+       static bool isCompatibleCommand(std::string const & s) 
+               { return s == "href"; }
+       /// Force inset into LTR environment if surroundings are RTL?
+       virtual bool forceLTR() const { return true; }
 private:
        virtual Inset * clone() const {
                return new InsetHyperlink(params());