LibreOffice Module sw (master)
1
|
#include <sal/config.h>
#include <cstdint>
#include <map>
#include <vcl/font.hxx>
#include <vcl/vclptr.hxx>
#include <vcl/vcllayout.hxx>
#include <vcl/outdev.hxx>
#include "swcache.hxx"
#include "TextFrameIndex.hxx"
Go to the source code of this file.
Classes | |
class | SwFntCache |
struct | SwTextGlyphsKey |
Defines a substring on a given output device, to be used as an std::map<> key. More... | |
class | SwFntObj |
class | SwFntAccess |
Functions | |
void | SwClearFntCacheTextGlyphs () |
Clears the pre-calculated text glyphs in all SwFntObj instances. More... | |
bool | operator< (const SwTextGlyphsKey &l, const SwTextGlyphsKey &r) |
Variables | |
SwFntCache * | pFntCache |
SwFntObj * | pLastFont |
bool operator< | ( | const SwTextGlyphsKey & | l, |
const SwTextGlyphsKey & | r | ||
) |
Definition at line 128 of file fntcache.cxx.
References VclPtr< OutputDevice >::get(), SwTextGlyphsKey::m_aText, SwTextGlyphsKey::m_nIndex, SwTextGlyphsKey::m_nLength, and SwTextGlyphsKey::m_pOutputDevice.
void SwClearFntCacheTextGlyphs | ( | ) |
Clears the pre-calculated text glyphs in all SwFntObj instances.
Definition at line 2713 of file fntcache.cxx.
References SwFntCache::First(), and SwFntCache::Next().
Referenced by SwDoc::SetTabCols(), and SwLayIdle::SwLayIdle().
SwFntCache* pFntCache |
Definition at line 64 of file fntcache.cxx.
Referenced by FlushFontCache(), SwViewShell::Init(), SwViewShell::PrintProspect(), sw::DocumentDeviceManager::PrtDataChanged(), SwViewShell::Reformat(), SwProtocol::Stop(), TextFinit(), and TextInit_().
SwFntObj* pLastFont |
Definition at line 66 of file fntcache.cxx.
Referenced by SwSubFont::CalcEsc(), SwTextFrame::CalcHeightOfLastLine(), SwSubFont::ChgFnt(), SwSubFont::DoOnCapitals(), SwSubFont::DrawStretchText_(), SwSubFont::DrawText_(), SwSubFont::GetModelPositionForViewPoint_(), and SwSubFont::GetTextSize_().