sharkbas.blogg.se

Word rich text content control reference
Word rich text content control reference










word rich text content control reference

For example, if you italicize one word of a sentence that is in a plain text control, all the text inside the control is italicized.įills the content control with a single image. It cannot contain other items, such as tables, pictures, or other content controls.Īll or nothing formatting. Content ControlsĪ rich text control can contain custom formatted text or other items, such as tables, pictures, or other content controls.īefore Word 2013, rich text controls cannot be bound to an XML data node.Ī plain text content control is limited to plain text in a single or multiple paragraphs. Some of these controls are not available or have less capability in earlier versions.

word rich text content control reference

Table 1 below provides a general description of the ten types of content controls available in Word 2013. I call them "Word's Diamonds in the Rough" because, despite their enormous potential, Microsoft has failed miserably in resolving long standing bugs and in providing enhancements to functionality to fully realize this potential. The align attribute is supported in the Internet Explorer only.This Microsoft Word Help & Microsoft Word Tips page serves to introduce Content Controls and list links to several more specific articles on Content Controls that are available on this website.Ĭontent controls were introduced with the release of Word 2007 and have changed little with the subsequent release of Word 2010. The Rich Text control's interpretation of the bordercolor attribute is different from the HTML browser. The align tag is supported in the Internet Explorer only. The dir attribute reorders table columns. If the align attribute is not specified, the image is considered as inline.

word rich text content control reference

Only the always property value is supported for the page-break-before tag. These attributes are used to specify a style for content within a certain tag. The ID and Class attributes are interpreted for all tags, including the unlisted ones. External links are processed for inline pictures and style sheets (CSS files). The table below lists the supported HTML tags. See the Bind Controls to Data and Use Embedded Fields topics for more information. The Rich Text also enables you to merge data fields and static content in its text. This creates a new Rich Text control bound to this field.

word rich text content control reference

You can also drag and drop any field from the Field List with the right mouse button and select the Rich Text menu item. This editor allows you to construct a complex binding expression with two or more data fields. To do this, click the control's smart tag and use the Html Expression's drop-down list.Ĭlick the Rtf Expression or Html Expression option's ellipsis button to invoke the Expression Editor. You can bind the control to a data field that provides HTML content in the same way. Click the control's smart tag, expand the Rtf Expression's drop-down list and select the data field. You can bind the control's RTF property to a data field obtained from a report's data source. The Rich Text's content is exported as plain text only when exporting to XLS or XLSX format.












Word rich text content control reference