当前位置: 首页>>代码示例>>C#>>正文


C# IVwEnv.OpenOverridePara方法代码示例

本文整理汇总了C#中IVwEnv.OpenOverridePara方法的典型用法代码示例。如果您正苦于以下问题:C# IVwEnv.OpenOverridePara方法的具体用法?C# IVwEnv.OpenOverridePara怎么用?C# IVwEnv.OpenOverridePara使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在IVwEnv的用法示例。


在下文中一共展示了IVwEnv.OpenOverridePara方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: OpenPara

		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Call the appropriate "OpenPara" method.
		/// </summary>
		/// <param name="vwenv"></param>
		/// <param name="paraHvo">the HVO of the paragraph</param>
		/// ------------------------------------------------------------------------------------
		protected override void OpenPara(IVwEnv vwenv, int paraHvo)
		{
			IStTxtPara para = m_cache.ServiceLocator.GetInstance<IStTxtParaRepository>().GetObject(paraHvo);
			if (para == m_overridePara)
			{
				m_DispPropOverrides.Clear();
				MakeDispPropOverrides(m_overridePara, m_ichMinOverride, m_ichLimOverride,
					m_overrideInitializer);
				vwenv.OpenOverridePara(m_DispPropOverrides.Count, m_DispPropOverrides.ToArray());
			}
			else
				base.OpenPara(vwenv, paraHvo);
		}
开发者ID:bbriggs,项目名称:FieldWorks,代码行数:20,代码来源:TeStVc.cs

示例2: OpenPara

		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Call the appropriate "OpenPara" method.
		/// </summary>
		/// <param name="vwenv"></param>
		/// <param name="hvoPara">the StTxtPara for which we want a paragraph</param>
		/// ------------------------------------------------------------------------------------
		protected override void OpenPara(IVwEnv vwenv, int hvoPara)
		{
			vwenv.OpenOverridePara(m_DispPropOverrides.Count, m_DispPropOverrides.ToArray());
		}
开发者ID:sillsdev,项目名称:WorldPad,代码行数:11,代码来源:DiffFootnoteVc.cs

示例3: OpenPara

		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Call the appropriate "OpenPara" method.
		/// </summary>
		/// <param name="vwenv"></param>
		/// <param name="hvoPara">the StTxtPara for which we want a paragraph</param>
		/// ------------------------------------------------------------------------------------
		protected override void OpenPara(IVwEnv vwenv, int hvoPara)
		{
			if (m_overridePara != null && hvoPara == m_overridePara.Hvo)
			{
				MakeDispPropOverrides(m_overridePara, m_ichMinOverride, m_ichLimOverride, m_overrideInitializer);
				vwenv.OpenOverridePara(m_DispPropOverrides.Count, m_DispPropOverrides.ToArray());
			}
			else
				base.OpenPara(vwenv, hvoPara);
		}
开发者ID:sillsdev,项目名称:WorldPad,代码行数:17,代码来源:TeStVc.cs


注:本文中的IVwEnv.OpenOverridePara方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。