Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: TXTETEXT.H
Link against: etext.lib

Class TEtextComponentInfo

class TEtextComponentInfo;

Description

Provides information about the number of components owned by an editable text object.

Components are fields and (rich text only), pictures and styles.

An instance of this class is returned by CPlainText::ComponentInfo() and by CRichText::ComponentInfo().

Members

Defined in TEtextComponentInfo:
TEtextComponentInfo(), TEtextComponentInfo(), iFieldCount, iPictureCount, iStyleCount


Construction and destruction


TEtextComponentInfo()

IMPORT_C TEtextComponentInfo();

Description

C++ constructor overloaded function.

The object can be constructed either:by default this initializes the field, picture and style counts to zerowith a field, picture and style count


TEtextComponentInfo()

IMPORT_C TEtextComponentInfo(TInt aFieldCount, TInt aPictureCount, TInt aStyleCount);

Description

C++ constructor overloaded function. The object can be constructed either:

by default this initializes the field, picture and style counts to zero

with a field, picture and style count

Parameters

TInt aFieldCount

Specifies the number of fields in the text object.

TInt aPictureCount

Specifies the number of pictures in the text object (rich text only).

TInt aStyleCount

Specifies the number of styles owned or referenced by the text object (rich text only).

[Top]


Member data


iFieldCount

TInt iFieldCount;

Description

The number of fields in the text object.


iPictureCount

TInt iPictureCount;

Description

The number of pictures in the text object (rich text only).


iStyleCount

TInt iStyleCount;

Description

The number of styles owned or referenced by the text object (rich text only).