ADMIN_RTF_Parse

Deprecated. Don't use for new development and try to migrate existing uses.

Type: Table-valued function

This function takes an RTF document and returns the elements/control codes and groups that makes up its contents.

Parameters

@RTFFile mandatory varbinary(max)
The RTF document to parse.

Resultsets

Resultset: Elements

Table count: repeated exactly once
Row count: zero or more rows
Columns
ElementId mandatory int
Id given by the parser to the element for unique identification (Id:s are given in the same order as the element is encountered in the document).
Element mandatory string
The text that constitutes the element.
ElementIdParent mandatory int
Reference to the elements parent element (if any).
IsGroup mandatory bit
A value of 1 indicates that the element also corresponds to the start of a new group. Any additional element or subgroup inside this group will consider this element as its parent element.