示例#1
0
    internal static void smethod_0(Class857 A_0, Class106 A_1, Class571 A_2, bool A_3)
    {
        int num = 6;

        if (!A_3)
        {
            Class1140 class2 = new Class1140();
            class2.method_9(new TableCell(A_0.method_9()));
            A_0.method_17(null);
            smethod_5(A_0, class2);
            if (!Class567.smethod_16(A_0.method_16()))
            {
                A_0.method_17(A_2.method_6());
            }
            Class100 class3 = (Class100)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("堫伭刯帱儳ᬵ嬷弹倻刽", num), A_0.method_20(), true);
            if ((class3 != null) && (class3.method_45() != null))
            {
                smethod_2(class2.method_8().CellFormat.Borders.Top, class3.method_45().Borders.Top);
                smethod_2(class2.method_8().CellFormat.Borders.Bottom, class3.method_45().Borders.Bottom);
                smethod_2(class2.method_8().CellFormat.Borders.Left, class3.method_45().Borders.Left);
                smethod_2(class2.method_8().CellFormat.Borders.Right, class3.method_45().Borders.Right);
                class2.method_8().CellFormat.BackColor = class3.method_45().BackColor;
                class2.method_8().CellFormat.TextWrap = class3.method_45().TextWrap;
                class2.method_8().CellFormat.Shading.CopyPropertiesTo(class3.method_45().Shading);
                class2.method_8().CellFormat.VerticalAlignment = class3.method_45().VerticalAlignment;
                class2.method_8().CellFormat.SamePaddingsAsTable = class3.method_45().SamePaddingsAsTable;
                smethod_3(class2.method_8().CellFormat.Paddings, class3.method_45().Paddings);
                class2.method_8().CellFormat.TextDirection = class3.method_45().TextDirection;
            }
            smethod_6(A_0, class3, class2.method_8(), A_1);
            A_2.Add(class2);
            smethod_4(A_1, A_2, class2);
        }
    }
示例#2
0
 private static void smethod_4(Class106 A_0, Class571 A_1, Class1140 A_2)
 {
     for (int i = 1; i < A_2.method_0(); i++)
     {
         if (A_1.Count >= A_0.method_20().Count)
         {
             break;
         }
         Class1140 class2 = new Class1140();
         class2.method_5(CellMerge.Continue);
         class2.method_7(A_2.method_6());
         class2.method_1(A_2.method_0());
         class2.method_3(A_2.method_2());
         A_1.Add(class2);
     }
 }
示例#3
0
    private void method_2(int A_0, int A_1, Class1140 A_2)
    {
        Class571 class2 = this.method_0(A_0);

        class2.Add(null);
        int num = class2.Count - 1;

        for (int i = num - 1; i >= A_1; i = num - 1)
        {
            while (class2.method_0(i).method_6() == CellMerge.Continue)
            {
                i--;
            }
            class2.method_1(num, class2.method_0(i));
            num = i;
        }
        class2.method_1(A_1, A_2);
    }