3/15/2024 0 Comments Using markup in wordThroughout this article, the terms content types and rich content refer to the types of rich content you can insert into a Word document. Determining the Office Open XML markup you need to get it done is easier than you might think. dotx) are written, you can insert virtually any type of content that a user can add to a Word document, with virtually any type of formatting the user can apply. Depending on your scenario, there can be drawbacks to HTML coercion, such as limitations in the formatting and positioning options available to your content.īecause Office Open XML is the language in which Word documents (such as. If APIs are not yet available, you can use HTML for inserting some types of rich content, such as pictures. For an example, see the Insert formatted text code snippet in Script lab on Word. So what are your options when you need to add rich content to a document, such as images, formatted tables, charts, or even just formatted text? Start with the APIs available through the WordApi requirement sets to see if they provide what you need. These are called coercion types, and they include plain text, tables, HTML, and Office Open XML. If you're building Office Add-ins to run in Word, you might already know that the Office JavaScript API (Office.js) offers several formats for reading and writing document content. Provided by: Stephanie Krieger, Microsoft Corporation | Juan Balmori Labra, Microsoft Corporation
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |