]> git.lyx.org Git - lyx.git/blobdiff - src/insets/Inset.h
InsetTabular.cpp: fix #6585 also for wrapped floats - thanks Vincent
[lyx.git] / src / insets / Inset.h
index baf58bf773d55d0b0bfc3475f348c2a2d8a260ea..09211a0232560b326acc11e9fe79d53c47ef0cac 100644 (file)
@@ -226,6 +226,8 @@ public:
        virtual bool allowEmpty() const;
        /// Force inset into LTR environment if surroundings are RTL
        virtual bool forceLTR() const;
+       /// whether to include this inset in the strings generated for the TOC
+       virtual bool isInToc() const;
 
        /// Where should we go when we press the up or down cursor key?
        virtual bool idxUpDown(Cursor & cur, bool up) const;
@@ -335,6 +337,8 @@ public:
        /// FIXME: merge with editable()
        // true for InsetTabular & InsetText
        virtual bool isActive() const { return nargs() > 0; }
+       /// can we click at the specified position ?
+       virtual bool clickable(int, int) const { return false; }
 
        /// does this contain text that can be change track marked in DVI?
        virtual bool canTrackChanges() const { return false; }