]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettabular.h
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / insets / insettabular.h
index 469e3d27e4d9c577279bfedaa8ed290910d39dd1..21c7a728fa05cdd924df6f3402e71d32007f97d4 100644 (file)
@@ -60,7 +60,7 @@ public:
        ///
        void write(Buffer const &, std::ostream &) const;
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
+       bool metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -119,6 +119,8 @@ public:
        void setChange(Change const & change);
        /// accept the changes within the inset
        void acceptChanges();
+       /// reject the changes within the inset
+       void rejectChanges();
 
        // this should return true if we have a "normal" cell, otherwise false.
        // "normal" means without width set!
@@ -175,8 +177,6 @@ private:
        ///
        void removeTabularRow();
        ///
-       bool hasPasteBuffer() const;
-       ///
        bool copySelection(LCursor & cur);
        ///
        bool pasteSelection(LCursor & cur);
@@ -188,7 +188,7 @@ private:
        void getSelection(LCursor & cur, row_type & rs, row_type & re,
                          col_type & cs, col_type & ce) const;
        ///
-       bool insertAsciiString(BufferView &, docstring const & buf, bool usePaste);
+       bool insertPlaintextString(BufferView &, docstring const & buf, bool usePaste);
        /// are we operating on several cells?
        bool tablemode(LCursor & cur) const;