]> git.lyx.org Git - lyx.git/blobdiff - src/tabular.h
Make lyx2lyx output the new external inset format.
[lyx.git] / src / tabular.h
index 1940c692317519cf7a52e95a0870e9e4667bc0bf..8aaee3509e669e48770ca3cd49bb9305e0c7d61b 100644 (file)
@@ -24,6 +24,7 @@
 class InsetTabular;
 class BufferParams;
 class LaTeXFeatures;
+class LatexRunParams;
 class Buffer;
 class LyXLex;
 
@@ -179,15 +180,14 @@ public:
                   InsetTabular *, int columns_arg, int rows_arg);
        ///
        LyXTabular(BufferParams const &,
-                  InsetTabular *, LyXTabular const &, bool same_id = false);
+                  InsetTabular *, LyXTabular const &);
        ///
        explicit
        LyXTabular(Buffer const *, InsetTabular *, LyXLex & lex);
        ///
        LyXTabular & operator=(LyXTabular const &);
        ///
-       LyXTabular * clone(BufferParams const &,
-                          InsetTabular *, bool same_id = false);
+       LyXTabular * clone(BufferParams const &, InsetTabular *);
 
        /// Returns true if there is a topline, returns false if not
        bool TopLine(int cell, bool onlycolumn = false) const;
@@ -290,7 +290,8 @@ public:
        ///
        void Read(Buffer const *, LyXLex &);
        ///
-       int latex(Buffer const *, std::ostream &, bool, bool) const;
+       int latex(Buffer const *, std::ostream &,
+                 LatexRunParams const &) const;
        ///
        int docbook(Buffer const * buf, std::ostream & os, bool mixcont) const;
        ///
@@ -559,12 +560,12 @@ private:
        int TeXCellPostamble(std::ostream &, int cell) const;
        ///
        int TeXLongtableHeaderFooter(std::ostream &, Buffer const * buf,
-                                    bool fragile, bool fp) const;
+                                    LatexRunParams const &) const;
        ///
        bool isValidRow(int const row) const;
        ///
        int TeXRow(std::ostream &, int const row, Buffer const * buf,
-                  bool fragile, bool fp) const;
+                  LatexRunParams const &) const;
        ///
        // helper function for ASCII returns number of newlines
        ///