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.

Functions

SAL_DLLPUBLIC_EXPORT void FlushFontCache ()
 

Variables

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

Function Documentation

SAL_DLLPUBLIC_EXPORT void FlushFontCache ( )

Definition at line 67 of file swfntcch.cxx.

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

Variable Documentation

SwFontCache* pSwFontCache = nullptr

Definition at line 33 of file swfntcch.cxx.

Referenced by TextFinit(), TextInit_(), and SwModify::~SwModify().

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 69 of file atrstck.cxx.

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