Content Control Adapter Fields
In Microsoft Word, Content Controls are controls that can be added and customized for use in documents and templates. Those controls provide properties and settings that can be used to automate documents. The TXTextControl.DocumentServer.Fields namespace provides new field adapter classes for the following content controls: RichTextContentControl, PlainTextContentControl, CheckBoxContentControl, ComboBoxContentControl, DateContentControl, DropDownContentControl.
Visualization of the ServerTextControl
The new ServerVisualization.TextViewGenerator class, a special kind of ServerTextControl, can be used to generate an image of the text which is contained in a ServerTextControl. It provides a ServerVisualization.View object, which provides the image and which defines the part of the document for which the image is generated. Furthermore, it offers a ServerVisualization.UserInput object which can be used to simulate keyboard and mouse input. If this user-input affects the image defined through the View object, the image is automatically updated and a View.Changed event occurs. The ServerVisualization.RulerBarViewGenerator and ServerVisualization.StatusBarViewGenerator classes work in the same way to generate images of a status bar and of horizontal and vertical ruler bars. Images of all built-in dialog boxes can be generated through the ServerVisualization.DialogViewGenerator class. Objects of this class can be obtained through the TextViewGenerator.GetDialogBox property. All of these classes can be found in the TXTextControl.ServerVisualization namespace.