InsetTableCell splitCell(InsetTableCell & head, docstring const align_d, bool & hassep)
{
InsetTableCell tail = InsetTableCell(head);
- tail.getText(0)->setMacrocontextPosition(
- head.getText(0)->macrocontextPosition());
- tail.setBuffer(head.buffer());
DocIterator dit = doc_iterator_begin(&head.buffer(), &head);
for (; dit; dit.forwardChar())
head.setBuffer(buffer());
bool hassep = false;
InsetTableCell tail = splitCell(head, column_info[c].decimal_point, hassep);
+ tail.getText(0)->setMacrocontextPosition(
+ head.getText(0)->macrocontextPosition());
+ tail.setBuffer(head.buffer());
head.latex(os, newrp);
os << '&';
ret += tail.latex(os, newrp);
bool hassep = false;
InsetTableCell tail =
splitCell(head, tabular.column_info[c].decimal_point, hassep);
+ tail.getText(0)->setMacrocontextPosition(
+ head.getText(0)->macrocontextPosition());
+ tail.setBuffer(head.buffer());
Dimension dim1;
head.metrics(m, dim1);
decimal_hoffset = dim1.width();