IMarkupTextFrags interface
This interface provides methods that enable you to insert and remove text from a markup container that is not a part of the actual markup in the container. These text fragments are attached to the content of a markup container, but are not a part of the container itself. They are not represented in the tree for the document. They are, however, saved to the document when the document is saved (for instance, by sending the command IDM_SAVE or IDM_SAVEAS through the IOleCommandTarget interface).
Members
The IMarkupTextFrags interface inherits from the IUnknown interface but does not have additional members.
Remarks
To obtain an IMarkupTextFrags interface, call QueryInterface on the IMarkupContainer interface in which the text fragments are to be placed, using IID_IMarkupTextFrags for the IID.
Markup text fragments were developed as a way to handle conditional comments in a saved document. When you open a document containing conditional fragments in the editor, the conditional comments are converted to text fragments. This occurs only in editing mode, not browse mode.
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|
Build date: 11/12/2012