|
LibreOffice Module sw (master) 1
|
#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>Go to the source code of this file.
Classes | |
| class | SwSubFont |
| class | SwFont |
| To take Asian or other languages into consideration, an SwFont object consists of 3 SwSubFonts (Latin, CJK, and CTL). More... | |
| 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 |
| #define SV_STAT | ( | nWhich | ) | ++(g_SvStat.nWhich); |
Definition at line 1001 of file swfont.hxx.
| #define SW_SCRIPTS (SwFontScript(int(SwFontScript::LAST)+1)) |
Definition at line 129 of file swfont.hxx.
|
strong |
| Enumerator | |
|---|---|
| Latin | |
| CJK | |
| CTL | |
| LAST | |
Definition at line 123 of file swfont.hxx.
Definition at line 373 of file swfont.cxx.
References o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), and SAL_WARN.
Referenced by SwSubFont::CalcEsc(), SwFntObj::DrawText(), SwFont::GetOrientation(), lcl_calcLinePos(), and SwDrawTextInfo::Shift().
| const sal_Unicode CH_BLANK = ' ' |
Definition at line 42 of file swfont.hxx.
Referenced by SwTextPortion::CalcSpacing(), SwSubFont::DoOnCapitals(), SwTextPaintInfo::DrawBackBrush(), SwFntObj::DrawText(), SwSubFont::DrawText_(), SwTextFly::DrawTextOpaque(), SwTextPortion::Format_(), SwTextPortion::FormatEOL(), SwBlankPortion::GetExpText(), SwTextNode::GetMinMaxSize(), SwFntObj::GetModelPositionForViewPoint(), SwTextFrame::GetScalingOfSelectedText(), SwTextPortion::GetSpaceCnt(), SwTextGuess::Guess(), lcl_AddSpace(), lcl_calcLinePos(), lcl_MinMaxString(), SwBlankPortion::MayUnderflow(), SwGluePortion::Paint(), and sw::Justify::SpaceDistribution().
| const sal_Unicode CH_BREAK = 0x0A |
Definition at line 43 of file swfont.hxx.
Referenced by SwTextCursor::CharCursorToLine(), SwFieldPortion::Format(), SwTextFrame::Format_(), SwTextFrame::FormatAdjust(), SwTextFormatter::FormatQuoVadis(), SwTextFrameInfo::GetBigIndent(), SwTextNode::GetDropLen(), SwTextFrame::GetDropLen(), SwTextNode::GetMinMaxSize(), SwTextFrame::GetScalingOfSelectedText(), SwTextFrameInfo::GetSpaces(), SwTextMargin::GetTextEnd(), SwTextGuess::Guess(), SwBlankPortion::MayUnderflow(), SwTextFormatter::NewPortion(), SwTextFrame::RightMargin(), and SwTextFormatInfo::ScanPortionEnd().
| const sal_Unicode CH_BULLET = 0xB7 |
Definition at line 46 of file swfont.hxx.
Referenced by SwFntObj::DrawText(), SwGluePortion::GetExpText(), and SwGluePortion::Paint().
| const sal_Unicode CH_FULL_BLANK = 0x3000 |
Definition at line 47 of file swfont.hxx.
Referenced by SwTextPortion::Format_(), and SwTextGuess::Guess().
| const sal_Unicode CH_NB_SPACE = 0xA0 |
Definition at line 48 of file swfont.hxx.
|
constexpr |
Definition at line 45 of file swfont.hxx.
Referenced by SwTmpEndPortion::Paint(), and SwTextFrame::PaintEmpty().
| const sal_Unicode CH_SIX_PER_EM = 0x2006 |
Definition at line 49 of file swfont.hxx.
Referenced by SwTextPortion::Format_(), and SwTextGuess::Guess().
| const sal_Unicode CH_TAB = '\t' |
Definition at line 44 of file swfont.hxx.
Referenced by SwFieldPortion::Format(), SwTextFrameInfo::GetBigIndent(), SwTextNode::GetDropLen(), SwTextFrame::GetDropLen(), SwTextNode::GetMinMaxSize(), SwTextFrame::GetScalingOfSelectedText(), SwTextMargin::GetTextEnd(), SwTextMargin::GetTextStart(), SwTextFormatter::NewPortion(), and SwTextFormatInfo::ScanPortionEnd().
|
extern |
Definition at line 58 of file swfont.cxx.