10#include "GUIPropertyItemBase.h"
281 CWnd* pReferenceWnd =
nullptr);
287 friend class CGUIPropertyGridPropertyFont;
Template type array class.
Definition FLArray.h:53
Template type string class.
Definition FLString.h:34
FLImaging module execution result object.
Definition ResultsDef.h:1631
A class of FigureText attribute class.
Definition FLFigureTextAttribute.h:25
CGUIPropertyItemBase()
Default constructor.
virtual Base::CFLString< wchar_t > GetDefaultFontName() const
Returns the default font family name.
virtual bool Load(const Base::CFLArray< Base::CFLString< wchar_t > > &flaData) override
Loads the value of this from a string array.
virtual const CResult EnableDefaultItalic(bool bItalic)
Enables or disables default italic style.
virtual ~CGUIPropertyItemFont()
Destructor.
virtual bool IsDefaultItalicEnabled() const
Returns whether default italic style is enabled.
virtual const CResult SetFontSize(float f32FontSize)
Sets the font size (points).
virtual Foundation::EFigureTextFontWeight GetFontWeight() const
Returns the current font weight.
virtual CMFCPropertyGridProperty * CreateGridProperty() override
It creates and returns the MFC grid property for this item. If an instance has already been created,...
virtual const CResult SetDefaultFontSize(float f32FontSize)
Sets the default font size (points).
virtual bool Load(const Base::CFLString< wchar_t > &strFilePath=L"") override
Loads the value of this from an ini file.
virtual const CResult SetFontWeight(Foundation::EFigureTextFontWeight eFontWeight)
Sets the font weight.
virtual float GetFontSize() const
Returns the current font size (points).
virtual Base::CFLString< wchar_t > GetFontName() const
Returns the current font family name.
virtual float GetDefaultFontSize() const
Returns the default font size (points).
virtual const CResult SetDefaultFontName(const Base::CFLString< wchar_t > &flsFontName)
Sets the default font family name.
virtual const CResult SetDefaultFontWeight(Foundation::EFigureTextFontWeight eFontWeight)
Sets the default font weight.
virtual bool SetValue(Base::CFLString< wchar_t > strValue, bool bInvokeCallback=true) override
Sets the value for this.
virtual bool IsItalicEnabled() const
Returns whether italic style is enabled.
CGUIPropertyItemFont()
Default constructor.
virtual Foundation::EFigureTextFontWeight GetDefaultFontWeight() const
Returns the default font weight.
virtual const CResult EnableItalic(bool bItalic)
Enables or disables italic style.
virtual const CResult SetFontName(const Base::CFLString< wchar_t > &flsFontName)
Sets the font family name.
EFigureTextFontWeight
Font weight of FigureText.
Definition DefinitionsFigureText.h:23
Definition D2DObject.h:12