+ convert<unsigned int>(parse.verbatim_item());
+ // We do not support the bigstrut arg yet.
+ if (parse.hasOpt()) {
+ string const bs = parse.getArg('[', ']');
+ parse.skip_spaces(true);
+ cerr << "Ignoring multirow's bigstrut arg '"
+ << bs << "'!" << endl;
+ }
+ // the width argument
+ string const width = parse.getArg('{', '}');
+ // the vmove arg
+ string vmove;
+ if (parse.hasOpt()) {
+ vmove = parse.getArg('[', ']');
+ parse.skip_spaces(true);
+ }
+
+ if (width != "*")
+ colinfo[col].width = width;
+ if (!vmove.empty())
+ cellinfo[row][col].mroffset = vmove;
+ cellinfo[row][col].multi = CELL_BEGIN_OF_MULTIROW;
+ cellinfo[row][col].leftlines = colinfo[col].leftlines;
+ cellinfo[row][col].rightlines = colinfo[col].rightlines;
+ cellinfo[row][col].mrxnum = ncells - 1;
+
+ ostringstream os2;
+ parse_text_in_inset(parse, os2, FLAG_ITEM, false, context);
+ if (!cellinfo[row][col].content.empty()) {
+ // This may or may not work in LaTeX,
+ // but it does not work in LyX.
+ // FIXME: Handle it correctly!
+ cerr << "Moving cell content '"
+ << cells[cell]
+ << "' into a multirow cell. "
+ "This will probably not work."
+ << endl;
+ }
+ cellinfo[row][col].content += os2.str();
+ } else if (parse.next_token().cs() == "multicolumn") {
+ // how many cells?
+ parse.get_token();
+ size_t const ncells =
+ convert<unsigned int>(parse.verbatim_item());