Bidi.OptionInsertMarks Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.Icu.Text.BidiOptions enum directly instead of this field.
Option bit for setReorderingOptions
:
insert Bidi marks (LRM or RLM) when needed to ensure correct result of
a reordering to a Logical order
[Android.Runtime.Register("OPTION_INSERT_MARKS", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Text.BidiOptions enum directly instead of this field.", true)]
public const Android.Icu.Text.BidiOptions OptionInsertMarks = 1;
[<Android.Runtime.Register("OPTION_INSERT_MARKS", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Text.BidiOptions enum directly instead of this field.", true)>]
val mutable OptionInsertMarks : Android.Icu.Text.BidiOptions
Field Value
Value = 1- Attributes
Remarks
Option bit for setReorderingOptions
: insert Bidi marks (LRM or RLM) when needed to ensure correct result of a reordering to a Logical order
This option must be set or reset before calling setPara
.
This option is significant only with reordering modes which generate a result with Logical order, specifically. <ul> <li>REORDER_RUNS_ONLY
</li> <li>REORDER_INVERSE_NUMBERS_AS_L
</li> <li>REORDER_INVERSE_LIKE_DIRECT
</li> <li>REORDER_INVERSE_FOR_NUMBERS_SPECIAL
</li> </ul>
If this option is set in conjunction with reordering mode REORDER_INVERSE_NUMBERS_AS_L
or with calling setInverse(true)
, it implies option INSERT_LRM_FOR_NUMERIC
in calls to method writeReordered()
.
For other reordering modes, a minimum number of LRM or RLM characters will be added to the source text after reordering it so as to ensure round trip, i.e. when applying the inverse reordering mode on the resulting logical text with removal of Bidi marks (option OPTION_REMOVE_CONTROLS
set before calling setPara()
or option REMOVE_BIDI_CONTROLS
in writeReordered
), the result will be identical to the source text in the first transformation.
This option will be ignored if specified together with option OPTION_REMOVE_CONTROLS
. It inhibits option REMOVE_BIDI_CONTROLS
in calls to method writeReordered()
and it implies option INSERT_LRM_FOR_NUMERIC
in calls to method writeReordered()
if the reordering mode is REORDER_INVERSE_NUMBERS_AS_L
.
Java documentation for android.icu.text.Bidi.OPTION_INSERT_MARKS
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.