LibreOffice Module svx (master) 1
|
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< Printer > | mpPrinter |
bool | mbDelPrinter |
std::vector< ScriptInfo > | maScriptChanges |
SvxFont | maCJKFont |
SvxFont | maCTLFont |
OUString | maText |
OUString | maScriptText |
std::optional< Color > | mxColor |
std::optional< Color > | mxBackColor |
std::optional< Color > | mxTextLineColor |
std::optional< Color > | mxOverlineColor |
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 |
Definition at line 140 of file fntctrl.cxx.
|
inline |
Definition at line 177 of file fntctrl.cxx.
References svtools::DOCCOLOR, svtools::ColorConfig::GetColorValue(), Invalidate100PercentFontWidth(), SvtCJKOptions::IsAnyEnabled(), SvtCTLOptions::IsCTLFontEnabled(), m_bCJKEnabled, m_bCTLEnabled, mxBackColor, and svtools::ColorConfigValue::nColor.
|
inline |
Definition at line 196 of file fntctrl.cxx.
References VclPtr< class reference_type >::disposeAndClear(), mbDelPrinter, and mpPrinter.
Size FontPrevWin_Impl::CalcTextSize | ( | vcl::RenderContext & | rRenderContext, |
OutputDevice const * | pPrinter, | ||
const SvxFont & | rFont | ||
) |
Definition at line 271 of file fntctrl.cxx.
References SvxFont::GetTextSize(), maCJKFont, maCTLFont, maScriptChanges, maText, mnAscent, and Size::Width().
void FontPrevWin_Impl::CheckScript | ( | ) |
Definition at line 235 of file fntctrl.cxx.
References i, maScriptChanges, maScriptText, and maText.
void FontPrevWin_Impl::DrawPrev | ( | vcl::RenderContext & | rRenderContext, |
Printer * | pPrinter, | ||
Point & | rPt, | ||
const SvxFont & | rFont | ||
) |
Definition at line 363 of file fntctrl.cxx.
References Point::AdjustX(), SvxFont::DrawPrev(), OutputDevice::GetFont(), maCJKFont, maCTLFont, maScriptChanges, maText, and OutputDevice::SetFont().
|
inline |
Definition at line 214 of file fntctrl.cxx.
References mn100PercentFontWidth, mn100PercentFontWidthCJK, and mn100PercentFontWidthCTL.
Referenced by FontPrevWin_Impl().
|
inline |
Definition at line 219 of file fntctrl.cxx.
References DBG_ASSERT, mn100PercentFontWidth, mn100PercentFontWidthCJK, and mn100PercentFontWidthCTL.
Referenced by ScaleFontWidth().
void FontPrevWin_Impl::ScaleFontWidth | ( | vcl::RenderContext const & | rRenderContext | ) |
Definition at line 419 of file fntctrl.cxx.
References Is100PercentFontWidthValid(), maCJKFont, maCTLFont, maFont, mn100PercentFontWidth, mn100PercentFontWidthCJK, mn100PercentFontWidthCTL, and mnFontWidthScale.
bool FontPrevWin_Impl::SetFontWidthScale | ( | sal_uInt16 | nScaleInPercent | ) |
Definition at line 408 of file fntctrl.cxx.
References mnFontWidthScale.
|
friend |
Definition at line 142 of file fntctrl.cxx.
|
private |
Definition at line 172 of file fntctrl.cxx.
Referenced by FontPrevWin_Impl().
|
private |
Definition at line 173 of file fntctrl.cxx.
Referenced by FontPrevWin_Impl().
|
private |
Definition at line 149 of file fntctrl.cxx.
Referenced by CalcTextSize(), DrawPrev(), and ScaleFontWidth().
|
private |
Definition at line 150 of file fntctrl.cxx.
Referenced by CalcTextSize(), DrawPrev(), and ScaleFontWidth().
|
private |
Definition at line 144 of file fntctrl.cxx.
Referenced by ScaleFontWidth().
|
private |
Definition at line 148 of file fntctrl.cxx.
Referenced by CalcTextSize(), CheckScript(), and DrawPrev().
|
private |
Definition at line 152 of file fntctrl.cxx.
Referenced by CheckScript().
|
private |
Definition at line 151 of file fntctrl.cxx.
Referenced by CalcTextSize(), CheckScript(), and DrawPrev().
|
private |
Definition at line 146 of file fntctrl.cxx.
Referenced by ~FontPrevWin_Impl().
|
private |
Definition at line 167 of file fntctrl.cxx.
|
private |
Definition at line 166 of file fntctrl.cxx.
|
private |
Definition at line 170 of file fntctrl.cxx.
|
private |
Definition at line 168 of file fntctrl.cxx.
|
private |
Definition at line 169 of file fntctrl.cxx.
|
private |
Definition at line 159 of file fntctrl.cxx.
|
private |
Definition at line 158 of file fntctrl.cxx.
|
private |
Definition at line 161 of file fntctrl.cxx.
Referenced by Invalidate100PercentFontWidth(), Is100PercentFontWidthValid(), and ScaleFontWidth().
|
private |
Definition at line 162 of file fntctrl.cxx.
Referenced by Invalidate100PercentFontWidth(), Is100PercentFontWidthValid(), and ScaleFontWidth().
|
private |
Definition at line 163 of file fntctrl.cxx.
Referenced by Invalidate100PercentFontWidth(), Is100PercentFontWidthValid(), and ScaleFontWidth().
|
private |
Definition at line 157 of file fntctrl.cxx.
Referenced by CalcTextSize().
|
private |
Definition at line 164 of file fntctrl.cxx.
Referenced by ScaleFontWidth(), and SetFontWidthScale().
Definition at line 145 of file fntctrl.cxx.
Referenced by ~FontPrevWin_Impl().
|
private |
Definition at line 154 of file fntctrl.cxx.
Referenced by FontPrevWin_Impl().
|
private |
Definition at line 153 of file fntctrl.cxx.
|
private |
Definition at line 156 of file fntctrl.cxx.
|
private |
Definition at line 155 of file fntctrl.cxx.