# What's New in TX Text Control ActiveX 14.0

> TX Text Control ActiveX 14.0: document sections with SectionCurrent, headers and footers per section, DOCX (WordprocessingML), Word fields and upgrade notes.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control ActiveX > What's New > Older Versions > What's New in TX Text Control ActiveX 14.0
- **3791 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/1400/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/1400/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/1400/llms-full.txt

---

Sections came to TX Text Control ActiveX in version 14.0: one document can now mix page sizes, margins, orientations and headers and footers. The version also added the WordprocessingML format (.docx), the import and export of Microsoft Word and Heiler HighEdit fields, and printing on top of your own page content.

Because page settings now belong to a section, code written for earlier versions can behave differently. The update notes near the end list what to check when you upgrade from version 13.0.

### New Features

- **Section formatting.** A document can be split into several sections, so that it has different page sizes and margins and different headers and footers. Users set them in the new *Page Setup* dialog box, which the [SectionFormatDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionformatdialog-method/llms-full.txt) method opens. All section attributes and all headers and footers can be set either for a single section or for the complete document.
- **Sections in code.** The new [SectionCurrent](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectioncurrent-property/llms-full.txt) property specifies the part of the document whose section attributes your code changes. Use it together with the [PageWidth](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagewidth-property/llms-full.txt), [PageHeight](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageheight-property/llms-full.txt), [PageMarginL](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagemarginl-property/llms-full.txt), [PageMarginT](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagemargint-property/llms-full.txt), [PageMarginR](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagemarginr-property/llms-full.txt) and [PageMarginB](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagemarginb-property/llms-full.txt) properties.
- **Sections in the status bar.** The [TXStatusBar](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/llms-full.txt) control shows the number of the section at the text input position, the number of pages and the number of sections in the document.

    ![The TXStatusBar of TX Text Control ActiveX 34.0, showing Section 1/5 and Page 1/5, the line and column, the language and the zoom factor.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/status-bar.1710ef4a.webp)
- **Headers and footers.** The content and the alignment of headers and footers can differ for each section, and each section can have a special header and footer for its first page. A section that does not need a header or footer of its own can connect it with the header or footer of the previous section; the [HeaderFooterConnectedToPrevious](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterconnectedtoprevious-property/llms-full.txt) property does this. The [SectionCurrent](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectioncurrent-property/llms-full.txt) property together with all [header and footer](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/headers-footers/llms-full.txt) properties and methods changes the headers and footers of a single section or of the current input section.
- **WordprocessingML format.** TX Text Control supports **WordprocessingML**, the part of the *Microsoft Office Open XML* format for word processing. It is a ZIP-compressed XML format and the standard format of Microsoft Word. `TXTextControl` loads and saves files with the extension .docx, and blocks of memory, in this format. The **Format** parameter of the [Load](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/load-method/llms-full.txt) and [Save](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/save-method/llms-full.txt) methods accepts a new value for it.
- **Import and export of Microsoft Word fields.** TX Text Control imports and exports the *Microsoft Word* fields of Microsoft Word and RTF documents. For a field of the type **txFieldMSWord**, the [FieldTypeData](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtypedata-property/llms-full.txt) property returns its arguments and switches. 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, set the **txLoadMSWordFields** attribute of the [LoadSaveAttribute](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/loadsaveattribute-property/llms-full.txt) property to true. The **txMSWordFieldTypeNames** attribute selects particular types of fields. The [FieldNext](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldnext-method/llms-full.txt) method was extended to iterate through all such fields in the document.
- **Import and export of Heiler HighEdit fields.** TX Text Control imports and exports the *Heiler HighEdit* fields of RTF documents. For a field of the type **txFieldHighEdit**, the [FieldTypeData](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtypedata-property/llms-full.txt) property returns its name. Before loading a document, set the **txLoadHighEditFields** attribute of the [LoadSaveAttribute](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/loadsaveattribute-property/llms-full.txt) property to true. The [FieldNext](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldnext-method/llms-full.txt) method iterates through all such fields in the document.
- **Background printing.** Additional content such as images or watermarks can be printed on a page. A [TXTextControl](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/llms-full.txt) prints transparently on top of the output that your application adds before it calls the [PrintPage](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/printpage-method/llms-full.txt) method.

### New Properties, Methods and Events

#### Properties

| Member | Description |
|---|---|
| [TXStatusBar.ShowColumn](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/showcolumn-property/llms-full.txt) | Specifies whether the status bar shows the column number of the current text input position. |
| [TXStatusBar.ShowLine](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/showline-property/llms-full.txt) | Specifies whether the status bar shows the line number of the current text input position. |
| [TXStatusBar.ShowPage](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/showpage-property/llms-full.txt) | Specifies whether the status bar shows the page number of the current text input position. |
| [TXStatusBar.ShowPageCounter](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/showpagecounter-property/llms-full.txt) | Specifies whether the status bar shows the number of pages in the document. |
| [TXStatusBar.ShowSection](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/showsection-property/llms-full.txt) | Specifies whether the status bar shows the section number of the current text input position. |
| [TXStatusBar.ShowSectionCounter](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/showsectioncounter-property/llms-full.txt) | Specifies whether the status bar shows the number of sections in the document. |
| [TXStatusBar.TextPageCounter](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/textpagecounter-property/llms-full.txt) | Returns or sets the text that appears in front of the page counter. |
| [TXStatusBar.TextSection](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/textsection-property/llms-full.txt) | Returns or sets the text that appears in the *Section* field in front of the section number. |
| [TXStatusBar.TextSectionCounter](https://docs.textcontrol.com/tx-text-control-activex/reference/txstatusbar/textsectioncounter-property/llms-full.txt) | Returns or sets the text that appears in front of the section counter. |
| [TXTextControl.HeaderFooterConnectedToPrevious](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterconnectedtoprevious-property/llms-full.txt) | Returns or sets a value specifying whether a header or footer is connected with the header or footer of the previous section. |
| [TXTextControl.PageOrientation](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageorientation-property/llms-full.txt) | Returns or sets the page orientation, portrait or landscape. |
| [TXTextControl.PageViewStyle](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageviewstyle-property/llms-full.txt) | Defines the kind of view that displays the page background. |
| [TXTextControl.SectionAtInputPos](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionatinputpos-property/llms-full.txt) | Returns the number of the section that contains the current text input position. |
| [TXTextControl.SectionBreakKind](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionbreakkind-property/llms-full.txt) | Returns or sets the kind of section break the section starts with. |
| [TXTextControl.SectionCount](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectioncount-property/llms-full.txt) | Returns the number of sections in the document. |
| [TXTextControl.SectionCurrent](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectioncurrent-property/llms-full.txt) | Returns or sets the section number for the following properties and methods: [PageWidth](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagewidth-property/llms-full.txt), [PageHeight](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageheight-property/llms-full.txt), [PageMarginL](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagemarginl-property/llms-full.txt), [PageMarginT](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagemargint-property/llms-full.txt), [PageMarginR](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagemarginr-property/llms-full.txt), [PageMarginB](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagemarginb-property/llms-full.txt), [PageOrientation](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageorientation-property/llms-full.txt), [HeaderFooter](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooter-property/llms-full.txt), [HeaderFooterActivate](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooteractivate-method/llms-full.txt), [HeaderFooterSelect](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterselect-method/llms-full.txt), [HeaderFooterPosition](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterposition-property/llms-full.txt), [HeaderFooterConnectedToPrevious](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterconnectedtoprevious-property/llms-full.txt), [Columns](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/columns-property/llms-full.txt), [PageBorderAttribute](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageborderattribute-property/llms-full.txt), [ColumnDistance](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/columndistance-property/llms-full.txt), [ColumnLineWidth](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/columnlinewidth-property/llms-full.txt), [ColumnLineColor](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/columnlinecolor-property/llms-full.txt), [ColumnWidthsAndDistances](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/columnwidthsanddistances-property/llms-full.txt), [SectionRestartPageNumbering](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionrestartpagenumbering-property/llms-full.txt) and [SectionBreakKind](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionbreakkind-property/llms-full.txt). |

#### Methods

| Member | Description |
|---|---|
| [TXTextControl.SectionFormatDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionformatdialog-method/llms-full.txt) | Opens the built-in dialog box that sets page settings and designs the headers and footers, for the whole document or for a single section. |
| [TXTextControl.SectionInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectioninsert-method/llms-full.txt) | Inserts a section break at the text input position or at a specified position. |

#### Events

| Member | Description |
|---|---|
| [TXTextControl.PageChanged](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagechanged-event/llms-full.txt) | Occurs when the text input position has moved to another page. |
| [TXTextControl.SectionChanged](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionchanged-event/llms-full.txt) | Occurs when the text input position has moved to another section. |

### Extended Properties, Methods and Events

Most of the extensions let a member work on one section, which the [SectionCurrent](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectioncurrent-property/llms-full.txt) property specifies.

#### Properties

| Member | Change |
|---|---|
| [HeaderFooter](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooter-property/llms-full.txt) property | Extended to support sections. `SectionCurrent` specifies a section number. |
| [HeaderFooterPosition](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterposition-property/llms-full.txt) property | Extended to support sections. `SectionCurrent` determines the section that the header or footer belongs to. |
| [HeaderFooterAtInputPos](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooteratinputpos-property/llms-full.txt) property | Extended to support sections. `SectionCurrent` receives the number of the section that the header or footer belongs to. |
| [PageHeight](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageheight-property/llms-full.txt) property | Extended to support sections. `SectionCurrent` specifies a section number. |
| [PageMarginL](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagemarginl-property/llms-full.txt) property | Extended to support sections. `SectionCurrent` specifies a section number. |
| [PageMarginT](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagemargint-property/llms-full.txt) property | Extended to support sections. `SectionCurrent` specifies a section number. |
| [PageMarginR](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagemarginr-property/llms-full.txt) property | Extended to support sections. `SectionCurrent` specifies a section number. |
| [PageMarginB](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagemarginb-property/llms-full.txt) property | Extended to support sections. `SectionCurrent` specifies a section number. |
| [PageWidth](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagewidth-property/llms-full.txt) property | Extended to support sections. `SectionCurrent` specifies a section number. |
| [LoadSaveAttribute](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/loadsaveattribute-property/llms-full.txt) property | Extended with the **txLoadMSWordFields** and **txLoadHighEditFields** attributes, which support the *Microsoft Word* and *Heiler HighEdit* fields of Microsoft Word and RTF documents. |
| [FieldType](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtype-property/llms-full.txt) property | Extended with the **txFieldMSWord** and **txFieldHighEdit** field types, which support the *Microsoft Word* and *Heiler HighEdit* fields of Microsoft Word and RTF documents. |
| [FieldTypeData](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtypedata-property/llms-full.txt) property | Extended with the **txFieldMSWord** and **txFieldHighEdit** field types, which support the *Microsoft Word* and *Heiler HighEdit* fields of Microsoft Word and RTF documents. |

#### Methods

| Member | Change |
|---|---|
| [HeaderFooterActivate](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooteractivate-method/llms-full.txt) method | Extended to support sections. `SectionCurrent` determines the section whose header or footer is activated. |
| [HeaderFooterSelect](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterselect-method/llms-full.txt) method | Extended to support sections. `SectionCurrent` determines the section whose header or footer is selected. |
| [FieldNext](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldnext-method/llms-full.txt) method | Extended to support fields of the types **txFieldMSWord** and **txFieldHighEdit**. |

#### Events

| Member | Change |
|---|---|
| [HeaderFooterActivated](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooteractivated-event/llms-full.txt) event | Extended to support sections. `SectionCurrent` receives the number of the section that the header or footer belongs to. |
| [HeaderFooterDeactivated](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterdeactivated-event/llms-full.txt) event | Extended to support sections. `SectionCurrent` receives the number of the section that the header or footer belongs to. |

### Update Notes

| Feature | Update note |
|---|---|
| [HeaderFooterSelect](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterselect-method/llms-full.txt) method | Earlier versions of TX Text Control accepted **txMain** as a parameter to deselect a header or footer, although the manual did not allow it. It was invalid before but did not cause an error. Version 14.0 improves the error handling: to deselect a header or footer, pass the value 0 (automatic mode). |
| [HeaderFooterSelect](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterselect-method/llms-full.txt) method | Earlier versions also allowed selecting a footer while a header was selected. In version 14.0, a header or footer can be selected only in automatic mode. [Headers and Footers](https://docs.textcontrol.com/tx-text-control-activex/document-editor/headers-footers/llms-full.txt) describes the details. |
| Sections and page settings | Before version 14.0, properties such as [PageHeight](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageheight-property/llms-full.txt) and [PageWidth](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagewidth-property/llms-full.txt) always applied to the entire document. In version 14.0, each section of a document can have its own page settings. If you use one of the page properties without selecting a section first, it affects all sections. |
| Page orientation, portrait and landscape | This incompatibility can occur with the internal format of TX Text Control; other formats, including DOC, RTF and HTML, are not affected. Earlier versions simulated landscape orientation by exchanging the width and height of a document. The new landscape mode of version 14.0 does not recognize this simulated landscape mode and displays a document formatted this way in portrait orientation. |

### Related Pages

- [Version 15.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/1500/llms-full.txt): the features of the next version.
- [Version 13.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/1300/llms-full.txt): the features of the previous version.
- [What's New](https://docs.textcontrol.com/tx-text-control-activex/whats-new/llms-full.txt): the changes of every TX Text Control ActiveX version.
- [Sections and Pages](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/sections-pages/llms-full.txt): the members for sections and page settings.
- [Headers and Footers](https://docs.textcontrol.com/tx-text-control-activex/document-editor/headers-footers/llms-full.txt): program headers and footers, section by section.
- [Using Microsoft Word Fields](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/microsoft-word/llms-full.txt): work with the fields of Microsoft Word documents.

---

## Nearby

- **Previous:** [What's New in TX Text Control ActiveX 15.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/1500/llms-full.txt)
- **Next:** [What's New in TX Text Control ActiveX 13.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/1300/llms-full.txt)
