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
 
Reference< XBreakIterator > mxBreak
 
std::vector< sal_uIntPtr > maTextWidth
 
std::deque< sal_Int32 > maScriptChg
 
std::vector< sal_uInt16 > maScriptType
 
SvxFont maCJKFont
 
SvxFont maCTLFont
 
OUString maText
 
OUString maScriptText
 
std::unique_ptr< ColormpColor
 
std::unique_ptr< ColormpBackColor
 
std::unique_ptr< ColormpTextLineColor
 
std::unique_ptr< ColormpOverlineColor
 
long mnAscent
 
sal_Unicode mcStartBracket
 
sal_Unicode mcEndBracket
 
long mn100PercentFontWidth
 
long mn100PercentFontWidthCJK
 
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 141 of file fntctrl.cxx.

Constructor & Destructor Documentation

FontPrevWin_Impl::FontPrevWin_Impl ( )
inline
FontPrevWin_Impl::~FontPrevWin_Impl ( )
inline

Definition at line 201 of file fntctrl.cxx.

References VclPtr< Printer >::disposeAndClear().

Member Function Documentation

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

Definition at line 240 of file fntctrl.cxx.

References maScriptChg, maScriptText, maScriptType, maText, maTextWidth, mxBreak, and nType.

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

Definition at line 219 of file fntctrl.cxx.

References mn100PercentFontWidth, mn100PercentFontWidthCJK, and mn100PercentFontWidthCTL.

Referenced by FontPrevWin_Impl().

bool FontPrevWin_Impl::Is100PercentFontWidthValid ( ) const
inline
void FontPrevWin_Impl::ScaleFontWidth ( vcl::RenderContext const &  rRenderContext)
bool FontPrevWin_Impl::SetFontWidthScale ( sal_uInt16  nScaleInPercent)

Definition at line 437 of file fntctrl.cxx.

References mnFontWidthScale.

Friends And Related Function Documentation

friend class SvxFontPrevWindow
friend

Definition at line 143 of file fntctrl.cxx.

Member Data Documentation

bool FontPrevWin_Impl::m_bCJKEnabled
private

Definition at line 176 of file fntctrl.cxx.

bool FontPrevWin_Impl::m_bCTLEnabled
private

Definition at line 177 of file fntctrl.cxx.

SvxFont FontPrevWin_Impl::maCJKFont
private

Definition at line 153 of file fntctrl.cxx.

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

SvxFont FontPrevWin_Impl::maCTLFont
private

Definition at line 154 of file fntctrl.cxx.

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

SvxFont FontPrevWin_Impl::maFont
private

Definition at line 145 of file fntctrl.cxx.

Referenced by ScaleFontWidth().

std::deque<sal_Int32> FontPrevWin_Impl::maScriptChg
private

Definition at line 151 of file fntctrl.cxx.

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

OUString FontPrevWin_Impl::maScriptText
private

Definition at line 156 of file fntctrl.cxx.

Referenced by CheckScript().

std::vector<sal_uInt16> FontPrevWin_Impl::maScriptType
private

Definition at line 152 of file fntctrl.cxx.

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

OUString FontPrevWin_Impl::maText
private

Definition at line 155 of file fntctrl.cxx.

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

std::vector<sal_uIntPtr> FontPrevWin_Impl::maTextWidth
private

Definition at line 150 of file fntctrl.cxx.

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

bool FontPrevWin_Impl::mbDelPrinter
private

Definition at line 147 of file fntctrl.cxx.

bool FontPrevWin_Impl::mbGetSelection
private

Definition at line 171 of file fntctrl.cxx.

bool FontPrevWin_Impl::mbSelection
private

Definition at line 170 of file fntctrl.cxx.

bool FontPrevWin_Impl::mbTextInited
private

Definition at line 174 of file fntctrl.cxx.

bool FontPrevWin_Impl::mbTwoLines
private

Definition at line 172 of file fntctrl.cxx.

bool FontPrevWin_Impl::mbUseFontNameAsText
private

Definition at line 173 of file fntctrl.cxx.

sal_Unicode FontPrevWin_Impl::mcEndBracket
private

Definition at line 163 of file fntctrl.cxx.

sal_Unicode FontPrevWin_Impl::mcStartBracket
private

Definition at line 162 of file fntctrl.cxx.

long FontPrevWin_Impl::mn100PercentFontWidth
private
long FontPrevWin_Impl::mn100PercentFontWidthCJK
private
long FontPrevWin_Impl::mn100PercentFontWidthCTL
private
long FontPrevWin_Impl::mnAscent
private

Definition at line 161 of file fntctrl.cxx.

Referenced by CalcTextSize().

sal_uInt16 FontPrevWin_Impl::mnFontWidthScale
private

Definition at line 168 of file fntctrl.cxx.

Referenced by ScaleFontWidth(), and SetFontWidthScale().

std::unique_ptr<Color> FontPrevWin_Impl::mpBackColor
private

Definition at line 158 of file fntctrl.cxx.

std::unique_ptr<Color> FontPrevWin_Impl::mpColor
private

Definition at line 157 of file fntctrl.cxx.

std::unique_ptr<Color> FontPrevWin_Impl::mpOverlineColor
private

Definition at line 160 of file fntctrl.cxx.

VclPtr<Printer> FontPrevWin_Impl::mpPrinter
private

Definition at line 146 of file fntctrl.cxx.

std::unique_ptr<Color> FontPrevWin_Impl::mpTextLineColor
private

Definition at line 159 of file fntctrl.cxx.

Reference<XBreakIterator> FontPrevWin_Impl::mxBreak
private

Definition at line 149 of file fntctrl.cxx.

Referenced by CheckScript().


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