void ScTiledRenderingTest::checkSampleInvalidation(const ScTestViewCallback& rView, bool bFullRow)
{ // we expect invalidations, but that isn't really important
CPPUNIT_ASSERT(rView.m_bInvalidateTiles);
tools::Rectangle aInvalidation; for (constauto& rRect : rView.m_aInvalidations)
aInvalidation.Union(rRect); if (!bFullRow)
{ // What matters is that we expect that the invalidation does not extend all the // way to the max right of the sheet. // Here we originally got 32212306 and now ~5056 for a single cell case
CPPUNIT_ASSERT_LESSEQUAL(tools::Long(8000), aInvalidation.GetWidth());
} else
{ // We expect RTL to continue to invalidate the entire row // from 0 to end of sheet (see ScDocShell::PostPaint, 'Extend to whole rows'), // which is different to the adjusted LTR case which // invalidated the row from left of edited cell to right of end // of sheet.
CPPUNIT_ASSERT_LESSEQUAL(tools::Long(0), aInvalidation.Left());
CPPUNIT_ASSERT_EQUAL(tools::Long(32212230), aInvalidation.Right());
}
}
if (bAddText)
{ // Type "Hello World" in D8, process events to idle and don't commit yet
typeCharsInCell("Hello World", rAdr.Col(), rAdr.Row(), pView, pModelObj, false, false);
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.0Bemerkung:
(vorverarbeitet am 2026-06-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.