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

Constructor & Destructor Documentation

CLinkedTypefaceElementSpec(TInt)

CLinkedTypefaceElementSpec ( TInt aGroupId ) [private]

Constructor

Parameters

TInt aGroupId

~CLinkedTypefaceElementSpec()

IMPORT_C ~CLinkedTypefaceElementSpec ( )

Default Destructor

Member Functions Documentation

Canonical()

IMPORT_C TBool Canonical ( ) const

ConstructL(const TDesC &)

void ConstructL ( const TDesC & aName ) [private]

Parameters

const TDesC & aName

ElementName()

IMPORT_C TPtrC ElementName ( ) const

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

GroupId()

IMPORT_C TInt GroupId ( ) const

NewLC(const TDesC &, TInt)

IMPORT_C CLinkedTypefaceElementSpec * NewLC ( const TDesC & aTypefaceName,
TInt aGroupId
) [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 & aTypefaceName The typeface name for this element
TInt aGroupId The ID of the linked font group this element should belong to

SetCanonical(TBool)

IMPORT_C void SetCanonical ( TBool aIsCanonical )

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

Parameters

TBool aIsCanonical ETrue 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]