LibreOffice Module sw (master) 1
Classes | Macros | Enumerations | Functions | Variables
swfont.hxx File Reference
#include <memory>
#include <i18nlangtag/lang.h>
#include <tools/color.hxx>
#include <tools/gen.hxx>
#include <svl/poolitem.hxx>
#include <editeng/svxfont.hxx>
#include <swtypes.hxx>
#include "drawfont.hxx"
#include <editeng/borderline.hxx>
#include <optional>
#include <o3tl/enumarray.hxx>
Include dependency graph for swfont.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SwSubFont
 
class  SwFont
 
class  SwUnderlineFont
 
class  SvStatistics
 

Macros

#define SW_SCRIPTS   (SwFontScript(int(SwFontScript::LAST)+1))
 
#define SV_STAT(nWhich)   ++(g_SvStat.nWhich);
 

Enumerations

enum class  SwFontScript {
  Latin ,
  CJK ,
  CTL ,
  LAST = CTL
}
 

Functions

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

Variables

const sal_Unicode CH_BLANK = ' '
 
const sal_Unicode CH_BREAK = 0x0A
 
const sal_Unicode CH_TAB = '\t'
 
constexpr OUStringChar CH_PAR = u'\u00B6'
 
const sal_Unicode CH_BULLET = 0xB7
 
const sal_Unicode CH_FULL_BLANK = 0x3000
 
const sal_Unicode CH_NB_SPACE = 0xA0
 
const sal_Unicode CH_SIX_PER_EM = 0x2006
 
SvStatistics g_SvStat
 

Macro Definition Documentation

◆ SV_STAT

#define SV_STAT (   nWhich)    ++(g_SvStat.nWhich);

Definition at line 998 of file swfont.hxx.

◆ SW_SCRIPTS

#define SW_SCRIPTS   (SwFontScript(int(SwFontScript::LAST)+1))

Definition at line 129 of file swfont.hxx.

Enumeration Type Documentation

◆ SwFontScript

enum class SwFontScript
strong
Enumerator
Latin 
CJK 
CTL 
LAST 

Definition at line 123 of file swfont.hxx.

Function Documentation

◆ UnMapDirection()

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

Variable Documentation

◆ CH_BLANK

const sal_Unicode CH_BLANK = ' '

◆ CH_BREAK

const sal_Unicode CH_BREAK = 0x0A

◆ CH_BULLET

const sal_Unicode CH_BULLET = 0xB7

Definition at line 46 of file swfont.hxx.

Referenced by SwFntObj::DrawText(), SwGluePortion::GetExpText(), and SwGluePortion::Paint().

◆ CH_FULL_BLANK

const sal_Unicode CH_FULL_BLANK = 0x3000

Definition at line 47 of file swfont.hxx.

Referenced by SwTextPortion::Format_(), SwTextGuess::Guess(), and lcl_HasOnlyBlanks().

◆ CH_NB_SPACE

const sal_Unicode CH_NB_SPACE = 0xA0

Definition at line 48 of file swfont.hxx.

◆ CH_PAR

constexpr OUStringChar CH_PAR = u'\u00B6'
constexpr

Definition at line 45 of file swfont.hxx.

Referenced by SwTmpEndPortion::Paint(), and SwTextFrame::PaintEmpty().

◆ CH_SIX_PER_EM

const sal_Unicode CH_SIX_PER_EM = 0x2006

Definition at line 49 of file swfont.hxx.

Referenced by SwTextPortion::Format_(), SwTextGuess::Guess(), and lcl_HasOnlyBlanks().

◆ CH_TAB

const sal_Unicode CH_TAB = '\t'

◆ g_SvStat

SvStatistics g_SvStat
extern

Definition at line 58 of file swfont.cxx.