Пример #1
0
 internal void method_4()
 {
     for (int i = 0; i < this.Count; i++)
     {
         Class571 class4 = this.method_0(i);
         for (int j = 0; j < class4.Count; j++)
         {
             Class1140 class3 = class4.method_0(j);
             int       num5   = Math.Min(class3.method_2(), this.Count - i);
             if (num5 > 1)
             {
                 class3.method_7(CellMerge.Start);
                 for (int k = 1; k < num5; k++)
                 {
                     int num3 = i + k;
                     if ((j + 1) > this.method_0(num3).Count)
                     {
                         this.method_3(num3, (j - this.method_0(num3).Count) + 1);
                     }
                     else
                     {
                         this.method_2(num3, j, new Class1140());
                     }
                     this.int_0 = Math.Max(this.int_0, this.method_0(num3).Count);
                     Class1140 class2 = this.method_0(num3).method_0(j);
                     class2.method_7(CellMerge.Continue);
                     class2.method_5(class3.method_4());
                 }
             }
         }
     }
 }
Пример #2
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);
        }
    }
Пример #3
0
    internal static void smethod_3(Class857 A_0, Class106 A_1, Class571 A_2)
    {
        int      num    = 0x10;
        Class396 class2 = A_0.method_11();

        while (class2.method_9(BookmarkStart.b("䈵夷堹倻嬽洿ぁ⭃ㅅ", num)))
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (!(str == BookmarkStart.b("䈵夷堹倻嬽洿⅁⅃⩅⑇", num)))
                {
                    if (!(str == BookmarkStart.b("唵圷䰹夻䰽┿♁楃㉅⥇⡉⁋⭍絏ㅑㅓ㩕㑗", num)))
                    {
                        goto Label_0055;
                    }
                    Class1139.smethod_0(A_0, A_1, A_2, true);
                }
                else
                {
                    Class1139.smethod_0(A_0, A_1, A_2, false);
                }
                continue;
            }
Label_0055:
            class2.vmethod_1();
        }
    }
Пример #4
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);
     }
 }
Пример #5
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);
    }
Пример #6
0
    internal static void smethod_0(Class857 A_0, Class975 A_1, Class106 A_2, bool A_3)
    {
        Class571 class2 = new Class571();

        A_0.method_17(null);
        smethod_2(A_0, class2);
        Class103 class3 = (Class103)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("別䤧䠩䀫䬭ᴯ䀱嬳䄵", 0), A_0.method_20(), true);

        if ((class3 != null) && (class3.method_12() != null))
        {
            class3.method_12().method_37(class2.method_2());
        }
        A_1.Add(class2);
        smethod_3(A_0, A_2, class2);
        if (A_2 != null)
        {
            class2.method_2().LeftIndent = (float)A_2.method_18().method_0().method_0();
        }
        if (A_3)
        {
            class2.method_2().SetAttr(0xfc8, true);
        }
        A_1.method_6(Math.Max(A_1.method_5(), class2.Count));
    }
Пример #7
0
    private static void smethod_2(Class857 A_0, Class571 A_1)
    {
        int      num    = 14;
        Class396 class2 = A_0.method_11();

        while (class2.method_19())
        {
            string str;
            if (!A_0.method_4(class2) && ((str = class2.method_1()) != null))
            {
                if (!(str == BookmarkStart.b("娳䌵唷堹夻䰽洿ぁ⭃ㅅ㭇杉㹋⭍⁏㝑㕓≕㵗㹙", num)))
                {
                    if (str == BookmarkStart.b("倳匵帷嬹䤻刽㐿潁❃⍅⑇♉態㵍⑏⭑㡓㍕畗㑙㵛㍝՟", num))
                    {
                        A_1.method_7(class2.method_3());
                    }
                }
                else
                {
                    A_1.method_5(class2.method_4());
                }
            }
        }
    }
Пример #8
0
 public void method_1(int A_0, Class571 A_1)
 {
     base[A_0] = A_1;
 }