LibreOffice Module sw (master) 1
Functions | Variables
swfntcch.cxx File Reference
#include <sal/config.h>
#include <shellio.hxx>
#include <viewsh.hxx>
#include <swfntcch.hxx>
#include <fmtcol.hxx>
#include <fntcache.hxx>
#include <swfont.hxx>
Include dependency graph for swfntcch.cxx:

Go to the source code of this file.


SAL_DLLPUBLIC_EXPORT void FlushFontCache ()


const sal_uInt8 StackPos []
 Attribute to Stack Mapping. More...
SwFontCachepSwFontCache = nullptr

Function Documentation

◆ FlushFontCache()

SAL_DLLPUBLIC_EXPORT void FlushFontCache ( )

Definition at line 67 of file swfntcch.cxx.

References SwFntCache::Flush(), SwCache::Flush(), pFntCache, and pSwFontCache.

Variable Documentation

◆ pSwFontCache

SwFontCache* pSwFontCache = nullptr

◆ StackPos

const sal_uInt8 StackPos[]

Attribute to Stack Mapping.

Attributes applied to a text are pushed on different stacks. For each stack, the top most attribute on the stack is valid. Because some kinds of attributes have to be pushed to the same stacks we map their ids to stack ids Attention: The first NUM_DEFAULT_VALUES ( defined in swfntcch.hxx ) are stored in the defaultitem-cache, if you add one, you have to increase NUM_DEFAULT_VALUES. Also adjust NUM_ATTRIBUTE_STACKS in atrhndl.hxx.

Definition at line 68 of file atrstck.cxx.

Referenced by SwAttrHandler::ActivateTop(), SwAttrHandler::FontChg(), SwAttrHandler::Init(), SwAttrHandler::Push(), SwAttrHandler::RemoveFromStack(), and SwFontObj::SwFontObj().