internal ICmAnnotationDefn SegDefnFromFfFlid(int flid)
{
CheckDisposed();
switch(flid)
{
case InterlinLineChoices.kflidFreeTrans:
throw new InvalidOperationException("Uses obsolete FT annotation defn that is no longer in system.");
case InterlinLineChoices.kflidLitTrans:
throw new InvalidOperationException("Uses obsolete FT annotation defn that is no longer in system.");
case InterlinLineChoices.kflidNote:
return GetAnnDefnId(m_cache, CmAnnotationDefnTags.kguidAnnNote);
default:
break; // unknown type, ignore it.
}
return null;
}