RSat::TTextAttribute Struct Reference

struct RSat::TTextAttribute

Proactive commands which contain text may also contain formatting information, called text attributes, which apply to the text when it is displayed by the ME. If a Terminal receives a text attribute that it does not support then it shall use the default text attribute it supports.

For some proactive commands, the text attribute information is a conditional parameter. This means it is only present in the command if the text to which it applies is present as the text itself is an optional part of the command. For other proactive commands that always contain some text such as an alpha identifier, the text attribute information is optional, and can be present or not present.

The actual text to which the text attribute applies to depends on the specific proactive UICC command and is specified in ETSI TS 102 223.

The TTextAttribute structure is present in RSat classes which represent proactive commands that support text attributes. The structure contains iStatus which represents the status of iTextAttribute.

If the iStatus is RSat::ETextAttributeNotPresent then no text attribute data was supplied in the command. This commonly indicates that the default formatting should be applied to the text when it is displayed by the ME.

If the iStatis is RSat::ETextAttributeProvided then text attribute data was supplied in the command. This means that the supplied formatting should be applied when the text to which it applies is displayed on the ME. If the supplied formatting is not supported by the terminal, then default formatting should be applied.

Member Data Documentation

TTextAttributeStatus iStatus

TTextAttributeStatus iStatus

The status of the text attribute. RSat::TTextAttributeStatus

TTextAttributeBuf iTextAttributeData

TTextAttributeBuf iTextAttributeData

The text attribute data. Only valid if the iStatus is RSat::ETextAttributeProvided and the text to which it applies is valid. RSat::TTextAttributeBuf