LibreOffice Module svx (master) 1
Public Member Functions | Private Attributes | Friends | List of all members
FontPrevWin_Impl Class Reference
Collaboration diagram for FontPrevWin_Impl:
[legend]

Public Member Functions

 FontPrevWin_Impl ()
 
 ~FontPrevWin_Impl ()
 
void CheckScript ()
 
Size CalcTextSize (vcl::RenderContext &rRenderContext, OutputDevice const *pPrinter, const SvxFont &rFont)
 
void DrawPrev (vcl::RenderContext &rRenderContext, Printer *pPrinter, Point &rPt, const SvxFont &rFont)
 
bool SetFontWidthScale (sal_uInt16 nScaleInPercent)
 
void Invalidate100PercentFontWidth ()
 
bool Is100PercentFontWidthValid () const
 
void ScaleFontWidth (vcl::RenderContext const &rRenderContext)
 

Private Attributes

SvxFont maFont
 
VclPtr< PrintermpPrinter
 
bool mbDelPrinter
 
std::vector< ScriptInfo > maScriptChanges
 
SvxFont maCJKFont
 
SvxFont maCTLFont
 
OUString maText
 
OUString maScriptText
 
std::optional< ColormxColor
 
std::optional< ColormxBackColor
 
std::optional< ColormxTextLineColor
 
std::optional< ColormxOverlineColor
 
tools::Long mnAscent
 
sal_Unicode mcStartBracket
 
sal_Unicode mcEndBracket
 
tools::Long mn100PercentFontWidth
 
tools::Long mn100PercentFontWidthCJK
 
tools::Long mn100PercentFontWidthCTL
 
sal_uInt16 mnFontWidthScale
 
bool mbSelection: 1
 
bool mbGetSelection: 1
 
bool mbTwoLines: 1
 
bool mbUseFontNameAsText: 1
 
bool mbTextInited: 1
 
bool m_bCJKEnabled
 
bool m_bCTLEnabled
 

Friends

class SvxFontPrevWindow
 

Detailed Description

Definition at line 140 of file fntctrl.cxx.

Constructor & Destructor Documentation

◆ FontPrevWin_Impl()

FontPrevWin_Impl::FontPrevWin_Impl ( )
inline

◆ ~FontPrevWin_Impl()

FontPrevWin_Impl::~FontPrevWin_Impl ( )
inline

Member Function Documentation

◆ CalcTextSize()

Size FontPrevWin_Impl::CalcTextSize ( vcl::RenderContext rRenderContext,
OutputDevice const *  pPrinter,
const SvxFont rFont 
)

◆ CheckScript()

void FontPrevWin_Impl::CheckScript ( )

Definition at line 235 of file fntctrl.cxx.

References i, maScriptChanges, maScriptText, and maText.

◆ DrawPrev()

void FontPrevWin_Impl::DrawPrev ( vcl::RenderContext rRenderContext,
Printer pPrinter,
Point rPt,
const SvxFont rFont 
)

◆ Invalidate100PercentFontWidth()

void FontPrevWin_Impl::Invalidate100PercentFontWidth ( )
inline

Definition at line 214 of file fntctrl.cxx.

References mn100PercentFontWidth, mn100PercentFontWidthCJK, and mn100PercentFontWidthCTL.

Referenced by FontPrevWin_Impl().

◆ Is100PercentFontWidthValid()

bool FontPrevWin_Impl::Is100PercentFontWidthValid ( ) const
inline

◆ ScaleFontWidth()

void FontPrevWin_Impl::ScaleFontWidth ( vcl::RenderContext const &  rRenderContext)

◆ SetFontWidthScale()

bool FontPrevWin_Impl::SetFontWidthScale ( sal_uInt16  nScaleInPercent)

Definition at line 408 of file fntctrl.cxx.

References mnFontWidthScale.

Friends And Related Function Documentation

◆ SvxFontPrevWindow

friend class SvxFontPrevWindow
friend

Definition at line 142 of file fntctrl.cxx.

Member Data Documentation

◆ m_bCJKEnabled

bool FontPrevWin_Impl::m_bCJKEnabled
private

Definition at line 172 of file fntctrl.cxx.

Referenced by FontPrevWin_Impl().

◆ m_bCTLEnabled

bool FontPrevWin_Impl::m_bCTLEnabled
private

Definition at line 173 of file fntctrl.cxx.

Referenced by FontPrevWin_Impl().

◆ maCJKFont

SvxFont FontPrevWin_Impl::maCJKFont
private

Definition at line 149 of file fntctrl.cxx.

Referenced by CalcTextSize(), DrawPrev(), and ScaleFontWidth().

◆ maCTLFont

SvxFont FontPrevWin_Impl::maCTLFont
private

Definition at line 150 of file fntctrl.cxx.

Referenced by CalcTextSize(), DrawPrev(), and ScaleFontWidth().

◆ maFont

SvxFont FontPrevWin_Impl::maFont
private

Definition at line 144 of file fntctrl.cxx.

Referenced by ScaleFontWidth().

◆ maScriptChanges

std::vector<ScriptInfo> FontPrevWin_Impl::maScriptChanges
private

Definition at line 148 of file fntctrl.cxx.

Referenced by CalcTextSize(), CheckScript(), and DrawPrev().

◆ maScriptText

OUString FontPrevWin_Impl::maScriptText
private

Definition at line 152 of file fntctrl.cxx.

Referenced by CheckScript().

◆ maText

OUString FontPrevWin_Impl::maText
private

Definition at line 151 of file fntctrl.cxx.

Referenced by CalcTextSize(), CheckScript(), and DrawPrev().

◆ mbDelPrinter

bool FontPrevWin_Impl::mbDelPrinter
private

Definition at line 146 of file fntctrl.cxx.

Referenced by ~FontPrevWin_Impl().

◆ mbGetSelection

bool FontPrevWin_Impl::mbGetSelection
private

Definition at line 167 of file fntctrl.cxx.

◆ mbSelection

bool FontPrevWin_Impl::mbSelection
private

Definition at line 166 of file fntctrl.cxx.

◆ mbTextInited

bool FontPrevWin_Impl::mbTextInited
private

Definition at line 170 of file fntctrl.cxx.

◆ mbTwoLines

bool FontPrevWin_Impl::mbTwoLines
private

Definition at line 168 of file fntctrl.cxx.

◆ mbUseFontNameAsText

bool FontPrevWin_Impl::mbUseFontNameAsText
private

Definition at line 169 of file fntctrl.cxx.

◆ mcEndBracket

sal_Unicode FontPrevWin_Impl::mcEndBracket
private

Definition at line 159 of file fntctrl.cxx.

◆ mcStartBracket

sal_Unicode FontPrevWin_Impl::mcStartBracket
private

Definition at line 158 of file fntctrl.cxx.

◆ mn100PercentFontWidth

tools::Long FontPrevWin_Impl::mn100PercentFontWidth
private

◆ mn100PercentFontWidthCJK

tools::Long FontPrevWin_Impl::mn100PercentFontWidthCJK
private

◆ mn100PercentFontWidthCTL

tools::Long FontPrevWin_Impl::mn100PercentFontWidthCTL
private

◆ mnAscent

tools::Long FontPrevWin_Impl::mnAscent
private

Definition at line 157 of file fntctrl.cxx.

Referenced by CalcTextSize().

◆ mnFontWidthScale

sal_uInt16 FontPrevWin_Impl::mnFontWidthScale
private

Definition at line 164 of file fntctrl.cxx.

Referenced by ScaleFontWidth(), and SetFontWidthScale().

◆ mpPrinter

VclPtr<Printer> FontPrevWin_Impl::mpPrinter
private

Definition at line 145 of file fntctrl.cxx.

Referenced by ~FontPrevWin_Impl().

◆ mxBackColor

std::optional<Color> FontPrevWin_Impl::mxBackColor
private

Definition at line 154 of file fntctrl.cxx.

Referenced by FontPrevWin_Impl().

◆ mxColor

std::optional<Color> FontPrevWin_Impl::mxColor
private

Definition at line 153 of file fntctrl.cxx.

◆ mxOverlineColor

std::optional<Color> FontPrevWin_Impl::mxOverlineColor
private

Definition at line 156 of file fntctrl.cxx.

◆ mxTextLineColor

std::optional<Color> FontPrevWin_Impl::mxTextLineColor
private

Definition at line 155 of file fntctrl.cxx.


The documentation for this class was generated from the following file: