Beispiel #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);
    }
Beispiel #2
0
    private static void smethod_8(TableRow A_0)
    {
        Class732  class2 = (Class732)A_0.RowFormat.method_31(0x13ec);
        TableCell cell   = A_0.Cells[0];
        int       num    = 0;

        while (cell != null)
        {
            if (num >= class2.Count)
            {
                break;
            }
            cell.CellFormat = class2.method_0(num);
            num++;
            if (num < class2.Count)
            {
                cell = A_0.Cells[num];
            }
            else
            {
                cell = null;
            }
        }
        if (cell != null)
        {
            smethod_9(cell, null);
        }
    }
Beispiel #3
0
    private static void smethod_10(TableRow A_0)
    {
        int num = 14;

        if (A_0.RowFormat.HasFormatRevision)
        {
            Class580  formatRevision = A_0.RowFormat.FormatRevision;
            RowFormat format2        = (RowFormat)formatRevision.method_4();
            Class732  class2         = (Class732)format2.method_31(0x13ec);
            if (class2 == null)
            {
                A_0.RowFormat.method_47();
            }
            else
            {
                int num3 = 0;
                for (int i = 0; i < A_0.Cells.Count; i++)
                {
                    TableCell cell   = A_0.Cells[i];
                    Class580  class4 = new Class580(class2.method_0(num3), formatRevision.method_0(), formatRevision.method_2());
                    cell.CellFormat.FormatRevision = class4;
                    num3++;
                }
                if (num3 != class2.Count)
                {
                    throw new InvalidOperationException(BookmarkStart.b("稳䌵唷堹夻䰽怿ⵁ≃晅㡇㡉⍋㹍㕏⁑⁓㽕㵗⥙牛", num));
                }
            }
        }
    }
Beispiel #4
0
 private void method_92()
 {
     if (this.method_93().PreferredWidth.method_51() == FtsWidth.Point)
     {
         int      num    = (int)(this.method_93().GridBeforeWidth.method_49() + this.method_93().GridAfterWidth.method_49());
         Class732 class2 = (Class732)this.method_93().method_31(0x13ec);
         for (int i = 0; i < class2.Count; i++)
         {
             num += class2.method_0(i).TwipCellWidth;
         }
         if ((this.method_93().PreferredWidth.method_49() > num) && (this.int_1 > 0))
         {
             this.method_93().GridBeforeWidth.method_50(this.method_93().PreferredWidth.method_49() - num);
         }
     }
 }