///
bool setMColumnPWidth(int cell, LyXLength const & width);
///
- void setAlignSpecial(int cell, string const & special, Feature what);
+ void setAlignSpecial(int cell, std::string const & special, Feature what);
///
LyXAlignment getAlignment(int cell, bool onlycolumn = false) const;
///
///
LyXLength const getMColumnPWidth(int cell) const;
///
- string const getAlignSpecial(int cell, int what) const;
+ std::string const getAlignSpecial(int cell, int what) const;
///
int getWidthOfCell(int cell) const;
///
///
void validate(LaTeXFeatures &) const;
/// Appends \c list with all labels found within this inset.
- void getLabelList(Buffer const &, std::vector<string> & list) const;
+ void getLabelList(Buffer const &, std::vector<std::string> & list) const;
///
//private:
///
///
bool rotate;
///
- string align_special;
+ std::string align_special;
///
LyXLength p_width; // this is only set for multicolumn!!!
///
///
LyXLength p_width;
///
- string align_special;
+ std::string align_special;
};
///
typedef std::vector<columnstruct> column_vector;
///
void init(BufferParams const &, int rows_arg, int columns_arg);
///
- void set_row_column_number_info(bool oldformat = false);
+ void set_row_column_number_info();
/// Returns true if a complete update is necessary, otherwise false
bool setWidthOfMulticolCell(int cell, int new_width);
///
bool onlydata) const;
/// auxiliary function for docbook
int docbookRow(Buffer const & buf, std::ostream & os, int row) const;
+
+private:
+ /// renumber cells after structural changes
+ void fixCellNums();
};
#endif