TPdfSpokenTextprocedure SpokenTextAppend(var Spoken: TPdfSpokenText; const SpokenPart: WString; Page, StartIndex: Integer; SourceCount: Integer = -1);
| Spoken | TPdfSpokenText - Fragment, który odbiera tekst mówiony i wpis zakresu |
| SpokenPart | WString - Przebieg tekstu przekazany do silnika mowy |
| Page | Integer - Jednokrotny numer strony źródłowej liczony od jedynki |
| StartIndex | Integer - Indeks źródłowego znaku FTextPage liczony od zera |
| SourceCount | Integer - Liczba znaków źródłowych lub -1, aby użyć długości przebiegu mówionego |
SpokenTextAppend dodaje SpokenPart do Spoken.Text i rejestruje TPdfSpokenSpan, który mapuje przesunięcie mówione z powrotem na tekst strony
Gdy Spoken.Text ma już treść, funkcja pomocnicza wstawia jedną spację separatora przed nowym przebiegiem; ten separator jest celowo niezmapowany
Spoken.Text := '';
Spoken.Spans := nil;
SpokenTextAppend(Spoken, UnitText, 1, UnitStart, UnitLength);