Пример #1
0
    private static void smethod_9(Class1054 A_0, Class398 A_1, bool A_2)
    {
        int num = 2;

        A_1.method_54(BookmarkStart.b("弧ဩ堫䰭尯攱", 2), A_0.class15_0);
        A_1.method_24(BookmarkStart.b("弧ဩ䘫䴭", 2), A_0.string_13);
        A_1.method_48(BookmarkStart.b("弧ဩ堫䰭尯焱儳娵吷椹䰻弽⌿⭁⩃ⅅ", 2), A_0.string_14);
        A_1.method_48(BookmarkStart.b("弧ဩ堫䰭尯笱娳刵", 2), A_0.string_15);
        A_1.method_46(BookmarkStart.b("弧ဩ堫䰭尯瀱嬳䐵尷弹主䴽", 2), A_0.bool_6, new object[] { BookmarkStart.b("弧ဩ堫䄭䀯", 2), A_0.border_4, BookmarkStart.b("弧ဩ䀫䬭嘯䘱", 2), A_0.border_2, BookmarkStart.b("弧ဩ丫䄭䐯䘱嬳嬵", 2), A_0.border_0, BookmarkStart.b("弧ဩ師䜭圯娱䀳", 2), A_0.border_3, BookmarkStart.b("弧ဩ䔫䀭䌯嬱倳匵瀷", 2), A_0.border_1, BookmarkStart.b("弧ဩ䔫䀭䌯嬱倳匵渷", 2), A_0.border_5 });
        A_1.vmethod_4(A_0.class16_0);
        if (!A_2 && !((bool)A_0.object_0))
        {
            A_1.method_33(BookmarkStart.b("弧ဩ堫䰭尯縱唳伵圷伹䠻", num), new object[] { BookmarkStart.b("弧ဩ堫圭䀯圱", num), A_0.bool_6 ? BookmarkStart.b("丧䌩含䬭启", num) : BookmarkStart.b("渧䌩含䬭启", num) });
        }
        A_1.method_50(BookmarkStart.b("弧ဩ堫䰭尯焱儳娵吷眹崻䰽", num), A_0.string_16, A_0.string_17, A_0.string_18, A_0.string_19);
        if (!A_0.bool_6 && !A_2)
        {
            if (A_0.string_20 == null)
            {
                A_1.method_24(BookmarkStart.b("弧ဩ堫䰭尯縱嬳夵匷", num), Class1041.smethod_41(Class531.smethod_1(TableStyleOptions.Default)));
            }
            else if (A_0.string_20 != Class1041.smethod_41(Class531.smethod_1(TableStyleOptions.Default2003)))
            {
                A_1.method_24(BookmarkStart.b("弧ဩ堫䰭尯縱嬳夵匷", num), A_0.string_20);
            }
        }
        else
        {
            A_1.method_24(BookmarkStart.b("弧ဩ堫䰭尯縱嬳夵匷", num), A_0.string_20);
        }
    }
Пример #2
0
    private static bool smethod_2(WordAttrCollection A_0, bool A_1, Interface52 A_2, bool A_3)
    {
        int           num             = 0;
        bool          flag            = A_2.imethod_2();
        Class398      class2          = A_2.imethod_1();
        int           num2            = 0;
        string        styleId         = null;
        object        obj2            = null;
        object        obj3            = null;
        object        obj4            = null;
        string        str2            = null;
        object        obj5            = null;
        object        obj6            = null;
        object        obj7            = null;
        object        obj8            = null;
        object        obj9            = null;
        string        str3            = null;
        string        str4            = null;
        string        str5            = null;
        object        obj10           = null;
        string        str6            = null;
        object        obj11           = null;
        string        str7            = null;
        string        str8            = null;
        object        obj12           = null;
        object        obj13           = null;
        object        obj14           = null;
        object        listLevelNumber = null;
        object        obj16           = null;
        Border        top             = null;
        Border        left            = null;
        Border        bottom          = null;
        Border        right           = null;
        Border        border5         = null;
        Border        border6         = null;
        Class16       class3          = null;
        TabCollection tabs            = null;
        object        obj17           = null;
        object        obj18           = null;
        object        obj19           = null;
        object        obj20           = null;
        object        obj21           = null;
        object        obj22           = null;
        object        obj23           = null;
        object        obj24           = null;
        object        obj25           = null;
        object        obj26           = null;
        object        obj27           = null;
        object        obj28           = null;
        object        obj29           = null;
        object        obj30           = null;
        object        obj31           = null;
        object        obj32           = null;
        object        obj33           = null;
        string        str9            = null;
        object        obj34           = null;
        object        obj35           = null;
        object        obj36           = null;
        object        obj37           = null;
        object        obj38           = null;
        object        obj39           = null;
        object        obj40           = null;
        object        obj41           = null;
        object        obj42           = null;
        object        obj43           = null;
        object        obj44           = null;
        string        str10           = null;
        string        str11           = null;
        string        str12           = null;
        object        obj45           = null;
        Class578      class4          = null;

        for (int i = 0; i < A_0.Count; i++)
        {
            int    num4  = A_0.method_18(i);
            object obj46 = A_0.method_19(i);
            num2++;
            int num5 = num4;
            if (num5 <= 0x497)
            {
                if (num5 <= 0x456)
                {
                    if (num5 <= 0x41a)
                    {
                        if (num5 <= 40)
                        {
                            if (num5 == 20)
                            {
                                bottom = (obj46 as Borders).Bottom;
                                left   = (obj46 as Borders).Left;
                                right  = (obj46 as Borders).Right;
                                top    = (obj46 as Borders).Top;
                            }
                            else
                            {
                                if (num5 != 40)
                                {
                                    goto Label_0757;
                                }
                                if (!(A_0 as ParagraphFormat).Frame.IsDefault)
                                {
                                    Class14 class5 = obj46 as Class14;
                                    if (class5.HasKey(0x11))
                                    {
                                        obj6 = class5.method_87();
                                    }
                                    if (class5.HasKey(6))
                                    {
                                        obj7 = class5.method_92();
                                    }
                                    if (class5.HasKey(7))
                                    {
                                        str8 = Class248.smethod_15(class5.method_95(), flag);
                                    }
                                    if (class5.HasKey(9))
                                    {
                                        obj9 = class5.method_97();
                                    }
                                    if (class5.HasKey(0x10))
                                    {
                                        obj8 = class5.method_100();
                                    }
                                    if (class5.HasKey(0x12))
                                    {
                                        str3 = Class248.smethod_13(class5.method_103(), flag);
                                    }
                                    if (class5.HasKey(11))
                                    {
                                        str4 = Class248.smethod_9((byte)class5.method_81());
                                    }
                                    if (class5.HasKey(12))
                                    {
                                        str5 = Class248.smethod_11((byte)class5.method_84());
                                    }
                                    if (class5.HasKey(3))
                                    {
                                        obj10 = class5.method_63();
                                    }
                                    if (class5.HasKey(8))
                                    {
                                        str6 = Class248.smethod_7(class5.method_74());
                                    }
                                    if (class5.HasKey(4))
                                    {
                                        obj11 = class5.method_68();
                                    }
                                    if (class5.HasKey(15))
                                    {
                                        str7 = Class248.smethod_5(class5.method_77());
                                    }
                                    if (class5.HasKey(0x15))
                                    {
                                        str2 = Class248.smethod_3(class5.method_108());
                                    }
                                    if (class5.HasKey(20))
                                    {
                                        obj5 = class5.method_110();
                                    }
                                }
                            }
                            continue;
                        }
                        switch (num5)
                        {
                        case 0x3fc:
                        {
                            str10 = Class248.smethod_19((HorizontalAlignment)obj46, false);
                            continue;
                        }

                        case 0x3fe:
                        {
                            obj43 = obj46;
                            continue;
                        }

                        case 0x410:
                        {
                            obj3 = obj46;
                            continue;
                        }

                        case 0x41a:
                        {
                            obj2 = obj46;
                            continue;
                        }
                        }
                        goto Label_0757;
                    }
                    if (num5 <= 0x438)
                    {
                        switch (num5)
                        {
                        case 0x424:
                        {
                            obj4 = obj46;
                            continue;
                        }

                        case 0x42e:
                        {
                            obj18 = obj46;
                            continue;
                        }
                        }
                        if (num5 != 0x438)
                        {
                            goto Label_0757;
                        }
                        obj19 = obj46;
                    }
                    else
                    {
                        switch (num5)
                        {
                        case 0x442:
                        {
                            obj20 = obj46;
                            continue;
                        }

                        case 0x44c:
                        {
                            obj21 = obj46;
                            continue;
                        }
                        }
                        if (num5 != 0x456)
                        {
                            goto Label_0757;
                        }
                        listLevelNumber = obj46;
                    }
                }
                else if (num5 <= 0x479)
                {
                    if (num5 <= 0x465)
                    {
                        if (num5 == 0x460)
                        {
                            obj14 = obj46;
                        }
                        else
                        {
                            if (num5 != 0x465)
                            {
                                goto Label_0757;
                            }
                            if (!A_3)
                            {
                                class4 = (Class578)obj46;
                                if (!class4.method_4())
                                {
                                    class4 = null;
                                    num2--;
                                }
                            }
                        }
                    }
                    else
                    {
                        switch (num5)
                        {
                        case 0x46a:
                        {
                            obj16 = obj46;
                            continue;
                        }

                        case 0x474:
                        {
                            tabs = (TabCollection)obj46;
                            continue;
                        }
                        }
                        if (num5 != 0x479)
                        {
                            goto Label_0757;
                        }
                        obj34 = obj46;
                    }
                }
                else if (num5 <= 0x488)
                {
                    switch (num5)
                    {
                    case 0x47e:
                    {
                        obj36 = obj46;
                        continue;
                    }

                    case 0x483:
                    {
                        obj40 = obj46;
                        continue;
                    }
                    }
                    if (num5 != 0x488)
                    {
                        goto Label_0757;
                    }
                    obj35 = obj46;
                }
                else
                {
                    switch (num5)
                    {
                    case 0x48d:
                    {
                        obj39 = obj46;
                        continue;
                    }

                    case 0x492:
                    {
                        if (((float)obj46) < 0f)
                        {
                            obj37 = -((float)obj46);
                        }
                        else
                        {
                            obj38 = obj46;
                        }
                        continue;
                    }
                    }
                    if (num5 != 0x497)
                    {
                        goto Label_0757;
                    }
                    if (((float)obj46) < 0f)
                    {
                        obj41 = -((float)obj46);
                    }
                    else
                    {
                        obj42 = obj46;
                    }
                }
                continue;
            }
            if (num5 <= 0x500)
            {
                if (num5 <= 0x4c9)
                {
                    if (num5 <= 0x4b5)
                    {
                        if (num5 != 0x4b0)
                        {
                            if (num5 != 0x4b5)
                            {
                                goto Label_0757;
                            }
                            obj28 = obj46;
                        }
                        else
                        {
                            obj27 = obj46;
                        }
                    }
                    else
                    {
                        switch (num5)
                        {
                        case 0x4ba:
                        {
                            obj29 = obj46;
                            continue;
                        }

                        case 0x4c4:
                        {
                            obj30 = obj46;
                            continue;
                        }
                        }
                        if (num5 != 0x4c9)
                        {
                            goto Label_0757;
                        }
                        obj31 = obj46;
                    }
                }
                else if (num5 <= 0x4e2)
                {
                    switch (num5)
                    {
                    case 0x4ce:
                    {
                        obj32 = obj46;
                        continue;
                    }

                    case 0x4d8:
                    {
                        obj22 = obj46;
                        continue;
                    }
                    }
                    if (num5 != 0x4e2)
                    {
                        goto Label_0757;
                    }
                    obj23 = obj46;
                }
                else
                {
                    switch (num5)
                    {
                    case 0x4ec:
                    {
                        obj26 = obj46;
                        continue;
                    }

                    case 0x4f6:
                    {
                        obj25 = obj46;
                        continue;
                    }
                    }
                    if (num5 != 0x500)
                    {
                        goto Label_0757;
                    }
                    obj45 = (byte)obj46;
                }
                continue;
            }
            if (num5 <= 0x5c8)
            {
                if (num5 <= 0x582)
                {
                    switch (num5)
                    {
                    case 0x56e:
                    {
                        border5 = (Border)obj46;
                        continue;
                    }

                    case 0x578:
                    {
                        border6 = (Border)obj46;
                        continue;
                    }
                    }
                    if (num5 != 0x582)
                    {
                        goto Label_0757;
                    }
                    obj17 = obj46;
                }
                else
                {
                    switch (num5)
                    {
                    case 0x5b4:
                    {
                        class3 = (Class16)obj46;
                        continue;
                    }

                    case 0x5be:
                    {
                        obj13 = obj46;
                        continue;
                    }
                    }
                    if (num5 != 0x5c8)
                    {
                        goto Label_0757;
                    }
                    str11 = Class417.smethod_39((TextDirection)obj46, flag);
                }
                continue;
            }
            if (num5 <= 0x672)
            {
                if (num5 == 0x5e6)
                {
                    str12 = Class248.smethod_1((TextAlignment)obj46);
                }
                else if (num5 != 0x618)
                {
                    if (num5 != 0x672)
                    {
                        goto Label_0757;
                    }
                    obj33 = Math.Abs((float)obj46);
                }
                else
                {
                    obj24 = obj46;
                }
                continue;
            }
            switch (num5)
            {
            case 0x677:
            {
                str9 = Class248.smethod_17((LineSpacingRule)obj46, flag);
                continue;
            }

            case 0x67c:
            {
                obj44 = obj46;
                continue;
            }

            case 0x271a:
            {
                num2--;
                continue;
            }
            }
Label_0757:
            num2--;
        }
        ListFormat listFormat = null;

        if (A_0.OwnerBase is Paragraph)
        {
            Paragraph ownerBase = A_0.OwnerBase as Paragraph;
            if (string.IsNullOrEmpty(styleId) && ((A_0.OwnerBase as Paragraph).ParaStyle != null))
            {
                if (flag)
                {
                    styleId = (A_0.OwnerBase as Paragraph).ParaStyle.StyleId;
                }
                else
                {
                    styleId = A_2.imethod_5((A_0.OwnerBase as Paragraph).ParaStyle.StyleId);
                }
            }
            listFormat = ownerBase.ListFormat;
        }
        if (A_0.OwnerBase is ParagraphStyle)
        {
            listFormat = (A_0.OwnerBase as ParagraphStyle).ListFormat;
        }
        if (listFormat != null)
        {
            if (((listFormat.ListType != ListType.NoList) && listFormat.HasKey(1)) && !listFormat.IsEmptyList)
            {
                if (flag)
                {
                    obj14 = (A_2 as Class421).class401_0.method_3().method_520(listFormat);
                }
                else
                {
                    obj14 = (A_2 as Class421).method_22(listFormat);
                }
                listLevelNumber = listFormat.ListLevelNumber;
            }
            else if (listFormat.IsEmptyList)
            {
                obj14           = 0;
                listLevelNumber = 0;
            }
        }
        if (num2 == 0)
        {
            return(false);
        }
        if (A_1)
        {
            class2.method_4(BookmarkStart.b("儥ሧ娩簫尭", num));
        }
        class2.method_24(BookmarkStart.b("儥ሧ娩缫娭䤯帱儳", num), styleId);
        class2.method_22(BookmarkStart.b("儥ሧ䄩䤫䬭䀯簱儳丵䰷", num), obj2);
        class2.method_22(BookmarkStart.b("儥ሧ䄩䤫䬭䀯縱崳堵崷䤹", num), obj3);
        class2.method_22(BookmarkStart.b("儥ሧ娩䴫䤭唯瀱䘳匵夷儹縻嬽☿ⵁ㙃⍅", num), obj4);
        if (obj10 != null)
        {
            str6 = null;
        }
        if (obj11 != null)
        {
            str7 = null;
        }
        class2.method_33(BookmarkStart.b("儥ሧ䰩師伭崯圱搳䐵", num), new object[] {
            flag?BookmarkStart.b("儥ሧ丩師䄭䀯焱唳䘵", num) : BookmarkStart.b("儥ሧ丩師䄭䀯ἱ圳圵䠷", num), str2, BookmarkStart.b("儥ሧ䘩䔫䀭唯䄱", num), obj5, BookmarkStart.b("儥ሧ崩", num), obj6, BookmarkStart.b("儥ሧ䈩", num), obj7, flag ? BookmarkStart.b("儥ሧ䈩縫嬭尯圱", num) : BookmarkStart.b("儥ሧ䈩ī尭䔯帱儳", num), str8, flag ? BookmarkStart.b("儥ሧ䈩缫席儯儱儳", num) : BookmarkStart.b("儥ሧ䈩弫席儯儱儳", num), obj9, flag ? BookmarkStart.b("儥ሧ尩缫席儯儱儳", num) : BookmarkStart.b("儥ሧ尩弫席儯儱儳", num), obj8, BookmarkStart.b("儥ሧ崩師伭䀯", num), str3,
                flag ? BookmarkStart.b("儥ሧ尩洫䀭匯娱嬳䐵", num) : BookmarkStart.b("儥ሧ尩䴫䀭匯娱嬳䐵", num), str5, flag ? BookmarkStart.b("儥ሧ䈩洫䀭匯娱嬳䐵", num) : BookmarkStart.b("儥ሧ䈩䴫䀭匯娱嬳䐵", num), str4, BookmarkStart.b("儥ሧ利", num), obj10, flag ? BookmarkStart.b("儥ሧ利洫䈭夯唱娳", num) : BookmarkStart.b("儥ሧ利ī伭尯嬱匳堵", num), str6, BookmarkStart.b("儥ሧ匩", num), obj11, flag ? BookmarkStart.b("儥ሧ匩洫䈭夯唱娳", num) : BookmarkStart.b("儥ሧ匩ī伭尯嬱匳堵", num), str7, flag ? BookmarkStart.b("儥ሧ䬩䈫䴭堯崱䘳稵圷夹圻", num) : BookmarkStart.b("儥ሧ䬩䈫䴭堯崱䘳ᬵ吷唹弻唽", num), obj12
        });
        class2.method_22(BookmarkStart.b("儥ሧ崩䔫䨭弯䔱眳夵嘷丹主儽ⰿ", num), obj13);
        bool   flag2 = listLevelNumber != null;
        bool   flag3 = obj14 != null;
        string str13 = flag ? null : ((Class421)A_2).method_55();
        string str14 = flag ? null : ((Class421)A_2).method_56();
        bool   flag4 = (class4 != null) && class4.method_4();

        if ((flag2 || flag3) || ((flag4 || (str13 != null)) || (str14 != null)))
        {
            class2.method_4(flag ? BookmarkStart.b("儥ሧ䐩夫䌭怯䀱", num) : BookmarkStart.b("儥ሧ䘩䔫崭䐯戱䘳", num));
            if (flag2)
            {
                class2.method_22(BookmarkStart.b("儥ሧ䌩䀫堭尯", num), listLevelNumber);
            }
            if (flag3)
            {
                class2.method_22(flag ? BookmarkStart.b("儥ሧ䐩夫䌭礯嘱", num) : BookmarkStart.b("儥ሧ䌩䀫䠭弯", num), obj14);
            }
            if (str13 != null)
            {
                class2.method_24(BookmarkStart.b("儥倧ဩ堫", num), str13);
            }
            if (str14 != null)
            {
                class2.method_24(BookmarkStart.b("儥倧ဩ䨫䄭帯䘱", num), str14);
            }
            if (flag4)
            {
                class2.vmethod_10(class4, A_2.imethod_6());
            }
            class2.method_5();
        }
        class2.method_22(flag ? BookmarkStart.b("儥ሧ天夫席䀯䀱儳䔵䬷瘹唻倽┿ుㅃ⭅⩇⽉㹋㵍", num) : BookmarkStart.b("儥ሧ天夫席䈯圱䜳䔵琷匹刻嬽฿㝁⥃⑅ⵇ㡉㽋", num), obj16);
        class2.method_46(BookmarkStart.b("儥ሧ娩渫䨭䈯", num), flag, new object[] { BookmarkStart.b("儥ሧ帩䌫席", num), top, BookmarkStart.b("儥ሧ䘩䤫䠭䐯", num), left, BookmarkStart.b("儥ሧ䠩䌫娭䐯崱夳", num), bottom, BookmarkStart.b("儥ሧ堩䔫䤭堯䘱", num), right, BookmarkStart.b("儥ሧ䠩䤫娭䜯圱儳堵", num), border5, BookmarkStart.b("儥ሧ䠩䴫尭", num), border6 });
        class2.vmethod_4(class3);
        smethod_3(tabs, A_2);
        class2.method_22(BookmarkStart.b("儥ሧ天夫席䀯䀱儳䔵䬷笹䤻䨽⼿ੁ㵃㙅⁇⽉≋㵍", num), obj17);
        class2.method_22(BookmarkStart.b("儥ሧ䄩䔫䀭䌯崱弳䌵", num), obj18);
        class2.method_22(BookmarkStart.b("儥ሧ崩䌫尭启攱䘳圵䠷", num), obj19);
        class2.method_22(BookmarkStart.b("儥ሧ䔩娫䬭䈯吱堳夵伷樹䤻倽⌿㙁", num), obj20);
        class2.method_22(BookmarkStart.b("儥ሧ帩䌫席簯嬱娳匵样伹刻崽㐿", num), obj21);
        class2.method_22(BookmarkStart.b("儥ሧ䬩夫娭弯愱䐳圵嬷弹砻笽", num), obj22);
        class2.method_22(BookmarkStart.b("儥ሧ䬩夫娭弯愱䐳圵嬷弹砻瀽", num), obj23);
        class2.method_22(BookmarkStart.b("儥ሧ䠩䔫䨭夯", num), obj24);
        class2.method_22(BookmarkStart.b("儥ሧ䬩䠫䐭䔯䄱䀳搵儷崹吻䨽िⱁ⁃", num), obj25);
        class2.method_22(BookmarkStart.b("儥ሧ天䈫伭䀯昱嬳焵䨷匹堻", num), obj26);
        class2.method_33(BookmarkStart.b("儥ሧ天尫伭匯嬱娳儵", num), new object[] { BookmarkStart.b("儥ሧ䠩䤫䠭弯䀱儳", num), class2.method_23(obj27, 20f), flag ? BookmarkStart.b("儥ሧ䠩䤫䠭弯䀱儳稵儷吹夻䴽", num) : BookmarkStart.b("儥ሧ䠩䤫䠭弯䀱儳ᬵ吷匹刻嬽㌿", num), class2.method_23(obj28, 100f), flag ? BookmarkStart.b("儥ሧ䠩䤫䠭弯䀱儳眵䴷丹医䴽〿⍁❃⽅♇ⵉ", num) : BookmarkStart.b("儥ሧ䠩䤫䠭弯䀱儳ᬵ夷伹䠻儽㌿㉁╃╅ⅇ⑉⭋", num), obj29, BookmarkStart.b("儥ሧ䬩䨫娭唯䀱", num), class2.method_23(obj30, 20f), flag ? BookmarkStart.b("儥ሧ䬩䨫娭唯䀱砳張嘷弹伻", num) : BookmarkStart.b("儥ሧ䬩䨫娭唯䀱ᤳ娵儷吹夻䴽", num), class2.method_23(obj31, 100f), flag ? BookmarkStart.b("儥ሧ䬩䨫娭唯䀱申䌵䰷唹伻丽ℿ⅁ⵃ⡅⽇", num) : BookmarkStart.b("儥ሧ䬩䨫娭唯䀱ᤳ圵䴷丹医䴽〿⍁❃⽅♇ⵉ", num), obj32, BookmarkStart.b("儥ሧ䘩䔫䀭唯", num), class2.method_23(obj33, 20f), flag ? BookmarkStart.b("儥ሧ䘩䔫䀭唯怱䄳娵崷", num) : BookmarkStart.b("儥ሧ䘩䔫䀭唯ἱ䘳䌵吷弹", num), str9 });
        class2.method_33(BookmarkStart.b("儥ሧ䌩䈫䨭", num), new object[] { BookmarkStart.b("儥ሧ䘩䤫䠭䐯", num), class2.method_23(obj35, 20f), BookmarkStart.b("儥ሧ堩䔫䤭堯䘱", num), class2.method_23(obj36, 20f), BookmarkStart.b("儥ሧ䈩䴫䀭圯嬱娳儵", num), class2.method_23(obj37, 20f), flag ? BookmarkStart.b("儥ሧ䰩䔫尭䌯䘱砳張嘷弹", num) : BookmarkStart.b("儥ሧ䰩䔫尭䌯䘱ᤳ娵儷吹夻", num), class2.method_23(obj38, 20f), flag ? BookmarkStart.b("儥ሧ䘩䤫䠭䐯焱尳圵䨷䤹", num) : BookmarkStart.b("儥ሧ䘩䤫䠭䐯ἱ圳帵夷䠹伻", num), class2.method_23(obj39, 100f), flag ? BookmarkStart.b("儥ሧ堩䔫䤭堯䘱眳帵夷䠹伻", num) : BookmarkStart.b("儥ሧ堩䔫䤭堯䘱ᤳ唵倷嬹主䴽", num), class2.method_23(obj40, 100f), flag ? BookmarkStart.b("儥ሧ䈩䴫䀭圯嬱娳儵笷刹崻䰽㌿", num) : BookmarkStart.b("儥ሧ䈩䴫䀭圯嬱娳儵ᔷ夹吻弽㈿ㅁ", num), class2.method_23(obj41, 100f), flag ? BookmarkStart.b("儥ሧ䰩䔫尭䌯䘱砳張嘷弹缻嘽ℿぁ㝃", num) : BookmarkStart.b("儥ሧ䰩䔫尭䌯䘱ᤳ娵儷吹夻ጽ⌿⩁╃㑅㭇", num), class2.method_23(obj42, 100f) });
        class2.method_22(BookmarkStart.b("儥ሧ䤩䌫䀭䐯圱䰳䈵䴷嬹倻洽〿⍁❃⽅♇ⵉ", num), obj43);
        class2.method_22(BookmarkStart.b("儥ሧ天夫席䀯䀱儳䔵䬷甹䨻嬽㈿⹁╃㙅", num), obj44);
        class2.method_24(BookmarkStart.b("儥ሧ䀩伫", num), str10);
        class2.method_24(BookmarkStart.b("儥ሧ帩䤫嘭䐯瘱崳䐵崷夹䠻圽⼿ⱁ", num), str11);
        class2.method_24(BookmarkStart.b("儥ሧ帩䤫嘭䐯猱堳張強吹儻嬽⸿㙁", num), str12);
        class2.method_22(BookmarkStart.b("儥ሧ䔩夫娭尯嬱娳匵琷䰹倻", num), obj45);
        if (flag)
        {
            class2.method_22(BookmarkStart.b("儥ሧ䜩䔫尭䈯崱䘳缵嘷帹夻倽㐿ㅁ", num), obj34);
        }
        return(true);
    }
Пример #3
0
    private static void smethod_1(AttrCollection A_0, Interface52 A_1)
    {
        int      num          = 14;
        bool     flag         = A_1.imethod_2();
        Class398 class2       = A_1.imethod_1();
        Class15  class3       = null;
        object   obj2         = null;
        object   obj3         = null;
        object   obj4         = null;
        string   str          = null;
        string   str2         = null;
        Border   top          = null;
        Border   left         = null;
        Border   bottom       = null;
        Border   right        = null;
        Border   diagonalDown = null;
        Border   diagonalUp   = null;
        Border   horizontal   = null;
        Border   vertical     = null;
        Class16  class4       = null;
        object   obj5         = null;
        string   str3         = null;
        string   str4         = null;
        string   str5         = null;
        string   str6         = null;
        string   str7         = null;
        object   obj6         = null;
        string   str8         = null;
        object   obj7         = null;
        object   obj8         = null;

        for (int i = 0; i < A_0.Count; i++)
        {
            int    num3 = A_0.method_18(i);
            object obj9 = A_0.method_19(i);
            int    num4 = num3;
            if (num4 <= 0xbea)
            {
                if (num4 <= 0xbc6)
                {
                    switch (num4)
                    {
                    case 1:
                        top          = (obj9 as Borders).Top;
                        left         = (obj9 as Borders).Left;
                        bottom       = (obj9 as Borders).Bottom;
                        right        = (obj9 as Borders).Right;
                        diagonalDown = (obj9 as Borders).DiagonalDown;
                        diagonalUp   = (obj9 as Borders).DiagonalUp;
                        horizontal   = (obj9 as Borders).Horizontal;
                        vertical     = (obj9 as Borders).Vertical;
                        break;

                    case 2:
                        str3 = ((obj9 as Paddings).Top >= 0f) ? A_1.imethod_1().method_23((obj9 as Paddings).Top, 20f).ToString() : BookmarkStart.b("г", num);
                        str4 = ((obj9 as Paddings).Left >= 0f) ? A_1.imethod_1().method_23((obj9 as Paddings).Left, 20f).ToString() : BookmarkStart.b("Գص7", num);
                        str5 = ((obj9 as Paddings).Bottom >= 0f) ? A_1.imethod_1().method_23((obj9 as Paddings).Bottom, 20f).ToString() : BookmarkStart.b("г", num);
                        str6 = ((obj9 as Paddings).Right >= 0f) ? A_1.imethod_1().method_23((obj9 as Paddings).Right, 20f).ToString() : BookmarkStart.b("Գص7", num);
                        break;

                    case 6:
                        obj4 = class2.method_23(obj9, 50f);
                        break;

                    case 0xbc4:
                        obj3 = class2.method_23(obj9, 20f);
                        break;

                    case 0xbc6:
                        obj2 = (FtsWidth)obj9;
                        break;
                    }
                }
                else if (num4 <= 0xbd6)
                {
                    switch (num4)
                    {
                    case 0xbcc:
                        class3 = (Class15)obj9;
                        break;

                    case 0xbd6:
                        str2 = Class859.smethod_5((CellMerge)obj9);
                        break;
                    }
                }
                else if (num4 != 0xbe0)
                {
                    if ((num4 == 0xbea) && (((TextDirection)obj9) != TextDirection.TopToBottom))
                    {
                        str7 = Class417.smethod_39((TextDirection)obj9, flag);
                    }
                }
                else
                {
                    str = Class859.smethod_5((CellMerge)obj9);
                }
            }
            else if (num4 <= 0xc6c)
            {
                switch (num4)
                {
                case 0xbf4:
                {
                    if (((VerticalAlignment)obj9) != VerticalAlignment.Top)
                    {
                        str8 = Class859.smethod_7((VerticalAlignment)obj9);
                    }
                    continue;
                }

                case 0xc62:
                {
                    class4 = (Class16)obj9;
                    continue;
                }
                }
                if ((num4 == 0xc6c) && !((bool)obj9))
                {
                    obj5 = true;
                }
            }
            else if (num4 <= 0xc94)
            {
                if (num4 == 0xc76)
                {
                    if ((bool)obj9)
                    {
                        obj6 = true;
                    }
                }
                else if ((num4 == 0xc94) && ((bool)obj9))
                {
                    obj7 = true;
                }
            }
            else
            {
                switch (num4)
                {
                case 0xf3c:
                    obj8 = (short)obj9;
                    break;
                }
            }
        }
        if (((obj3 != null) || (obj4 != null)) && (obj2 != null))
        {
            if (((WidthType)obj2) == WidthType.Percentage)
            {
                class3 = new Class15((FtsWidth)obj2, (short)((int)obj4));
                class2.method_53(BookmarkStart.b("䌳వ䰷夹欻", num), class3);
            }
            else if (((WidthType)obj2) == WidthType.Twip)
            {
                class3 = new Class15((FtsWidth)obj2, (short)((int)obj3));
                class2.method_53(BookmarkStart.b("䌳వ䰷夹欻", num), class3);
            }
        }
        else if (class3 != null)
        {
            class2.method_53(BookmarkStart.b("䌳వ䰷夹欻", num), class3);
        }
        if (((str != BookmarkStart.b("䘳匵䬷丹崻䰽㐿", num)) && (obj8 != null)) && (((short)obj8) > 1))
        {
            class2.method_22(BookmarkStart.b("䌳వ強䠹唻娽ጿ㉁╃⡅", num), obj8);
        }
        string str9 = flag ? BookmarkStart.b("䌳వ倷眹夻䰽✿❁", num) : BookmarkStart.b("䌳వ倷圹夻䰽✿❁", num);

        if (str == BookmarkStart.b("圳夵嘷丹唻倽㔿❁", num))
        {
            class2.method_10(str9);
        }
        else
        {
            class2.method_24(str9, str);
        }
        string str10 = flag ? BookmarkStart.b("䌳వ丷眹夻䰽✿❁", num) : BookmarkStart.b("䌳వ丷圹夻䰽✿❁", num);

        if (str2 == BookmarkStart.b("圳夵嘷丹唻倽㔿❁", num))
        {
            class2.method_10(str10);
        }
        else
        {
            class2.method_24(str10, str2);
        }
        class2.method_46(BookmarkStart.b("䌳వ䰷夹縻儽㈿♁⅃㑅㭇", num), flag, new object[] { BookmarkStart.b("䌳వ䰷唹䰻", num), top, BookmarkStart.b("䌳వ吷弹娻䨽", num), left, BookmarkStart.b("䌳వ娷唹䠻䨽⼿⽁", num), bottom, BookmarkStart.b("䌳వ䨷匹嬻嘽㐿", num), right, BookmarkStart.b("䌳వ儷吹伻圽␿❁ృ", num), horizontal, BookmarkStart.b("䌳వ儷吹伻圽␿❁ቃ", num), vertical, BookmarkStart.b("䌳వ䰷嘹฻尽㈿", num), diagonalDown, BookmarkStart.b("䌳వ䰷䠹฻尽ⰿ", num), diagonalUp });
        class2.vmethod_4(class4);
        class2.method_22(BookmarkStart.b("䌳వ嘷唹欻䰽ℿ㉁", num), obj5);
        if (!(A_0.OwnerBase is TableCell) || !(A_0.OwnerBase as TableCell).CellFormat.SamePaddingsAsTable)
        {
            class2.method_50(BookmarkStart.b("䌳వ䰷夹焻弽㈿", num), str3, str4, str5, str6);
        }
        class2.method_24(flag ? BookmarkStart.b("䌳వ䰷弹䐻䨽п⭁㙃⍅⭇㹉╋⅍㹏", num) : BookmarkStart.b("䌳వ䰷弹䐻䨽ؿ⹁⭃ㅅ", num), str7);
        class2.method_22(BookmarkStart.b("䌳వ䰷夹稻圽㐿ᙁ⅃㹅㱇", num), obj6);
        class2.method_24(BookmarkStart.b("䌳వ丷笹倻圽✿ⱁ", num), str8);
        class2.method_22(BookmarkStart.b("䌳వ倷匹堻嬽ി⍁㙃ⵅ", num), obj7);
    }