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 <editeng/brushitem.hxx>
#include <editeng/wrlmitem.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 Degree10 MapDirection (Degree10 nDir, const bool bVertFormat, const bool bVertFormatLRBT)
 
Degree10 UnMapDirection (Degree10 nDir, const bool bVertFormat, const bool bVertFormatLRBT)
 
tools::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

◆ AttrSetToLineHeight()

tools::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 1454 of file swfont.cxx.

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

Referenced by AttributeOutputBase::ParaLineSpacing().

◆ MapDirection()

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

◆ UnMapDirection()

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

Variable Documentation

◆ g_SvStat

SvStatistics g_SvStat

Definition at line 58 of file swfont.cxx.