Ejemplo n.º 1
0
    internal static void smethod_4(Class732 A_0, SprmCode A_1, Interface53 A_2, IComparer A_3)
    {
        ArrayList list = new ArrayList();
        CellAlign none = CellAlign.None;

        for (int i = 0; i < A_0.Count; i++)
        {
            Hashtable hashtable = smethod_8(A_0.method_0(i), A_1, A_2);
            Class656  class2    = new Class656();
            foreach (object obj2 in hashtable.Keys)
            {
                CellAlign align3 = (CellAlign)hashtable[obj2];
                class2.method_5((int)align3, obj2);
                none |= align3;
            }
            list.Add(class2);
        }
        ArrayList list2 = new ArrayList();

        for (CellAlign align2 = CellAlign.None; align2 <= none; align2 += 1)
        {
            list2.AddRange(smethod_6(list, (int)align2));
        }
        smethod_5(list2, A_1, A_2, A_3);
    }
Ejemplo n.º 2
0
 private static void smethod_5(params object[] A_0)
 {
     for (int i = 0; i < A_0.Length; i += 4)
     {
         FileFormat format = (FileFormat)A_0[i];
         string     str3   = (string)A_0[i + 1];
         string     str2   = (string)A_0[i + 2];
         string     str    = (string)A_0[i + 3];
         if (!class656_0.method_8((int)format))
         {
             class656_0.method_5((int)format, str3);
         }
         if (str2 != null)
         {
             if (!class656_1.method_8((int)format))
             {
                 class656_1.method_5((int)format, str2);
             }
             if (!class181_0.Contains(str2))
             {
                 class181_0.Add(str2, format);
             }
         }
         if (str != null)
         {
             if (!class656_2.method_8((int)format))
             {
                 class656_2.method_5((int)format, str);
             }
             if (!class181_1.Contains(str))
             {
                 class181_1.Add(str, format);
             }
         }
     }
 }
Ejemplo n.º 3
0
    private static Class656 smethod_7(object A_0)
    {
        Class656 class2 = new Class656();

        if (A_0 is CellFormat)
        {
            CellFormat format = A_0 as CellFormat;
            class2.method_5(6, format.CellScaling);
            class2.method_5(0xbc6, (WidthType)format.WidthUnit);
            class2.method_5(0xbc4, format.CellWidth);
            class2.method_5(0xbe0, format.HorizontalMerge);
            class2.method_5(0xbd6, format.VerticalMerge);
            class2.method_5(1, format.Borders);
            class2.method_5(0xc62, format.Shading);
            class2.method_5(2, format.Paddings);
            class2.method_5(0xc6c, format.TextWrap);
            class2.method_5(0xc94, format.HideMark);
            class2.method_5(0xc76, format.FitText);
            class2.method_5(0xbea, format.TextDirection);
            class2.method_5(0xbf4, format.VerticalAlignment);
            class2.method_5(0x271a, format.FormatRevision);
            return(class2);
        }
        return(A_0 as Class656);
    }