Added other symbol font names (Symbol, VESymb) to IsSymbolFont.
Check for null mySection before checking details on a new node. Error 177 - Hidden property added to use for collapse rather than Visible. Error 173 - Use DeleteItemInfoAndChildren on Cancel of a new ItemInfo.
This commit is contained in:
@@ -285,11 +285,11 @@ namespace LBWordLibrary
|
||||
return ReplaceSymbolCharacters(GetRangeText(myRange));
|
||||
}
|
||||
}
|
||||
private static string[] SymbolFontName = { "VolianDraw", "WingDings" };
|
||||
private static string[] SymbolFontName = { "VolianDraw", "WingDings", "VESymb", "VESymbFix", "Symbol" };
|
||||
private static bool IsSymbolFont(string fontName)
|
||||
{
|
||||
foreach (string symbolFont in SymbolFontName)
|
||||
if (symbolFont.ToUpper() == fontName.ToUpper())
|
||||
if (fontName.ToUpper().StartsWith(symbolFont.ToUpper()))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user