The RichTextEdit control has the following enhancements:
-
Supports form fields. The supported form field types include: FormFieldCheckBox, FormFieldComboBox, FormFieldText, and FormFieldDate.
Note
When executing the SaveDocument function to save the content of a RichTextEdit control to a PDF file, the form fields can be still editable in the PDF file.
-
The following new functions are added for form fields regardless of the form field type:
FormFieldGetEmptyWidth; FormFieldSetEmptyWidth; FormFieldGetText; FormFieldSetText; FormFieldGetCurrent; FormFieldSetCurrent; FormFieldGetDeletable; FormFieldSetDeletable; FormFieldDelete; FormFieldGetEnd; FormFieldGetStart; FormFieldNext
-
The following new functions are added for the form field type FormFieldCheckBox:
FormCheckBoxInsert; FormCheckBoxGetChecked; FormCheckBoxSetChecked
-
The following new functions are added for the form field type FormFieldComboBox:
FormComboBoxInsert; FormComboBoxGetItems; FormComboBoxSetItems
-
The following new functions are added for the form field type FormFieldText:
-
The following new functions are added for the form field type FormFieldDate:
FormDateFieldInsert; FormDateFieldGetDate; FormDateFieldSetDate; FormDateFieldGetFormat; FormDateFieldSetFormat
-
-
Supports tables.
-
The following new functions are added for adding/deleting a table, add table columns or rows:
TableInsert; TableInsertColumn; TableInsertDialog; TableInsertRows; TableDelete; TableDeleteColumn; TableDeleteColumns; TableDeleteRow; TableDeleteRows
-
The following new functions are added for working with the cells in the table:
TableCanChangeAttr; TableCellSelect; TableCellStart; TableGetCellBackColor; TableSetCellBackColor; TableGetCellBorderColor; TableSetCellBorderColor; TableGetCellBorderWidth; TableSetCellBorderWidth; TableGetCellHeader; TableSetCellHeader; TableGetCellHeight; TableSetCellHeight; TableGetCellHorizontalExt; TableSetCellHorizontalExt; TableGetCellHorizontalPos; TableSetCellHorizontalPos; TableGetCellLength; TableGetCellNumberFormat; TableSetCellNumberFormat; TableGetCellText; TableSetCellText; TableGetCellTextGap; TableSetCellTextGap; TableGetCellTextType; TableSetCellTextType; TableGetCellVertAlign; TableSetCellVertAlign; TableMergeCells; TableSplitCells
-
The following new functions are added for finding specified table or row or column:
TableAtInputPos; TableColumnAtInputPos; TableFromSelection; TableNext; TableRowAtInputPos
-
The following new functions are added for managing the table properties:
TablePropertiesDialog; TableGetColumnCount; TableGetRowCount
-
-
Supports text frames.
-
The following new functions are added for inserting or select a text frame:
TextFrameInsert; TextFrameInsertAsChar; TextFrameInsertFixed; TextFrameSelect
-
The following new functions are added for setting or getting text in a text frame:
-
The following new functions are added for managing the text frame properties:
TextFrameGetBackColor; TextFrameSetBackColor; TextFrameGetBorderWidth; TextFrameSetBorderWidth; TextFrameGetInternalMargin; TextFrameSetInternalMargin; TextFrameGetMarkerLines; TextFrameSetMarkerLines
-
-
Supports the RightToLeft property. This property can be set in the IDE painter or application scripts.
-
In the RichTextEdit control and the RichText DataWindow object, RightToLeft = true will insert characters in the right-to-left order in the text editor, and display the layout right justified in the toolbar, status bar, ruler, popup menus, and dialog box.
-
In the RichText edit style column, RightToLeft = true will insert characters in the right-to-left order in the active cell, and display the layout right justified in the toolbar for the current column.
-