ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / RTF functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The following functions are used to manage RTF edit controls:
RTFAddAdds 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.
RTFAddLinkAdds a link to a text section in an RTF Edit control.
RTFInsertInserts 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.
RTFLoadLoads a file in RTF in an RTF control (found in a window or in a report).
RTFReplaceReplaces 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).
RTFSearchFinds 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.
RTFSelectionModifies or lists attributes of text currently selected in an control RTF (from a window or report WINDEV).
RTFToHTMLReturns the HTML string corresponding to the specified RTF string.
RTFToTextReturns the text without the formatting characteristics specific to the RTF format.
Related Examples:
Management of RTF 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, ...)
Switching from the RTF format to the HTML format Unit examples (WINDEV): Switching from the RTF format to the HTML format
[ + ] Using RTFToHTML and RTFToText.
The special characters Unit examples (WINDEV): The special characters
[ + ] Handling special characters in an RTF control and viewing the ASCII and ANSI codes.
WD Coloring Search 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.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 11/22/2023

Send a report | Local help