CLinkedTypefaceElementSpec Class Reference

class CLinkedTypefaceElementSpec : public CBase

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.

CLinkedTypefaceSpecification CLinkedTypefaceGroup

Inherits from

  • CLinkedTypefaceElementSpec

Constructor & Destructor Documentation

CLinkedTypefaceElementSpec(TInt)

CLinkedTypefaceElementSpec(TIntaGroupId)[private]

Constructor

Parameters

TInt aGroupId

~CLinkedTypefaceElementSpec()

IMPORT_C~CLinkedTypefaceElementSpec()

Default Destructor

Member Functions Documentation

Canonical()

IMPORT_C TBoolCanonical()const

ConstructL(const TDesC &)

voidConstructL(const TDesC &aName)[private]

Parameters

const TDesC & aName

ElementName()

IMPORT_C TPtrCElementName()const

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

GroupId()

IMPORT_C TIntGroupId()const

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.

CLinkedTypefaceGroup

Parameters

const TDesC & aTypefaceNameThe typeface name for this element
TInt aGroupIdThe ID of the linked font group this element should belong to

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.

Parameters

TBool aIsCanonicalETrue if the element is canonical, EFalse otherwise

Member Data Documentation

HBufC * iElementName

HBufC *iElementName[private]

TInt iGroupId

TInt iGroupId[private]

TBool iIsCanonical

TBool iIsCanonical[private]