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.
Public Member Functions | |
---|---|
~CLinkedTypefaceElementSpec() | |
IMPORT_C TBool | Canonical() |
IMPORT_C TPtrC | ElementName() |
IMPORT_C TInt | GroupId() |
IMPORT_C CLinkedTypefaceElementSpec * | NewLC(const TDesC &, TInt) |
IMPORT_C void | SetCanonical(TBool) |
Private Member Functions | |
---|---|
CLinkedTypefaceElementSpec(TInt) | |
void | ConstructL(const TDesC &) |
Private Attributes | |
---|---|
HBufC * | iElementName |
TInt | iGroupId |
TBool | iIsCanonical |
CLinkedTypefaceElementSpec | ( | TInt | aGroupId | ) | [private] |
Constructor
TInt aGroupId |
IMPORT_C TPtrC | ElementName | ( | ) | const |
Returns the typeface that this element represents within the linked typeface.
The element typeface name
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.
The newly created element spec
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.
TBool aIsCanonical | ETrue if the element is canonical, EFalse otherwise |