explicit
LyXTabular(Buffer const *, InsetTabular *, LyXLex & lex);
///
- ~LyXTabular();
- ///
LyXTabular & operator=(LyXTabular const &);
///
LyXTabular * Clone(InsetTabular *);
/// Returns true if there is a topline, returns false if not
- bool TopLine(int cell, bool onlycolumn=false) const;
+ bool TopLine(int cell, bool onlycolumn = false) const;
/// Returns true if there is a topline, returns false if not
- bool BottomLine(int cell, bool onlycolumn=false) const;
+ bool BottomLine(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;
+ 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 RightLine(int cell, bool onlycolumn = false) const;
///
bool TopAlreadyDrawed(int cell) const;
///
int Latex(Buffer const *, std::ostream &, bool, bool) const;
///
+ int DocBook(Buffer const * buf, std::ostream & os) const;
+ ///
// helper function for Latex returns number of newlines
///
int AsciiTopHLine(std::ostream &, int row,
bool GetLTNewPage(int cell) const;
///
InsetText * GetCellInset(int cell) const;
+ InsetText * GetCellInset(int row, int column) const;
///
int rows() const { return rows_; }
///
///
int numberofcells;
///
- int * rowofcell;
+ std::vector<int> rowofcell;
///
- int * columnofcell;
+ std::vector<int> columnofcell;
///
row_vector row_info;
///
///
void Reinit();
///
- void set_row_column_number_info(bool oldformat=false);
+ void set_row_column_number_info(bool oldformat = false);
/// Returns true if a complete update is necessary, otherwise false
bool SetWidthOfMulticolCell(int cell, int new_width);
///