MOpenFontLinkedTypefaceExtension Class Reference

class MOpenFontLinkedTypefaceExtension

Interface for handling, creating and modifying linked typefaces.

The creation method sends an object containing the entire linked typeface specification. In return, a pointer to an object conforming to COpenFontFile is returned. This can subsequently be handed as though it were a normal COpenFontFile .

Public Member Functions
void CreateLinkedTypefaceL (const COpenFontLinkedTypefaceSpecification &, TFileName &)
void GetLinkedTypefaceSpecificationL (const TFileName &, COpenFontLinkedTypefaceSpecification &)
void LinkedTypefaceRequestExtendedInterface ( TUid , TAny *&)
Private Member Functions
IMPORT_C void Reserved1 ()
IMPORT_C void Reserved2 ()
IMPORT_C void Reserved3 ()
IMPORT_C void Reserved4 ()
IMPORT_C void Reserved5 ()
IMPORT_C void Reserved6 ()
IMPORT_C void Reserved7 ()
IMPORT_C void Reserved8 ()

Member Functions Documentation

CreateLinkedTypefaceL(const COpenFontLinkedTypefaceSpecification &, TFileName &)

void CreateLinkedTypefaceL ( const COpenFontLinkedTypefaceSpecification & aLinkedTypefaceSpec,
TFileName & aFilename
) [pure virtual]

Create a linked typeface from the specification. A path and filename is provided to the rasterizer. For example "c:\linkedfonts\MyLinkedTypeface" the rasterizer should append the file extension e.g. ".ltf" to aFileName.

Parameters

const COpenFontLinkedTypefaceSpecification & aLinkedTypefaceSpec The specification for the linked typeface
TFileName & aFilename

GetLinkedTypefaceSpecificationL(const TFileName &, COpenFontLinkedTypefaceSpecification &)

void GetLinkedTypefaceSpecificationL ( const TFileName & aFilename,
COpenFontLinkedTypefaceSpecification & aLinkedTypefaceSpec
) [pure virtual]

Get the specification of a linked typeface from the rasterizer.

The primary purpose of this function is to allow client side code to retrieve the existing defintion of a linked typeface, prior to making changes to it and resubmitting the revised definition to the rasterizer using UpdatelinkedTypeface().

MOpenFontLinkedTypefaceExtension::UpdatelinkedTypeface().

Parameters

const TFileName & aFilename
COpenFontLinkedTypefaceSpecification & aLinkedTypefaceSpec On return will point to the specification of the existing linked typeface. Ownership of that specification object is transferred to the caller.

LinkedTypefaceRequestExtendedInterface(TUid, TAny *&)

void LinkedTypefaceRequestExtendedInterface ( TUid aUid,
TAny *& aParam
) [pure virtual]

To allow future extensions while maintaining BC.

Parameters

TUid aUid
TAny *& aParam

Reserved1()

IMPORT_C void Reserved1 ( ) [private, pure virtual]

Reserved2()

IMPORT_C void Reserved2 ( ) [private, pure virtual]

Reserved3()

IMPORT_C void Reserved3 ( ) [private, pure virtual]

Reserved4()

IMPORT_C void Reserved4 ( ) [private, pure virtual]

Reserved5()

IMPORT_C void Reserved5 ( ) [private, pure virtual]

Reserved6()

IMPORT_C void Reserved6 ( ) [private, pure virtual]

Reserved7()

IMPORT_C void Reserved7 ( ) [private, pure virtual]

Reserved8()

IMPORT_C void Reserved8 ( ) [private, pure virtual]