Gets or sets the level of embedding with respect to the bidirectional algorithm.
HRESULT IHTMLRuleStyle2::get_unicodeBidi(BSTR *p);HRESULT IHTMLRuleStyle2::put_unicodeBidi(BSTR v);
- Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
- BSTR that specifies one of the values listed in Possible Values.
normal Default. Element does not open an additional level of embedding. For inline elements, implicit reordering works across element boundaries. embed Element opens an additional level of embedding. The value of the IHTMLRuleStyle2::direction property specifies the embedding level. Reordering is implicit inside the element. bidi-override Same as the
embedvalue, except that, inside the element, reordering is strictly in sequence according to the IHTMLRuleStyle2::direction property. This value overrides the implicit bidirectional algorithm.
Returns S_OK if successful, or an error value otherwise.
The IHTMLRuleStyle2::unicodeBidi property is used with the IHTMLRuleStyle2::direction property.
The Unicode bidirectional algorithm automatically reverses embedded character sequences according to their inherent direction. For example, the base direction of an English document is left-to-right. If portions of a paragraph within the document contain a language with a right-to-left reading order, the direction of that language displays correctly right-to-left. The user agent applying the bidirectional algorithm correctly reverses the language direction.