| Section Formatting | | A document can be split into several sections to enable different page sizes and margins and different headers and footers in the same document. An end-user can use the new Page Setup dialog box available through the SectionFormatDialog method. All section attributes and headers and footers can be set either for a single section or for the complete document. The SectionCurrent property has been implemented to specify a part of the document when the attributes of a section are to be altered from programming code. This property can be used in conjunction with the PageWidth, PageHeight, PageMarginL, PageMarginT, PageMarginR, and PageMarginB properties. The TXStatusBar control has been extended to show the section number at the text input position. Additionally, it shows the number of pages and the number of sections contained in the document. |
| Headers and Footers | | The contents and the alignment of headers and footers can be different for each section. Also each section can have a special header and a special footer for the section's first page. If a section does not need its own header or footer, its header or footer can be connected with the header or footer of the previous section. The HeaderFooterConnectedToPrevious property implements this feature. The SectionCurrent property in conjunction with all Headerxxx properties an methods can be used to alter headers and footers for a single section or the current input section. |
| WordprocessingML Format | | TX Text Control supports the WordprocessingML part of the Microsoft Office Open XML format. This format is a ZIP compressed XML format for word processing and is used as standard format of Microsoft Word. A TextControl can load and save files (.docx extension) and blocks of memory containing documents formatted with this format. The Format parameter of the Load and Save methods accept a new value to load and save this format. |
| Import and Export of Microsoft Word Fields | | TX Text Control now supports the import and export of Microsoft Word fields contained in Microsoft Word and RTF documents. The arguments and switches of these fields are available through the FieldTypeData property, if the field is of the type txFieldMSWord. This field type only provides an interface to retrieve and change the data and parameters of such fields. The field logic itself is not implemented. Before loading a document, the txLoadMSWordFields attribute of the LoadSaveAttributes property must be set to true. The txMSWordFieldTypeNames attribute can be used to select particular types of fields. The FieldNext method has been expanded to enable iteration through all such fields in the document. |
| Import and Export of Heiler HighEdit Fields | | TX Text Control also supports the import and export of Heiler HighEdit fields contained in RTF documents. The names of these fields are available through the FieldTypeData property, if the field is of the type txFieldHighEdit. Before loading a document, the txLoadHighEditFields attribute of the LoadSaveAttribute property must be set to true. The FieldNext method has been expanded to enable iteration through all such fields in the document. |
| Background Printing | | Additional contents such as images or watermarks can be printed on a page of a document. A TXTextControl control prints transparently on top of some output that has been added through an application before the PrintPage method is called. |