/// <summary>
 /// Converts @altsym
 /// </summary>
 /// <param name="_meiSignElement">MEI element with @altsym</param>
 /// <returns>Sign value</returns>
 private static Sign GetSign(IAttAltsym _meiSignElement)
 {
     if (_meiSignElement.GetAltsymValue() == null)
     {
         return(Sign.None);
     }
     else if (Enum.TryParse(_meiSignElement.GetAltsymValue().Substring(1), true, out Sign sign))
     {
         return(sign);
     }
     else
     {
         return(Sign.Invalid);
     }
 }
예제 #2
0
 public static void RemoveAltsym(this IAttAltsym e)
 {
     MeiAtt_controller.RemoveAttribute(e, "altsym");
 }
예제 #3
0
 public static bool HasAltsym(this IAttAltsym e)
 {
     return(MeiAtt_controller.HasAttribute(e, "altsym"));
 }
예제 #4
0
 public static string GetAltsymValue(this IAttAltsym e)
 {
     return(MeiAtt_controller.GetAttributeValue(e, "altsym"));
 }
예제 #5
0
 public static XAttribute GetAltsymAttribute(this IAttAltsym e)
 {
     return(MeiAtt_controller.GetAttribute(e, "altsym"));
 }
예제 #6
0
 public static void SetAltsym(this IAttAltsym e, string _val)
 {
     MeiAtt_controller.SetAttribute(e, "altsym", _val);
 }