TX Text Control 30.0 provides the following new features:
Extended Character Attributes
TextControl supports now automatic sub- and superscript settings, text effects with uppercase letters and a user-defined character spacing and scaling. The new properties Selection.AutoBaseline, Selection.Capitals, Selection.CharacterScaling and Selection.CharacterSpacing can be used to define or retrieve these settings. When using automatic sub- and superscript the font is scaled and moved above or below the baseline with values defined through the font itself. When a font does not define these values, TextControl uses a scaling of 50% and moving of 40% above and 15% below the baseline. In addition to standard sub- and superscript TextControl also offers subscripts aligned at the baseline and superscripts that do not extend above the ascender line. These special sub- and superscripts can be used for numerators and denominators of diagonal fractions such as the Spanish c/u (cada uno) or for ordinal indicators such as the English 1th. All of these automatic sub- and superscript features can be combined with a user-defined baseline position which can furthermore be set with the Selection.Baseline property. Further text effects are capital and small capital letters. In all cases lowercase letters are displayed either with capital letters of the same size or with capital letters which have a smaller size. The smaller size is either the size of the lowercase 'x' (petite caps) or the size of the lowercase 'x' + 10% (small caps). A further new character attribute is a user-defined character spacing where a fixed value is added to each character. When this value is negative, character spacing is reduced, otherwise it is extended. Character widths can also be scaled now specified in percent of the average character width. All new attributes are also available as attributes of formatting styles. The font and formatting style dialogboxes have been extended to make them available for the end-user. All text filters have been extended to exchange the new attributes with other applications.
Scalable Vector Graphics
Images saved with the SVG (Scalable Vector Graphics) format can be integrated in TextControl documents. All formatting options available with other images are also available with this image format. When a document is saved in PDF format, contained SVG images are converted to the PDF vector format. Based on the World Wide Web Consortium (W3C) SVG 1.1 (Second Edition) standard, all features are supported, except referencing to external images or style sheets, interactivity and animation, advanced text transformations and image processing features such as patterns, masking, compositing and filter effects.
The border of a textframe can be colored now and the border can be a single or a double line. The TextControl.TextFrameAttributesDialog and WPF.TextControl.TextFrameAttributesDialog dialog boxes and the Windows.Forms.Ribbon.RibbonFrameLayoutTab and WPF.RibbonFrameLayoutTab ribbon tabs have been extended accordingly. The new properties TextFrame.BorderColor and TextFrame.BorderStyle can be used to set or to get these attributes programmatically.
The input language used with spellchecking and hyphenation can now be specified as an attribute of character- and paragraph-based formatting styles. The formatting style dialogbox and all text filters have been extended to support this feature.
HTML5 Document Editor
The MailMerge class is now able to merge data into form fields. For this purpose the new property MailMerge.FormFieldMergeType has been introduced which allows to control whether form fields are pre-selected during merge, completely replaced or not affected by the merge process at all.