]> git.lyx.org Git - lyx.git/blobdiff - src/tabular.h
Implement copying of rows and columns in tables
[lyx.git] / src / tabular.h
index 77da49b087b52e6d78e45ad20bd1bd03c4e4968d..e3fe328fe8706c509609320397449cb310d6672c 100644 (file)
@@ -43,6 +43,10 @@ public:
                ///
                DELETE_COLUMN,
                ///
+               COPY_ROW,
+               ///
+               COPY_COLUMN,
+               ///
                TOGGLE_LINE_TOP,
                ///
                TOGGLE_LINE_BOTTOM,
@@ -282,10 +286,14 @@ public:
        ///
        void deleteRow(row_type row);
        ///
+       void copyRow(BufferParams const &, row_type);
+       ///
        void appendColumn(BufferParams const &, idx_type cell);
        ///
        void deleteColumn(col_type column);
        ///
+       void copyColumn(BufferParams const &, col_type);
+       ///
        bool isFirstCellInRow(idx_type cell) const;
        ///
        idx_type getFirstCellInRow(row_type row) const;
@@ -305,9 +313,6 @@ public:
        int latex(Buffer const &, std::ostream &,
                  OutputParams const &) const;
        //
-       int linuxdoc(Buffer const & buf, std::ostream & os,
-                    OutputParams const &) const;
-       ///
        int docbook(Buffer const & buf, std::ostream & os,
                    OutputParams const &) const;
        ///