Meeting SDK for Linux API Reference
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IRichTextStyleOffset Class Referenceabstract

Chat message rich text style offset. More...

#include <meeting_chat_interface.h>

Public Member Functions

virtual unsigned int GetPositionStart ()=0
 Get a certain rich-text style's start position.
 
virtual unsigned int GetPositionEnd ()=0
 Get the end position of a certain style in rich text.
 
virtual const zchar_tGetReserve ()=0
 Get a certain rich-text style's supplementary information.
 

Detailed Description

Chat message rich text style offset.

Definition at line 188 of file meeting_chat_interface.h.

Member Function Documentation

◆ GetPositionEnd()

virtual unsigned int IRichTextStyleOffset::GetPositionEnd ( )
pure virtual

Get the end position of a certain style in rich text.

Returns
If the function succeeds, the return value is the end position of a certain style in rich text. Otherwise failed, the return value is -1.

◆ GetPositionStart()

virtual unsigned int IRichTextStyleOffset::GetPositionStart ( )
pure virtual

Get a certain rich-text style's start position.

Returns
If the function succeeds, the return value is the specified rich-text style's start position. Otherwise the function fails, and the return value is -1.

◆ GetReserve()

virtual const zchar_t * IRichTextStyleOffset::GetReserve ( )
pure virtual

Get a certain rich-text style's supplementary information.

Returns
If the function succeeds, the return value is the specified rich-text style's supplementary information. If the style is TextStyle_FontSize, possible return values are FontSize_Small, FontSize_Medium, or FontSize_Large. If the style is TextStyle_Paragraph, possible return values are Paragraph_H1, Paragraph_H2, or Paragraph_H3. If the style is TextStyle_FontColor, or TextStyle_BackgroundColor, possible return values are hex string representing standard RGB data. Otherwise the function fails, and the return value is the string of length zero(0).