LibreOffice Module sw (master)  1
Functions | Variables
swfont.cxx File Reference
#include <hintids.hxx>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <vcl/outdev.hxx>
#include <unotools/localedatawrapper.hxx>
#include <editeng/unolingu.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/wrlmitem.hxx>
#include <editeng/blinkitem.hxx>
#include <editeng/nhypitem.hxx>
#include <editeng/kernitem.hxx>
#include <editeng/cmapitem.hxx>
#include <editeng/langitem.hxx>
#include <editeng/escapementitem.hxx>
#include <editeng/autokernitem.hxx>
#include <editeng/shdditem.hxx>
#include <editeng/charreliefitem.hxx>
#include <editeng/contouritem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/emphasismarkitem.hxx>
#include <editeng/charscaleitem.hxx>
#include <editeng/charrotateitem.hxx>
#include <editeng/twolinesitem.hxx>
#include <editeng/charhiddenitem.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/shaditem.hxx>
#include <IDocumentSettingAccess.hxx>
#include <charatr.hxx>
#include <viewsh.hxx>
#include <swfont.hxx>
#include <fntcache.hxx>
#include <txtfrm.hxx>
#include <scriptinfo.hxx>
Include dependency graph for swfont.cxx:

Go to the source code of this file.

Functions

static sal_uInt16 MapDirection (sal_uInt16 nDir, const bool bVertFormat, const bool bVertFormatLRBT)
 
sal_uInt16 UnMapDirection (sal_uInt16 nDir, const bool bVertFormat, const bool bVertFormatLRBT)
 
long AttrSetToLineHeight (const IDocumentSettingAccess &rIDocumentSettingAccess, const SwAttrSet &rSet, const vcl::RenderContext &rOut, sal_Int16 nScript)
 Helper for filters to find true lineheight of a font. More...
 

Variables

SvStatistics g_SvStat
 

Function Documentation

long AttrSetToLineHeight ( const IDocumentSettingAccess rIDocumentSettingAccess,
const SwAttrSet rSet,
const vcl::RenderContext rOut,
sal_Int16  nScript 
)

Helper for filters to find true lineheight of a font.

Definition at line 1519 of file swfont.cxx.

References CJK, CTL, SwFont::GetActualFont(), OutputDevice::GetFont(), OutputDevice::GetTextHeight(), Latin, SwFont::SetActual(), and OutputDevice::SetFont().

Referenced by AttributeOutputBase::ParaLineSpacing().

static sal_uInt16 MapDirection ( sal_uInt16  nDir,
const bool  bVertFormat,
const bool  bVertFormatLRBT 
)
static

Definition at line 367 of file swfont.cxx.

Referenced by SwFont::SetVertical().

sal_uInt16 UnMapDirection ( sal_uInt16  nDir,
const bool  bVertFormat,
const bool  bVertFormatLRBT 
)

Variable Documentation

SvStatistics g_SvStat

Definition at line 62 of file swfont.cxx.