Click here to Skip to main content
15,881,803 members
Articles / Desktop Programming / XAML

Silverlight 1.1 Hebrew and Arabic Language Support

Rate me:
Please Sign up or sign in to vote.
4.05/5 (8 votes)
31 Jan 2008Ms-PL7 min read 44K   290   10  
An article presenting Silverlight 1.1 Hebrew and Arabic language support
/*
 * Created by SharpDevelop.
 * User: itai
 * Date: 1/16/2007
 * Time: 7:55 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
namespace NBidi
{
	// Table 4
	public enum BidiCharacterType {
		#region Strong Types
		/// <summary>
		/// Left-to-Right
		/// </summary>
		/// <example>
		/// LRM, most alphabetic, syllabic, Han ideographs, non-European or non-Arabic digits, ...
		/// </example>
		/// <remarks>Strong Type</remarks>
		L,
		/// <summary>
		/// Left-to-Right Embedding
		/// </summary>
		/// <example>
		/// LRE
		/// </example>
		/// <remarks>Strong Type</remarks>
		LRE,
		/// <summary>
		/// Left-to-Right Override
		/// </summary>
		/// <example>
		/// LRO
		/// </example>
		/// <remarks>Strong Type</remarks>
		LRO,
		/// <summary>
		/// Right-to-Left
		/// </summary>
		/// <example>
		/// RLM, Hebrew alphabet, and related punctuation
		/// </example>
		/// <remarks>Strong Type</remarks>
		R,
		/// <summary>
		/// Right-to-Left Arabic
		/// </summary>
		/// <example>
		/// Arabic, Thaana, and Syriac alphabets, most punctuation specific to those scripts, ...
		/// </example>
		/// <remarks>Strong Type</remarks>
		AL,
		/// <summary>
		/// Right-to-Left Embedding
		/// </summary>
		/// <example>
		/// RLE
		/// </example>
		/// <remarks>Strong Type</remarks>
		RLE,
		/// <summary>
		/// Right-to-Left Override
		/// </summary>
		/// <example>
		/// RLO
		/// </example>
		/// <remarks>Strong Type</remarks>
		RLO,
		#endregion
		#region Weak Types
		/// <summary>
		/// Pop Directional Format
		/// </summary>
		/// <example>
		/// PDF
		/// </example>
		/// <remarks>Weak Type</remarks>
		PDF,
		/// <summary>
		/// European Number
		/// </summary>
		/// <example>
		/// European digits, Eastern Arabic-Indic digits, ...
		/// </example>
		/// <remarks>Weak Type</remarks>
		EN,
		/// <summary>
		/// European Number Separator
		/// </summary>
		/// <example>
		/// Plus sign, minus sign
		/// </example>
		/// <remarks>Weak Type</remarks>
		ES,
		/// <summary>
		/// European Number Terminator
		/// </summary>
		/// <example>
		/// Degree sign, currency symbols, ...
		/// </example>
		/// <remarks>Weak Type</remarks>
		ET,
		/// <summary>
		/// Arabic Number
		/// </summary>
		/// <example>
		/// Arabic-Indic digits, Arabic decimal and thousands separators, ...
		/// </example>
		/// <remarks>Weak Type</remarks>
		AN,
		/// <summary>
		/// Common Number Separator
		/// </summary>
		/// <example>
		/// Colon, comma, full stop (period), No-break space, ...
		/// </example>
		/// <remarks>Weak Type</remarks>
		CS,
		/// <summary>
		/// Nonspacing Mark
		/// </summary>
		/// <example>
		/// Characters marked Mn (Nonspacing_Mark) and Me (Enclosing_Mark) in the Unicode Character Database
		/// </example>
		/// <remarks>Weak Type</remarks>
		NSM,
		/// <summary>
		/// Boundary Neutral
		/// </summary>
		/// <example>
		/// Most formatting and control characters, other than those explicitly given types above
		/// </example>
		/// <remarks>Weak Type</remarks>
		BN,
		#endregion
		#region Neutral Types
		/// <summary>
		/// Paragraph Separator
		/// </summary>
		/// <example>
		/// Paragraph separator, appropriate Newline Functions, higher-level protocol paragraph determination
		/// </example>
		/// <remarks>Neutral Type</remarks>
		B,
		/// <summary>
		/// Segment Separator
		/// </summary>
		/// <example>
		/// Tab
		/// </example>
		/// <remarks>Neutral Type</remarks>
		S,
		/// <summary>
		/// Whitespace
		/// </summary>
		/// <example>
		/// Space, figure space, line separator, form feed, General Punctuation spaces, ...
		/// </example>
		/// <remarks>Neutral Type</remarks>
		WS,
		/// <summary>
		/// Other Neutrals
		/// </summary>
		/// <example>
		/// All other characters, including OBJECT REPLACEMENT CHARACTER
		/// </example>
		/// <remarks>Neutral Type</remarks>
		ON
		#endregion
	}

}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


Written By
JustinAngel.Net, Senior .Net consultant
Israel Israel
Justin-Josef Angel is a C# Microsoft Most Valuable professional, a Senior .Net consultant in Israel with 4 years of .Net experience and has 8 years of Web experience.

Justin's been working this past year on two Enterprise sized Silverlight projects with his customers. During that time he's gained a real-insight into Silverlight's inner workings and how to integrate Silverlight into the real world of software development. Additionally, During that time he's developed a few well-known projects like the "Silverlight 1.0 Javascript Intellisense", "Silverlight 1.1 Hebrew & Arabic Languages support" and a few others you might know.

Justin is also a seasoned presenter with an impressive track-record of talking in front of thousands of people in Israel.

Justin owns the first .Net blog written in Hebrew - http://www.JustinAngel.Net .
And he also owns an additional blog with mixed Hebrew & English content - http://blogs.Microsoft.co.il/blogs/JustinAngel.

A full list of his articles (all 100+ of them) can be found at: http://www.JustinAngel.Net/#index




Comments and Discussions