Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: HLPMODEL.h
Link against: HLPMODEL.LIB

Class CHlpTopic

class CHlpTopic : public CBase

Support

Supported from 6.0

Description

Encapsulates a help topic.

A help topic has text, a title, a category, and paragraph and character formatting.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CHlpTopicEncapsulates a help topic

Defined in CHlpTopic:
Category(), CharFormatLayer(), ConstructL(), NewL(), NewLC(), ParaFormatLayer(), RestoreL(), TopicText(), TopicTitle(), iCategory, iGlobalCharFormatLayer, iGlobalParaFormatLayer, iTopicId, iTopicText, iTopicTitle, ~CHlpTopic()

Inherited from CBase:
operator new()


Construction and destruction


NewL()

static CHlpTopic* NewL();

Description

Allocates and creates a new help topic object.

Return value

CHlpTopic*

New help topic object


NewLC()

static CHlpTopic* NewLC();

Description

Allocates and creates a new help topic object, leaving the object on the cleanup stack.

Return value

CHlpTopic*

New help topic object

[Top]


Member functions


RestoreL()

void RestoreL(RDbView* aView);

Description

Restores the object from a database view.

This only restores text and markup, not pictures. Help application authors should use CHlpModel::LoadTopicL() instead.

Parameters

RDbView* aView

Database view


TopicText()

CRichText* TopicText();

Description

Gets the topic text.

Return value

CRichText*

Topic text


TopicTitle()

TDesC& TopicTitle();

Description

Gets the topic title.

Return value

TDesC&

Topic title


Category()

TDesC& Category();

Description

Gets the topic category.

Return value

TDesC&

Topic category


ParaFormatLayer()

inline CParaFormatLayer* ParaFormatLayer() const;

Description

Gets the topic paragraph formatting.

Return value

CParaFormatLayer*

Topic paragraph formatting


CharFormatLayer()

inline CCharFormatLayer* CharFormatLayer() const;

Description

Gets the topic character formatting.

Return value

CCharFormatLayer*

Topic character formatting

[Top]


Internal members


ConstructL()

private: void ConstructL();

Description

This member is internal and not intended for use.


~CHlpTopic()

~CHlpTopic();

Description

This member is internal and not intended for use.


iTopicId

private: TUint32 iTopicId;

Description

This member is internal and not intended for use.


iTopicTitle

private: TBuf<KMaxTitleColumn> iTopicTitle;

Description

This member is internal and not intended for use.


iCategory

private: TBuf<KMaxTitleColumn> iCategory;

Description

This member is internal and not intended for use.


iTopicText

private: CRichText* iTopicText;

Description

This member is internal and not intended for use.


iGlobalParaFormatLayer

private: CParaFormatLayer* iGlobalParaFormatLayer;

Description

This member is internal and not intended for use.


iGlobalCharFormatLayer

private: CCharFormatLayer* iGlobalCharFormatLayer;

Description

This member is internal and not intended for use.