#include <linkedfonts.h>
class CLinkedTypefaceElementSpec : public CBase |
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) |
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.
IMPORT_C TPtrC | ElementName | ( | ) | const |
Returns the typeface that this element represents within the linked typeface.
Returns: 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.
See also: CLinkedTypefaceGroup
Parameter | Description |
---|---|
aTypefaceName | The typeface name for this element |
aGroupId | The ID of the linked font group this element should belong to |
Returns: 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.
Parameter | Description |
---|---|
aIsCanonical | ETrue if the element is canonical, EFalse otherwise |