#include "lyxlength.h"
#include "insets/insettext.h"
+#include <boost/shared_ptr.hpp>
+
#include <iosfwd>
#include <vector>
int getDescentOfRow(int row) const;
///
int getHeightOfTabular() const;
- ///
+ ///
void setAscentOfRow(int row, int height);
- ///
+ ///
void setDescentOfRow(int row, int height);
- ///
+ ///
void setWidthOfCell(int cell, int new_width);
///
void setAllLines(int cell, bool line);
///
// end longtable support
///
- InsetText & getCellInset(int cell) const;
+ boost::shared_ptr<InsetText> getCellInset(int cell) const;
///
- InsetText & getCellInset(int row, int column) const;
+ boost::shared_ptr<InsetText> getCellInset(int row, int column) const;
/// Search for \param inset in the tabular, with the
///
int getCellFromInset(InsetBase const * inset) const;
///
cellstruct(BufferParams const &);
///
+ cellstruct(cellstruct const &);
+ ///
+ cellstruct & operator=(cellstruct);
+ ///
+ void swap(cellstruct & rhs);
+ ///
int cellno;
///
int width_of_cell;
///
LyXLength p_width; // this is only set for multicolumn!!!
///
- InsetText inset;
+ boost::shared_ptr<InsetText> inset;
};
cellstruct & cellinfo_of_cell(int cell) const;
///