]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettabular.h
* BufferParams:
[lyx.git] / src / insets / insettabular.h
index a43e22e0bd9fd1e2753982a7f5e4ee655bd551c2..7e2f9219db740d3c4b0b58edcc7172a425f93724 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;
        ///
@@ -83,13 +83,13 @@ public:
        bool display() const { return tabular.isLongTabular(); }
        ///
        int latex(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+                 OutputParams const &) const;
        ///
        int plaintext(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+                     OutputParams const &) const;
        ///
        int docbook(Buffer const &, odocstream &,
-                   OutputParams const &) const;
+                   OutputParams const &) const;
        ///
        void validate(LaTeXFeatures & features) const;
        ///
@@ -118,9 +118,9 @@ public:
        /// set the change for the entire inset
        void setChange(Change const & change);
        /// accept the changes within the inset
-       void acceptChanges();
+       void acceptChanges(BufferParams const & bparams);
        /// reject the changes within the inset
-       void rejectChanges();
+       void rejectChanges(BufferParams const & bparams);
 
        // this should return true if we have a "normal" cell, otherwise false.
        // "normal" means without width set!
@@ -177,11 +177,9 @@ private:
        ///
        void removeTabularRow();
        ///
-       bool hasPasteBuffer() const;
-       ///
        bool copySelection(LCursor & cur);
        ///
-       bool pasteSelection(LCursor & cur);
+       bool pasteClipboard(LCursor & cur);
        ///
        void cutSelection(LCursor & cur);
        ///
@@ -190,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;