]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.h
* ANNOUNCE
[lyx.git] / src / insets / InsetGraphics.h
index 392a7acd82971ef4826adc7ef1389548b7f63b28..1846c4a4e62ab655494cbef343951a608d24ae3e 100644 (file)
 #ifndef INSET_GRAPHICS_H
 #define INSET_GRAPHICS_H
 
-#include <set>
 #include "Inset.h"
 #include "InsetGraphicsParams.h"
 
+#include <set>
+
 namespace lyx {
 
 class RenderGraphic;
@@ -51,6 +52,8 @@ public:
        bool setParams(InsetGraphicsParams const & params);
 
        InsetGraphicsParams getParams() const { return params_;}
+       ///
+       bool clickable(int, int) const { return true; }
 
 private:
        ///
@@ -75,7 +78,7 @@ private:
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
-       docstring xhtml(odocstream & os, OutputParams const &) const;
+       docstring xhtml(XHTMLStream & os, OutputParams const &) const;
        /** Tell LyX what the latex features you need i.e. what latex packages
            you need to be included.
         */
@@ -96,7 +99,7 @@ private:
        void addToToc(DocIterator const &);
        ///
        docstring contextMenu(BufferView const & bv, int x, int y) const;
-       /// Force inset into LTR environment if surroundings are RTL?
+       /// Force inset into LTR environment if surroundings are RTL
        bool forceLTR() const { return true; }
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);