class CCL::FontParamHelper

#include <fontselector.h>

class FontParamHelper
{
public:
    // construction

    FontParamHelper (int collectFlags = 0);
    FontParamHelper (IFontTable* fontTable);

    // methods

    bool selectFont (
        IParameter* fontParam,
        IParameter* styleParam,
        const Font& font
    ) const;

    void updateFonts (IParameter* fontParam) const;
    void updateStyles (IParameter* styleParam, const IParameter* fontParam) const;
    tresult getExampleText (String& text, IParameter* fontParam) const;
};