Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: HLPMODEL.H
Link against: hlpmodel.lib

Class CHlpTopic

class CHlpTopic : public CBase;

Description

Encapsulates a help topic.

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

Derivation

Members

Defined in CHlpTopic:
Category(), CharFormatLayer(), NewL(), NewLC(), ParaFormatLayer(), RestoreL(), TopicText(), TopicTitle(), ~CHlpTopic()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewL()

static IMPORT_C CHlpTopic *NewL();

Description

Allocates and creates a new help topic object.

Return value

CHlpTopic *

New help topic object


NewLC()

static IMPORT_C 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


~CHlpTopic()

IMPORT_C ~CHlpTopic();

Description

[Top]


Member functions


RestoreL()

IMPORT_C 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()

IMPORT_C CRichText *TopicText();

Description

Gets the topic text.

Return value

CRichText *

Topic text


TopicTitle()

IMPORT_C TDesC &TopicTitle();

Description

Gets the topic title.

Return value

TDesC &

Topic title


Category()

IMPORT_C 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