#include <vector>
class InsetTabular;
+class LCursor;
class OutputParams;
/* The features the text class offers for tables */
BOX_MINIPAGE = 2
};
- struct ltType {
+ class ltType {
+ public:
// constructor
ltType();
// we have this header type (is set in the getLT... functions)
void setVAlignment(idx_type cell, VAlignment align,
bool onlycolumn = false);
///
- void setColumnPWidth(idx_type cell, LyXLength const & width);
+ void setColumnPWidth(LCursor &, idx_type, LyXLength const &);
///
- bool setMColumnPWidth(idx_type cell, LyXLength const & width);
+ bool setMColumnPWidth(LCursor &, idx_type, LyXLength const &);
///
void setAlignSpecial(idx_type cell, std::string const & special,
Feature what);
///
boost::shared_ptr<InsetText> getCellInset(row_type row,
col_type column) const;
+ ///
+ void setCellInset(row_type row, col_type column,
+ boost::shared_ptr<InsetText>) const;
/// Search for \param inset in the tabular, with the
///
idx_type getCellFromInset(InsetBase const * inset) const;
col_type columns() const { return columns_;}
///
void validate(LaTeXFeatures &) const;
- /// Appends \c list with all labels found within this inset.
- void getLabelList(Buffer const &, std::vector<std::string> & list) const;
///
//private:
///
- struct cellstruct {
+ class cellstruct {
+ public:
///
cellstruct(BufferParams const &);
///
typedef std::vector<cell_vector> cell_vvector;
///
- struct rowstruct {
+ class rowstruct {
+ public:
///
rowstruct();
///
typedef std::vector<rowstruct> row_vector;
///
- struct columnstruct {
+ class columnstruct {
+ public:
///
columnstruct();
///