19#ifndef INCLUDED_SVX_FNTCTRL_HXX
20#define INCLUDED_SVX_FNTCTRL_HXX
24#include <rtl/ustring.hxx>
34 std::unique_ptr<FontPrevWin_Impl>
pImpl;
50 void SetColor(
const Color& rColor );
52 void SetTextLineColor(
const Color& rColor);
53 void SetOverlineColor(
const Color& rColor);
56 bool IsTwoLines()
const;
57 void SetTwoLines(
bool bSet);
61 void SetFontWidthScale( sal_uInt16 nScaleInPercent );
63 void AutoCorrectFontColor();
65 void SetPreviewText(
const OUString& rString );
66 void SetFontNameAsPreviewText();
69 bool bPreviewBackgroundToCharacter );
std::unique_ptr< FontPrevWin_Impl > pImpl
vcl::Font GetFont(vcl::Font const &rFont, DrawModeFlags nDrawMode, StyleSettings const &rStyleSettings)
static bool SetFont(const SfxItemSet &rSet, sal_uInt16 nSlot, SvxFont &rFont)
static bool SetFontSize(vcl::RenderContext &rRenderContext, const SfxItemSet &rSet, sal_uInt16 nSlot, SvxFont &rFont)