CLinkedTypefaceElementSpec Class Reference

#include <linkedfonts.h>

Link against: fntstr.lib

class CLinkedTypefaceElementSpec : public CBase

Inherits from

  • CLinkedTypefaceElementSpec

    Detailed Description

    Class to specify an individual typeface within a linked typeface.

    WARNING: Class for internal and partner use ONLY. Compatibility is not guaranteed in future releases.

    See also: CLinkedTypefaceSpecification CLinkedTypefaceGroup

    Constructor & Destructor Documentation

    ~CLinkedTypefaceElementSpec ( )

    IMPORT_C~CLinkedTypefaceElementSpec()

    Default Destructor

    Member Function Documentation

    Canonical ( )

    IMPORT_C TBoolCanonical()const

    Returns: ETrue if the lement is canonical, EFalse otherwise

    ElementName ( )

    IMPORT_C TPtrCElementName()const

    Returns the typeface that this element represents within the linked typeface.

    Returns: The element typeface name

    GroupId ( )

    IMPORT_C TIntGroupId()const

    Returns: The group ID specified at construction.

    NewLC ( const TDesC &, TInt )

    IMPORT_C CLinkedTypefaceElementSpec *NewLC(const TDesC &aTypefaceName,
    TIntaGroupId
    )[static]

    Create a new linked typeface element specification. The name specified must be an existing typeface that should be added to the linked typeface. The group ID links this typeface to a linked typeface group.

    See also: CLinkedTypefaceGroup

    ParameterDescription
    aTypefaceNameThe typeface name for this element
    aGroupIdThe ID of the linked font group this element should belong to

    Returns: The newly created element spec

    SetCanonical ( TBool )

    IMPORT_C voidSetCanonical(TBoolaIsCanonical)

    Set whether the element is the canonical (metrics) font. This is the font that provides all the metrics for the linked typeface.

    ParameterDescription
    aIsCanonicalETrue if the element is canonical, EFalse otherwise