28#include <vcl/font.hxx>
64 void SetSize(
const Size& rSize);
constexpr tools::Long Height() const
SmFace(const OUString &rName, const Size &rSize)
SmFace(const SmFace &rFace)
void SetBorderWidth(tools::Long nWidth)
SmFace(const Font &rFont)
tools::Long GetDefaultBorderWidth() const
SmFontPickListBox(std::unique_ptr< weld::ComboBox > pWidget)
virtual void Insert(const vcl::Font &rFont) override
SmFontPickListBox & operator=(const SmFontPickList &rList)
DECL_LINK(SelectHdl, weld::ComboBox &, void)
std::unique_ptr< weld::ComboBox > m_xWidget
void ReadFrom(const SmFontDialog &rDialog)
virtual ~SmFontPickList()
vcl::Font Get(sal_uInt16 nPos=0) const
void WriteTo(SmFontDialog &rDialog) const
SmFontPickList(sal_uInt16 nMax=5)
std::deque< vcl::Font > aFontVec
virtual void Insert(const vcl::Font &rFont)
SmFontPickList & operator=(const SmFontPickList &rList)
const Size & GetFontSize() const
Font & operator=(const Font &)
o3tl::Length SmO3tlLengthUnit()
bool IsItalic(const vcl::Font &rFont)
SmFace & operator*=(SmFace &rFace, const Fraction &rFrac)
bool IsBold(const vcl::Font &rFont)
SmViewShell * SmGetActiveView()
! Since this method is based on the current focus it is somewhat ! unreliable and may return unexpect...