Xbasic

RTF Functions

Description

Functions for working with RTF formatted data.

Name
Description
*BIN_TO_PLAIN Function

Convert from binary to plain text.

*PLAIN_TO_BIN Function

The *PLAIN_TO_BIN() function returns the RTF encoded version of plain text.

*plaintext_to_rtftext Function

Convert plaintext to an RTF document (supports unicode & special character escapement etc).

a5_current_rtf_obj Function

Used by RTF editor menus. Internal use only

a5_pdf_exporttortf Function

Displays a dialog to export a PDF file to a RTF file.

a5_rtf_edit_menu Function

Generates a dynamic menu snippet depending on the class of the current object

a5_rtf_editor Function

Displays an RTF editor to edit an RTF text object.

A5_RTF_EDITOR2 Function

The A5_RTF_EDITOR2() function displays the RTF Editor to edit an RTF text object.

a5_rtf_editor_object Function

Called when user clicks the Pencil icon in Browse mode, and the browse is in view mode (i.e. the memo editor is not open for editing - e.g. it is a readonly memo).

a5_rtf_export Function

Used on the Edit menu in Form/Browse to export RTF data to a file.

a5_rtf_find Function

Brings up the RTF search/replace dialog in RTF static editor

a5_rtf_import Function

Used on the Edit menu in Form/Browse to import RTF data into a field.

a5_rtf_insert_expression Function

Inserts an Expression into a Static RTF Object. For Internal Use Only.

a5_rtf_insert_pagebreak Function

Inserts a Page Break into a Static RTF Object. For Internal Use Only.

a5_rtf_static_tbar_open Function

Launches the RTF editor toolbar for static RTF objects.

a5_rtf_toolbar_close Function

closes RTF editor toolbar

a5_rtf_toolbar_launch Function

Launches the RTF editor toolbar

a5_static_rtf_ins_tbar Function

Returns the system toolbar for Static RTF Insert toolbar

INSERT_TEXT_IN_RTF_MEMO Function

Inserts text into an RTF memo field. To insert at end, set position to -1, Fontname_size is of form: "Arial,12,B".

RTF_FIELD_TO_TEXT Function

RTF_FIELD_TO_TEXT() returns a text string with the data in a RTF memo field. This function is useful for extracting the data in a RTF memo field.

RTF_TO_TEXT Function

RTF_TO_TEXT() returns a Text_String, referenced by the variable Blob_RTF. This function is useful for extracting the data in a RTF memo field.

rtfmemo_openeditor Function

For use on a Form Layout. Opens the RTF Memo editor for the specified object. objName must be bound to a RTF Memo field.