Which MS Word Fields Are Supported and How to Handle Them?
TX Text Control supports many fields from MS Word that can be imported from MS Word compatible formats. This article lists different fields and options how to handle them.

TX Text Control provides support for many field types including proprietary Text
When using fields from other applications such as MS Word, there are different options to handle these fields.
On loading a document, the Application
TXTextControl.LoadSettings ls = new TXTextControl.LoadSettings() {
ApplicationFieldFormat = TXTextControl.ApplicationFieldFormat.MSWord
};
textControl1.Load("test.docx", TXTextControl.StreamType.WordprocessingML, ls);
LoadSettings
When importing fields, 3 relevant options can be specified:
- None
Textfields supported through other applications are not imported as ApplicationFields. Formfields are imported as TextControl FormFields.
- MSWord
Fields which are supported and defined through Microsoft Word are imported as ApplicationFields. The LoadSettings.ApplicationFieldTypeNames property can be used to select particular types of fields.
- MSWordTXFormFields
Fields which are supported and defined through Microsoft Word are imported as ApplicationFields with an exception of form fields. Form fields such as comboboxes, checkboxes and form textfields are imported as TextControl FormFields.
Field Overview
The table below shows how fields are imported based on the specified LoadSettings:
Field | Document Format | Imported as ( Load |
||
None | MSWord | MSWordTXFormFields | ||
TextField | InternalUnicodeFormat, InternalFormat | Text |
N/A | N/A |
MergeField | MSWord, WordprocessingML, RichTextFormat | × | Application |
Application |
DOCVARIABLE | MSWord, WordprocessingML, RichTextFormat | × | Application |
Application |
Content Control | MSWord, WordprocessingML, RichTextFormat | Form |
Application |
Form |
Legacy Form Fields | MSWord, WordprocessingML, RichTextFormat | Form |
Application |
Form |
Also See
This post references the following in the documentation:
- TXText
Control. Application Field Class - TXText
Control. Form Field Class - TXText
Control. Load Settings. Application Field Format Property - TXText
Control. Text Field Class
Related Posts
Sneak Peek X15: MS Word Compatible Document Protection and Editable Regions
In version X15, admin users are able to protect a document and to add editable regions to a document. This article gives an overview of the new UI and functionality for this feature.
TX Text Control 33.0 SP3 is Now Available: What's New in the Latest Version
TX Text Control 33.0 Service Pack 3 is now available, offering important updates and bug fixes for all platforms. If you use TX Text Control in your document processing applications, this service…
TX Text Control 33.0 SP2 is Now Available: What's New in the Latest Version
TX Text Control 33.0 Service Pack 2 is now available, offering important updates and bug fixes for all platforms. If you use TX Text Control in your document processing applications, this service…
Document Lifecycle Optimization: Leveraging TX Text Control's Internal Format
Maintaining the integrity and functionality of documents throughout their lifecycle is paramount. TX Text Control provides a robust ecosystem that focuses on preserving documents in their internal…
Expert Implementation Services for Legacy System Modernization
We are happy to officially announce our partnership with Quality Bytes, a specialized integration company with extensive experience in modernizing legacy systems with TX Text Control technologies.