|
|
|
|
|
Functions for managing RTF controls
The following functions are used to manage RTF edit controls:
| | RTFAdd | Adds a character string (in RTF or not) at the end of RTF edit control, RTF control in a report or character string containing a text in RTF. | RTFAddLink | Adds a link to a text section in an RTF Edit control. | RTFInsert | Inserts a character string in RTF into the content of an RTF control (found in a window or in a report) or into the content of a character string in RTF. | RTFLoad | Loads a file in RTF in an RTF control (found in a window or in a report). | RTFReplace | Replaces or inserts a character string in an RTF control (found in a window or in a report) or in a string in RTF (containing a text in RTF). | RTFSearch | Finds a character string in an RTF control (found in a window or in a report) or in a character string containing text in RTF format. | RTFSelection | Modifies or lists attributes of text currently selected in an control RTF (from a window or report WINDEV). | RTFToHTML | Returns the HTML string corresponding to the specified RTF string. | RTFToText | Returns the text without the formatting characteristics specific to the RTF format. |
Related Examples:
|
Unit examples (WINDEV): Management of RTF
[ + ] Using the main functions for RTF management in a WINDEV application: - Load a file in RTF format - Save a file in RTF format - Find and select a word in an RTF text - Display a text in RTF format - Modify the characteristics of a selection (font, case, color, ...)
|
|
Unit examples (WINDEV): Switching from the RTF format to the HTML format
[ + ] Using RTFToHTML and RTFToText.
|
|
Unit examples (WINDEV): The special characters
[ + ] Handling special characters in an RTF control and viewing the ASCII and ANSI codes.
|
|
Training (WINDEV): WD Coloring Search
[ + ] This example explains how to highlight the sought words in the result of a full-text search. It is performed via a highlighting in yellow.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|