protected List <int> GetRunLengthArray(string baseSelector) { List <object> a = (List <object>)TdTaParser.getList(tree, baseSelector + ".RunLengthArray"); //Copy to strongly-typed array List <int> n = new List <int>(); foreach (object o in a) { n.Add(Convert.ToInt32(o.ToString())); } return(n); }
public List <object> getFontSet() { return(TdTaParser.getList(tree, "ResourceDict.FontSet")); }
protected Dictionary <string, object> BuildRunItem(string baseSelector, int index) { return(TdTaParser.MergeObjects(TdTaParser.getDict(tree, baseSelector + ".DefaultRunData"), TdTaParser.getList(tree, baseSelector + ".RunArray")[index])); }