DocLayout contains a public flag IsInvalidated, which determines whether the generated table needs to be recomputed. The CreateTable method correctly checks if it can return the cached table, but fails to reset the flag after recomputing, This means DocLayout recomputes the table every time, even when it hasn't been invalidated.
DocLayout
contains a public flagIsInvalidated
, which determines whether the generated table needs to be recomputed. TheCreateTable
method correctly checks if it can return the cached table, but fails to reset the flag after recomputing, This meansDocLayout
recomputes the table every time, even when it hasn't been invalidated.