本文整理汇总了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);
}
示例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());
}
示例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);
}