New Features and Update Notes

TX Text Control 11.0 provides the several new features all described in the following tables.

New Features

Feature Description
Nested Tables A table can be inserted within another table. Such a table is called a nested table. The level of nesting is not limited. All of Text Control's text filters have been expanded to import and export nested tables. To refer to a nested table, the same properties and methods can be used as for top-level tables. The TXTextControl.TableNext property lists all top-level and all nested tables in the order they appear in the text flow. Other properties and methods have been added to get a table's nesting level or to get its outer or outermost table.
Table Splitting A table can be split below or above the table row containing the current input position with the TXTextControl.TableSplit method. If the original table has an identifier, both parts retain their identifier. A TXTextControl.TableCreated event occurs for the bottom part to enable the application to change the identifier of the bottom part. If a table is split above the first row, a new line is inserted above the table, and if a table is split below the last row, a new line is inserted below the table. This is useful to insert text above or below a nested table that immediately starts and/or ends at the beginning or the end of the cell in which it is nested.
Multiple Undo Text Control has a new undo buffer that supports multiple undo and redo operations. Additionally, the undo buffer now supports many more Text Control features such as images, text fields and all table operations. The new methods TXTextControl.StartUndoAction and TXTextControl.EndUndoAction can bundle more than one property call to a single undo action. The new TXTextControl.AllowUndo property activates or deactivates the undo buffer. Deactivating the undo buffer saves time and memory which can be useful, if a Text Control for example is deployed as a report generator.
Image Resolution and Compression Quality If images are embedded in a document with their complete binary data, it can be useful to alter an image's resolution and the quality of the data compression algorithm to minimize the file size. By default, Text Control uses the image's default resolution and a default value for the data compression. The txImageCompressionQuality and txImageMaxResolution settings of the TXTextControl.LoadSaveAttribute property can be used to alter these values for all images in the complete document. The TXTextControl.ImageExportCompressionQuality and TXTextControl.ImageExportMaxResolution properties can be used to overwrite these values for a single image.
PDF Document Security New parts of the LoadSaveAttribute property allow the setting of the standard PDF security features. Both passwords can be set: a user password to allow document opening and a master password to allow modification of the current access permissions. Furthermore, the txDocAccessPermissions part allows individual access permissions to be set.
Ruler Bar Design The Ruler Bar Control has an additional look with a flat design. This new look is now the default setting, but the previous look can still be set with the new Appearance property.

Update Notes

Property/Method/Event Update Note
CanRedo Property Has been extended with additional values to indicate the action that can be redone.
CanUndo Property Has been extended with additional values to indicate the action that can be undone.
LoadSaveAttribute Property Has been extended with the following parts: txDocAccessPermissions, txMasterPassword, txUserPassword, txImageCompressionQuality, txImageMaxResolution.