https://bugs.documentfoundation.org/show_bug.cgi?id=85410
--- Comment #16 from Justin L <[email protected]> --- Getting what is actually displayed in the cell is not easy. It is NOT one of these: rDoc.GetString(nCol, nRow, nTab) ScCellFormat::GetInputString(aCell, nOldFormat, *rDoc.GetFormatTable(), rDoc) ScCellFormat::GetOutputString(rDoc, aPos, aCell) In fact, I think the shortened string just ends up being drawn to a screen position, and never ends up as an actual string stored anywhere. mpDev->DrawText(aDrawTextPos, aShort, 0, -1, nullptr, nullptr, ... in ScOutputData::LayoutStrings where aDrawTextPos is an X,Y coordinate, and aShort is ScDrawStringsVars::GetString where (m_)aString was set in ScDrawStringsVars::SetTextToWidthOrHash That pretty much makes this bug impossible to solve without doing massive edge-casing. It certainly doesn't seem to be a logical flaw... -- You are receiving this mail because: You are the assignee for the bug.
