예제 #1
0
        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);
        }
예제 #2
0
 public List <object> getFontSet()
 {
     return(TdTaParser.getList(tree, "ResourceDict.FontSet"));
 }
예제 #3
0
 protected Dictionary <string, object> BuildRunItem(string baseSelector, int index)
 {
     return(TdTaParser.MergeObjects(TdTaParser.getDict(tree, baseSelector + ".DefaultRunData"), TdTaParser.getList(tree, baseSelector + ".RunArray")[index]));
 }