LibreOffice Module sw (master) 1
|
Try to prevent visible SwParaPortions from being deleted. More...
#include <swcache.hxx>
Public Member Functions | |
SwSaveSetLRUOfst () | |
Prevent the SwParaPortions of the visible paragraphs from being deleted; they would just be recreated on the next paint. More... | |
~SwSaveSetLRUOfst () | |
Try to prevent visible SwParaPortions from being deleted.
Definition at line 124 of file swcache.hxx.
SwSaveSetLRUOfst::SwSaveSetLRUOfst | ( | ) |
Prevent the SwParaPortions of the visible paragraphs from being deleted; they would just be recreated on the next paint.
Heuristic: 100 per view are visible
If the cache is too small, enlarge it to ensure there are sufficient free entries for the layout so it doesn't have to throw away a node's SwParaPortion when it starts formatting the next node.
Definition at line 167 of file txtcache.cxx.
References SwCache::GetCurMax(), SfxViewShell::GetFirst(), SfxViewShell::GetNext(), SwTextFrame::GetTextCache(), SwCache::IncreaseMax(), and SwCache::SetLRUOfst().
SwSaveSetLRUOfst::~SwSaveSetLRUOfst | ( | ) |
Definition at line 188 of file txtcache.cxx.
References SwTextFrame::GetTextCache(), and SwCache::ResetLRUOfst().