示例#1
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Create hash tables to map TE styles to various style info
		/// </summary>
		/// ------------------------------------------------------------------------------------
		protected void CreateStyleTables()
		{
			if (m_exportParatextProjectFiles)
			{
				IWritingSystem ws = m_cache.ServiceLocator.WritingSystems.DefaultVernacularWritingSystem;
				m_UsfmStyFileAccessor = new UsfmStyFileAccessor(ws.RightToLeftScript,
					m_cache.ServiceLocator.WritingSystemManager);
				ReadUsfmStyFile();
			}
			LoadStyleTables();
		}
示例#2
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Create hash tables to map TE styles to various style info
		/// </summary>
		/// ------------------------------------------------------------------------------------
		protected void CreateStyleTables()
		{
			if (m_exportParatextProjectFiles)
			{
				int defaultWs = m_cache.DefaultVernWs;
				LgWritingSystem ws = new LgWritingSystem(m_cache, defaultWs);
				m_UsfmStyFileAccessor = new UsfmStyFileAccessor(ws.RightToLeft,
					m_cache.LanguageWritingSystemFactoryAccessor);
				ReadUsfmStyFile();
			}
			LoadStyleTables();
		}