TEtextComponentInfo Class Reference

class TEtextComponentInfo

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

Constructor & Destructor Documentation

TEtextComponentInfo()

IMPORT_C TEtextComponentInfo ( )

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(TInt, TInt, TInt)

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

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).

Member Data Documentation

TInt iFieldCount

TInt iFieldCount

The number of fields in the text object.

TInt iPictureCount

TInt iPictureCount

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

TInt iStyleCount

TInt iStyleCount

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