- LyXTabular(InsetTabular *, int columns_arg, int rows_arg);
+ LyXTabular(BufferParams const &,
+ InsetTabular *, int columns_arg, int rows_arg);
- LyXTabular(InsetTabular *, LyXTabular const &, bool same_id = false);
+ LyXTabular(BufferParams const &,
+ InsetTabular *, LyXTabular const &, bool same_id = false);
///
explicit
LyXTabular(Buffer const *, InsetTabular *, LyXLex & lex);
///
LyXTabular & operator=(LyXTabular const &);
///
///
explicit
LyXTabular(Buffer const *, InsetTabular *, LyXLex & lex);
///
LyXTabular & operator=(LyXTabular const &);
///
- LyXTabular * clone(InsetTabular *, bool same_id = false);
-
+ LyXTabular * clone(BufferParams const &,
+ InsetTabular *, bool same_id = false);
+
/// Returns true if there is a topline, returns false if not
bool TopLine(int cell, bool onlycolumn = false) const;
/// Returns true if there is a topline, returns false if not
/// Returns true if there is a topline, returns false if not
bool TopLine(int cell, bool onlycolumn = false) const;
/// Returns true if there is a topline, returns false if not
bool LeftLine(int cell, bool onlycolumn = false) const;
/// Returns true if there is a topline, returns false if not
bool RightLine(int cell, bool onlycolumn = false) const;
bool LeftLine(int cell, bool onlycolumn = false) const;
/// Returns true if there is a topline, returns false if not
bool RightLine(int cell, bool onlycolumn = false) const;
///
int latex(Buffer const *, std::ostream &, bool, bool) const;
///
///
int latex(Buffer const *, std::ostream &, bool, bool) const;
///
///
int ascii(Buffer const *, std::ostream &, int const depth,
///
int ascii(Buffer const *, std::ostream &, int const depth,
InsetText * GetCellInset(int cell) const;
///
InsetText * GetCellInset(int row, int column) const;
InsetText * GetCellInset(int cell) const;
///
InsetText * GetCellInset(int row, int column) const;
- void Init(int columns_arg, int rows_arg, LyXTabular const * lt = 0);
+ void Init(BufferParams const &,
+ int columns_arg, int rows_arg, LyXTabular const * lt = 0);
/// Returns true if a complete update is necessary, otherwise false
bool SetWidthOfMulticolCell(int cell, int new_width);
///
/// Returns true if a complete update is necessary, otherwise false
bool SetWidthOfMulticolCell(int cell, int new_width);
///
int TeXCellPostamble(std::ostream &, int cell) const;
///
int TeXLongtableHeaderFooter(std::ostream &, Buffer const * buf,
int TeXCellPostamble(std::ostream &, int cell) const;
///
int TeXLongtableHeaderFooter(std::ostream &, Buffer const * buf,
///
bool isValidRow(int const row) const;
///
int TeXRow(std::ostream &, int const row, Buffer const * buf,
///
bool isValidRow(int const row) const;
///
int TeXRow(std::ostream &, int const row, Buffer const * buf,
///
// helper function for ASCII returns number of newlines
///
int asciiTopHLine(std::ostream &, int row,
///
// helper function for ASCII returns number of newlines
///
int asciiTopHLine(std::ostream &, int row,
- int cell, int row, int column,
- std::vector<unsigned int> const &,
+ int cell, int row, int column,
+ std::vector<unsigned int> const &,
bool onlydata) const;
/// auxiliary function for docbook
int docbookRow(Buffer const * buf, std::ostream & os, int row) const;
bool onlydata) const;
/// auxiliary function for docbook
int docbookRow(Buffer const * buf, std::ostream & os, int row) const;