FontDefRecordHandler Class Reference

Record Handler for font definition records. More...

#include <rechtext.h>

Inheritance diagram for FontDefRecordHandler:

CamelotRecordHandler CXaraFileRecordHandler ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 FontDefRecordHandler ()
 ~FontDefRecordHandler ()
UINT32GetTagList ()
 Function to describe the text attribute recordsReturns an array of records handled by this class.
BOOL HandleRecord (CXaraFileRecord *pCXaraFileRecord)
 Handles reading a text attribute record from a CXaraFile.

Private Member Functions

 CC_DECLARE_DYNAMIC (FontDefRecordHandler)

Detailed Description

Record Handler for font definition records.

Author:
Andy_Hayward (Xara Group Ltd) <camelotdev@xara.com>
Date:
12/08/96 Base Class: CamelotRecordHandler

Definition at line 296 of file rechtext.h.


Constructor & Destructor Documentation

FontDefRecordHandler::FontDefRecordHandler  )  [inline]
 

Definition at line 302 of file rechtext.h.

00302 {};

FontDefRecordHandler::~FontDefRecordHandler  )  [inline]
 

Definition at line 303 of file rechtext.h.

00303 {};


Member Function Documentation

FontDefRecordHandler::CC_DECLARE_DYNAMIC FontDefRecordHandler   )  [private]
 

UINT32 * FontDefRecordHandler::GetTagList  )  [virtual]
 

Function to describe the text attribute recordsReturns an array of records handled by this class.

Author:
Andy_Hayward (Xara Group Ltd) <camelotdev@xara.com>
Date:
12/08/96
Parameters:
- [INPUTS]
Returns:
UINT32* to an array of records handled by this class.

Implements CXaraFileRecordHandler.

Definition at line 1908 of file rechtext.cpp.

01909 {
01910     static UINT32 TagList[] = {TAG_FONT_DEF_TRUETYPE,
01911                                 TAG_FONT_DEF_ATM,
01912                                 CXFRH_TAG_LIST_END};
01913     return TagList;
01914 }

BOOL FontDefRecordHandler::HandleRecord CXaraFileRecord pCXaraFileRecord  )  [virtual]
 

Handles reading a text attribute record from a CXaraFile.

Author:
Andy_Hayward (Xara Group Ltd) <camelotdev@xara.com>
Date:
09/07/96
Parameters:
pCXaraFileRecord - pointer to a CXaraFileRecord to read [INPUTS]
Returns:
TRUE if successful, FALSE otherwise

Implements CXaraFileRecordHandler.

Definition at line 1928 of file rechtext.cpp.

01929 {
01930     ERROR2IF(pCXaraFileRecord==NULL, FALSE, "Parameter CXaraFileRecord==NULL");
01931     
01932     BOOL ok;
01933 
01934     FontComponent *pFontComponent = GetFontComponent();
01935 
01936     ok = pFontComponent->ReadFontDefinition(pCXaraFileRecord);
01937 
01938     return ok;
01939 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:54:28 2007 for Camelot by  doxygen 1.4.4