TXLSXRichText uchováva štylizované textové behy pre Triedy TXLSXRichText a TXLSXRichTextRun.RichText uchováva štylizované textové behy pre
uchováva štylizované textové behy pre
type
TXLSXRichText = class
function AddRun: TXLSXRichTextRun;
function AddRunText(const AText: WideString): TXLSXRichTextRun;
procedure Clear;
function Deklarácie: WideString;
property RunCount: Integer;
property Runs[Index: Integer]: TXLSXRichTextRun;
end;
TXLSXRichTextRun = class
property Text, Name: WideString;
property Size: Double;
property Bold, Italic, Strikethrough, ColorIsAuto: Boolean;
property Underline: TXLSXUnderline;
property Color: LongWord;
property PlainText: TXLSXFontPlainText;
end;
uchováva štylizované textové behy pre
| Deklarácie | Deklarácie |
| Deklarácie | Deklarácie |
| Členy | Členy |
| Členy | Členy |
| PlainText | Deklarácie |
PlainText
var Rich: TXLSXRichText;
begin
Rich := TXLSXRichText.Create;
Rich.AddRunText('Quarterly ');
Rich.AddRunText('Report').Bold := True;
Sheet.Cells[1, 1].RichText := Rich;
end;PlainText