]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettabular.h
fix compilation pb ; update eu.po
[lyx.git] / src / insets / insettabular.h
index 6a0d78fa680736ffa5d92e1a60dc4375f83d8968..ba72465347d888035e94748d4bc635afc9f47c52 100644 (file)
@@ -101,7 +101,7 @@ public:
        ///
        void Edit(BufferView *, int x, int y, unsigned int);
        ///
-       bool doClearArea() const { return !locked; };
+       bool doClearArea() const;
        ///
        void InsetUnlock(BufferView *);
        ///
@@ -176,6 +176,21 @@ public:
        bool ShowInsetDialog(BufferView *) const;
        ///
        LyXFunc::func_status getStatus(string const & argument) const;
+       ///
+       std::vector<string> const getLabelList() const;
+       ///
+       void nodraw(bool b) {
+               UpdatableInset::nodraw(b);
+       }
+       bool nodraw() const;
+       ///
+       int scroll(bool recursive=true) const;
+       void scroll(BufferView *bv, float sx) const {
+               UpdatableInset::scroll(bv, sx);
+       }
+       void scroll(BufferView *bv, int offset) const {
+               UpdatableInset::scroll(bv, offset);
+       }
 
        //
        // Public structures and variables
@@ -188,13 +203,13 @@ public:
 private:
        ///
        bool calculate_dimensions_of_cells(BufferView *, LyXFont const &,
-                                                                          bool = false) const;
+                                          bool = false) const;
        ///
        void DrawCellLines(Painter &, int x, int baseline,
-                                          int row, int cell) const;
+                          int row, int cell) const;
        ///
        void DrawCellSelection(Painter &, int x, int baseline,
-                                                  int row, int column, int cell) const;
+                              int row, int column, int cell) const;
        ///
        void ShowInsetCursor(BufferView *, bool show=true);
        ///
@@ -223,17 +238,19 @@ private:
        void RemoveTabularRow();
        ///
        bool hasSelection() const {
-       return sel_cell_start != sel_cell_end;
+               return sel_cell_start != sel_cell_end;
        }
        ///
        void clearSelection() const {
        sel_cell_start = sel_cell_end = 0;
        }
        ///
-       bool ActivateCellInset(BufferView *, int x = 0, int y = 0, int button = 0,
-                                                  bool behind = false);
+       bool ActivateCellInset(BufferView *, int x = 0, int y = 0,
+                              int button = 0,
+                              bool behind = false);
        ///
-       bool ActivateCellInsetAbs(BufferView *, int x = 0, int y=0, int button=0);
+       bool ActivateCellInsetAbs(BufferView *, int x = 0, int y = 0,
+                                 int button = 0);
        ///
        bool InsetHit(BufferView * bv, int x, int y) const;
        ///
@@ -280,8 +297,6 @@ private:
        ///
        bool no_selection;
        ///
-       bool no_draw;
-       ///
        mutable bool locked;
        ///
        mutable UpdateCodes need_update;