Ejemplo n.º 1
0
        private void WriteEntryLetterHeadIfNeeded(int hvoItem)
        {
            bool fExclude = m_cache.GetBoolProperty(hvoItem, (int)LexEntry.LexEntryTags.kflidExcludeAsHeadword);

            if (fExclude)
            {
                return;
            }
            string sEntry = LexEntry.ShortName1Static(m_cache, hvoItem);

            if (String.IsNullOrEmpty(sEntry))
            {
                return;
            }
            if (m_sWsVern == null)
            {
                m_sWsVern = m_cache.LanguageWritingSystemFactoryAccessor.GetStrFromWs(m_cache.DefaultVernWs);
            }
            WriteLetterHeadIfNeeded(sEntry, m_sWsVern);
        }