X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetGraphics.h;h=1846c4a4e62ab655494cbef343951a608d24ae3e;hb=a3c84666b2dbfc75c9a80cf4f94612149cb2b570;hp=392a7acd82971ef4826adc7ef1389548b7f63b28;hpb=cd35cebed1a3be6caecbbbab3917eb05cfd16efa;p=lyx.git diff --git a/src/insets/InsetGraphics.h b/src/insets/InsetGraphics.h index 392a7acd82..1846c4a4e6 100644 --- a/src/insets/InsetGraphics.h +++ b/src/insets/InsetGraphics.h @@ -13,10 +13,11 @@ #ifndef INSET_GRAPHICS_H #define INSET_GRAPHICS_H -#include #include "Inset.h" #include "InsetGraphicsParams.h" +#include + 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);