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 |
Reference< XBreakIterator > | mxBreak |
std::vector< tools::Long > | maTextWidth |
std::deque< sal_Int32 > | maScriptChg |
std::vector< sal_uInt16 > | maScriptType |
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 138 of file fntctrl.cxx.
|
inline |
Definition at line 178 of file fntctrl.cxx.
References svtools::DOCCOLOR, svtools::ColorConfig::GetColorValue(), Invalidate100PercentFontWidth(), SvtLanguageOptions::IsAnyEnabled(), SvtLanguageOptions::IsCTLFontEnabled(), and svtools::ColorConfigValue::nColor.
|
inline |
Definition at line 198 of file fntctrl.cxx.
References VclPtr< Printer >::disposeAndClear().
Size FontPrevWin_Impl::CalcTextSize | ( | vcl::RenderContext & | rRenderContext, |
OutputDevice const * | pPrinter, | ||
const SvxFont & | rFont | ||
) |
Definition at line 298 of file fntctrl.cxx.
References SvxFont::GetTextSize(), maCJKFont, maCTLFont, maScriptChg, maScriptType, maText, maTextWidth, mnAscent, and Size::Width().
void FontPrevWin_Impl::CheckScript | ( | ) |
Definition at line 237 of file fntctrl.cxx.
References assert(), maScriptChg, maScriptText, maScriptType, maText, maTextWidth, mxBreak, and nType.
void FontPrevWin_Impl::DrawPrev | ( | vcl::RenderContext & | rRenderContext, |
Printer * | pPrinter, | ||
Point & | rPt, | ||
const SvxFont & | rFont | ||
) |
Definition at line 390 of file fntctrl.cxx.
References SvxFont::DrawPrev(), OutputDevice::GetFont(), maCJKFont, maCTLFont, maScriptChg, maScriptType, maText, maTextWidth, and OutputDevice::SetFont().
|
inline |
Definition at line 216 of file fntctrl.cxx.
References mn100PercentFontWidth, mn100PercentFontWidthCJK, and mn100PercentFontWidthCTL.
Referenced by FontPrevWin_Impl().
|
inline |
Definition at line 221 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 445 of file fntctrl.cxx.
References Is100PercentFontWidthValid(), maCJKFont, maCTLFont, maFont, mn100PercentFontWidth, mn100PercentFontWidthCJK, mn100PercentFontWidthCTL, and mnFontWidthScale.
bool FontPrevWin_Impl::SetFontWidthScale | ( | sal_uInt16 | nScaleInPercent | ) |
Definition at line 434 of file fntctrl.cxx.
References mnFontWidthScale.
|
friend |
Definition at line 140 of file fntctrl.cxx.
|
private |
Definition at line 173 of file fntctrl.cxx.
|
private |
Definition at line 174 of file fntctrl.cxx.
|
private |
Definition at line 150 of file fntctrl.cxx.
Referenced by CalcTextSize(), DrawPrev(), and ScaleFontWidth().
|
private |
Definition at line 151 of file fntctrl.cxx.
Referenced by CalcTextSize(), DrawPrev(), and ScaleFontWidth().
|
private |
Definition at line 142 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 153 of file fntctrl.cxx.
Referenced by CheckScript().
|
private |
Definition at line 149 of file fntctrl.cxx.
Referenced by CalcTextSize(), CheckScript(), and DrawPrev().
|
private |
Definition at line 152 of file fntctrl.cxx.
Referenced by CalcTextSize(), CheckScript(), and DrawPrev().
|
private |
Definition at line 147 of file fntctrl.cxx.
Referenced by CalcTextSize(), CheckScript(), and DrawPrev().
|
private |
Definition at line 144 of file fntctrl.cxx.
|
private |
Definition at line 168 of file fntctrl.cxx.
|
private |
Definition at line 167 of file fntctrl.cxx.
|
private |
Definition at line 171 of file fntctrl.cxx.
|
private |
Definition at line 169 of file fntctrl.cxx.
|
private |
Definition at line 170 of file fntctrl.cxx.
|
private |
Definition at line 160 of file fntctrl.cxx.
|
private |
Definition at line 159 of file fntctrl.cxx.
|
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 164 of file fntctrl.cxx.
Referenced by Invalidate100PercentFontWidth(), Is100PercentFontWidthValid(), and ScaleFontWidth().
|
private |
Definition at line 158 of file fntctrl.cxx.
Referenced by CalcTextSize().
|
private |
Definition at line 165 of file fntctrl.cxx.
Referenced by ScaleFontWidth(), and SetFontWidthScale().
Definition at line 143 of file fntctrl.cxx.
|
private |
Definition at line 155 of file fntctrl.cxx.
|
private |
Definition at line 146 of file fntctrl.cxx.
Referenced by CheckScript().
|
private |
Definition at line 154 of file fntctrl.cxx.
|
private |
Definition at line 157 of file fntctrl.cxx.
|
private |
Definition at line 156 of file fntctrl.cxx.