]> git.lyx.org Git - lyx.git/blobdiff - src/tabular.h
Fix fuer #209
[lyx.git] / src / tabular.h
index cb4ffb41626edd18169fccbbd2bde126689461fb..d23f2d8883a123b16115ecff96824fb28df2a578 100644 (file)
 #pragma interface
 #endif
 
-#include <iosfwd>
-#include <vector>
-
 #include "lyxlex.h"
 #include "layout.h"
 #include "LString.h"
-#include "insets/insettext.h"
 #include "lyxlength.h"
 
+#include "insets/insettext.h"
+
+#include <iosfwd>
+#include <vector>
+
 class InsetTabular;
 class LaTeXFeatures;
 class Buffer;
@@ -375,6 +376,9 @@ public:
        InsetText * GetCellInset(int cell) const;
        ///
        InsetText * GetCellInset(int row, int column) const;
+       /// Search for \param inset in the tabular, with the
+       /// additional hint that it could be at \param maybe_cell
+       int GetCellFromInset(Inset const * inset, int maybe_cell = -1) const;
        ///
        int rows() const { return rows_; }
        ///