Bidi.OptionInsertMarks 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Icu.Text.BidiOptions enum directly instead of this field.
選項位元: setReorderingOptions必要時插入 Bidi 標記(LRM 或 RLM),以確保重新排序為邏輯順序的正確結果
[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
欄位值
Value = 1- 屬性
備註
選項位元: setReorderingOptions必要時插入 Bidi 標記(LRM 或 RLM),以確保重新排序為邏輯順序的正確結果
此選項必須先設定或重置,才能呼叫 setPara。
此選項僅在產生邏輯順序結果的重排序模式中具有重要意義。
<烏爾><李>REORDER_RUNS_ONLY</李><李>REORDER_INVERSE_NUMBERS_AS_L</李><李>REORDER_INVERSE_LIKE_DIRECT</李/李><>REORDER_INVERSE_FOR_NUMBERS_SPECIAL<李/烏爾><>
若此選項與重排序模式REORDER_INVERSE_NUMBERS_AS_L或呼叫 setInverse(true)同時設定,則在呼叫INSERT_LRM_FOR_NUMERIC方法中包含選項writeReordered()。
對於其他重排序模式,重新排序後會在原始文本中加入最少數量的 LRM 或 RLM 字元,以確保往返,也就是說,當對邏輯文本應用反向重排序模式並移除 Bidi 標記(呼叫前OPTION_REMOVE_CONTROLSsetPara()設定選項REMOVE_BIDI_CONTROLS或輸入writeReordered選項),結果將與第一次轉換時的原始文本相同。
若與選項 OPTION_REMOVE_CONTROLS一同指定,此選項將被忽略。 若重排序模式為 ,則在呼叫 方法 中抑制REMOVE_BIDI_CONTROLS選項,且若writeReordered()INSERT_LRM_FOR_NUMERIC重排序模式為 writeReordered()。REORDER_INVERSE_NUMBERS_AS_L
Java 文件 android.icu.text.Bidi.OPTION_INSERT_MARKS。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。