Example #1
0
    private static bool smethod_3(CharacterFormat A_0, IRunAttrSource A_1, bool A_2, bool A_3, bool A_4, Interface52 A_5, bool A_6)
    {
        int num = 13;

        if (A_0 == null)
        {
            return(false);
        }
        bool     flag    = A_5.imethod_2();
        int      num2    = 0;
        string   styleId = null;
        string   str2    = null;
        string   str3    = null;
        string   str4    = null;
        string   str5    = null;
        string   str6    = null;
        string   str7    = null;
        string   str8    = null;
        string   str9    = null;
        string   str10   = null;
        object   obj2    = null;
        object   obj3    = null;
        object   obj4    = null;
        object   obj5    = null;
        object   obj6    = null;
        object   obj7    = null;
        object   obj8    = null;
        object   obj9    = null;
        object   obj10   = null;
        object   obj11   = null;
        object   obj12   = null;
        object   obj13   = null;
        object   obj14   = null;
        object   obj15   = null;
        object   obj16   = 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;
        string   str11   = null;
        string   str12   = null;
        string   str13   = null;
        Border   border  = null;
        Class16  class2  = null;
        string   str14   = null;
        string   str15   = null;
        string   str16   = null;
        object   obj29   = null;
        object   obj30   = null;
        string   str17   = null;
        string   str18   = null;
        string   str19   = null;
        string   str20   = null;
        string   str21   = null;
        string   str22   = null;
        Class340 class3  = null;
        object   obj31   = null;
        object   obj32   = null;
        object   obj33   = null;
        object   obj34   = null;
        bool     flag2   = false;

        for (int i = 0; i < A_0.Count; i++)
        {
            int    num4  = A_0.method_18(i);
            object obj35 = A_0.method_19(i);
            num2++;
            int num5 = num4;
            if (num5 <= 0x109)
            {
                if (num5 <= 150)
                {
                    if (num5 <= 80)
                    {
                        if (num5 <= 0x2d)
                        {
                            switch (num5)
                            {
                            case 10:
                            {
                                obj31 = A_0.method_62((short)num4);
                                continue;
                            }

                            case 12:
                            {
                                if (!A_6 && !(A_1 is Paragraph))
                                {
                                    num2--;
                                }
                                continue;
                            }

                            case 14:
                            {
                                if (!A_6 && !(A_1 is Paragraph))
                                {
                                    num2--;
                                }
                                continue;
                            }

                            case 20:
                            {
                                obj28 = Class860.smethod_20((Color)obj35, flag);
                                continue;
                            }

                            case 0x2d:
                            {
                                num2--;
                                continue;
                            }
                            }
                            goto Label_08AF;
                        }
                        switch (num5)
                        {
                        case 60:
                        {
                            obj2 = A_0.method_62((short)num4);
                            continue;
                        }

                        case 70:
                        {
                            obj4 = A_0.method_62((short)num4);
                            continue;
                        }
                        }
                        if (num5 != 80)
                        {
                            goto Label_08AF;
                        }
                        obj8 = A_0.method_62((short)num4);
                    }
                    else if (num5 <= 110)
                    {
                        switch (num5)
                        {
                        case 90:
                        {
                            obj10 = A_0.method_62((short)num4);
                            continue;
                        }

                        case 100:
                        {
                            obj11 = A_0.method_62((short)num4);
                            continue;
                        }
                        }
                        if (num5 != 110)
                        {
                            goto Label_08AF;
                        }
                        obj7 = A_0.method_62((short)num4);
                    }
                    else
                    {
                        if (num5 <= 0x84)
                        {
                            switch (num5)
                            {
                            case 130:
                            {
                                obj16 = A_0.method_62((short)num4);
                                continue;
                            }

                            case 0x84:
                            {
                                obj17 = A_0.method_62((short)num4);
                                continue;
                            }

                            case 120:
                            {
                                obj6 = A_0.method_62((short)num4);
                                continue;
                            }
                            }
                            goto Label_08AF;
                        }
                        if (num5 == 140)
                        {
                            str11 = Class860.smethod_18((UnderlineStyle)obj35, flag);
                        }
                        else
                        {
                            if (num5 != 150)
                            {
                                goto Label_08AF;
                            }
                            if (((float)obj35) != 0f)
                            {
                                obj22 = (int)(((float)obj35) * 20f);
                            }
                        }
                    }
                }
                else if (num5 <= 210)
                {
                    if (num5 <= 180)
                    {
                        switch (num5)
                        {
                        case 160:
                        {
                            obj18 = obj35;
                            continue;
                        }

                        case 170:
                        {
                            obj12 = A_0.method_62((short)num4);
                            continue;
                        }
                        }
                        if (num5 != 180)
                        {
                            goto Label_08AF;
                        }
                        obj13 = A_0.method_62((short)num4);
                    }
                    else
                    {
                        switch (num5)
                        {
                        case 190:
                        {
                            obj26 = obj35;
                            continue;
                        }

                        case 200:
                        {
                            obj25 = ((float)obj35) * 2f;
                            continue;
                        }
                        }
                        if (num5 != 210)
                        {
                            goto Label_08AF;
                        }
                        str16 = Class860.smethod_22((SubSuperScript)obj35);
                    }
                }
                else if (num5 <= 0xeb)
                {
                    switch (num5)
                    {
                    case 220:
                    {
                        obj24 = ((float)obj35) * 2f;
                        continue;
                    }

                    case 230:
                    {
                        str2 = (string)obj35;
                        continue;
                    }
                    }
                    if (num5 != 0xeb)
                    {
                        goto Label_08AF;
                    }
                    str4 = (string)obj35;
                }
                else if (num5 <= 250)
                {
                    if (num5 != 240)
                    {
                        if (num5 != 250)
                        {
                            goto Label_08AF;
                        }
                        obj3 = A_0.method_62((short)num4);
                    }
                    else
                    {
                        str3 = (string)obj35;
                    }
                }
                else if (num5 != 260)
                {
                    if (num5 != 0x109)
                    {
                        goto Label_08AF;
                    }
                    obj29 = A_0.method_62((short)num4);
                }
                else
                {
                    obj5 = A_0.method_62((short)num4);
                }
                continue;
            }
            if (num5 <= 440)
            {
                if (num5 <= 340)
                {
                    if (num5 <= 300)
                    {
                        switch (num5)
                        {
                        case 0x10c:
                        {
                            obj30 = A_0.method_62((short)num4);
                            continue;
                        }

                        case 270:
                        {
                            str5 = (string)obj35;
                            continue;
                        }

                        case 290:
                        {
                            obj23 = obj35;
                            continue;
                        }

                        case 300:
                        {
                            obj9 = A_0.method_62((short)num4);
                            continue;
                        }
                        }
                        goto Label_08AF;
                    }
                    switch (num5)
                    {
                    case 310:
                    {
                        str13 = Class860.smethod_16((TextEffect)obj35, flag);
                        continue;
                    }

                    case 330:
                    {
                        obj15 = A_0.method_62((short)num4);
                        continue;
                    }
                    }
                    if (num5 != 340)
                    {
                        goto Label_08AF;
                    }
                    str22 = Class860.smethod_1((short)obj35, flag);
                    if (!Class567.smethod_16(str22))
                    {
                        num2--;
                    }
                }
                else if (num5 <= 370)
                {
                    switch (num5)
                    {
                    case 350:
                    {
                        obj27 = obj35;
                        continue;
                    }

                    case 360:
                    {
                        border = (Border)obj35;
                        continue;
                    }
                    }
                    if (num5 != 370)
                    {
                        goto Label_08AF;
                    }
                    class2 = (Class16)obj35;
                }
                else if (num5 <= 390)
                {
                    if (num5 != 380)
                    {
                        if (num5 != 390)
                        {
                            goto Label_08AF;
                        }
                        str21 = Class860.smethod_1((short)obj35, flag);
                        if (!Class567.smethod_16(str21))
                        {
                            num2--;
                        }
                    }
                    else
                    {
                        str20 = Class860.smethod_1((short)obj35, flag);
                        if (!Class567.smethod_16(str20))
                        {
                            num2--;
                        }
                    }
                }
                else if (num5 != 400)
                {
                    if (num5 != 440)
                    {
                        goto Label_08AF;
                    }
                    obj14 = A_0.method_62((short)num4);
                }
                else
                {
                    str6 = Class860.smethod_10((CharacterCategory)Enum.ToObject(typeof(CharacterCategory), obj35), flag);
                }
                continue;
            }
            if (num5 <= 530)
            {
                if (num5 <= 470)
                {
                    switch (num5)
                    {
                    case 450:
                    {
                        str12 = Class114.smethod_12((Color)obj35);
                        continue;
                    }

                    case 460:
                    {
                        if (flag)
                        {
                            num2--;
                        }
                        else
                        {
                            str19 = Class860.smethod_24((HyphenRule)obj35);
                        }
                        continue;
                    }
                    }
                    if (num5 != 470)
                    {
                        goto Label_08AF;
                    }
                    num2--;
                    continue;
                }
                if (num5 <= 510)
                {
                    if (num5 == 500)
                    {
                        if (flag)
                        {
                            obj19 = obj35;
                        }
                        else
                        {
                            num2--;
                        }
                    }
                    else
                    {
                        if (num5 != 510)
                        {
                            goto Label_08AF;
                        }
                        if (flag)
                        {
                            obj20 = obj35;
                        }
                        else
                        {
                            num2--;
                        }
                    }
                    continue;
                }
                switch (num5)
                {
                case 520:
                {
                    if (!flag)
                    {
                        break;
                    }
                    obj21 = obj35;
                    continue;
                }

                case 0x209:
                {
                    if (!flag)
                    {
                        num2--;
                    }
                    continue;
                }

                case 0x20a:
                {
                    if (!flag)
                    {
                        num2--;
                    }
                    continue;
                }

                case 0x20b:
                {
                    if (!flag)
                    {
                        num2--;
                    }
                    continue;
                }

                case 530:
                {
                    if (flag)
                    {
                        str7 = (string)obj35;
                    }
                    else
                    {
                        num2--;
                    }
                    continue;
                }

                default:
                    goto Label_08AF;
                }
                num2--;
                continue;
            }
            if (num5 <= 560)
            {
                switch (num5)
                {
                case 540:
                {
                    if (flag)
                    {
                        str8 = (string)obj35;
                    }
                    else
                    {
                        num2--;
                    }
                    continue;
                }

                case 550:
                {
                    if (flag)
                    {
                        str9 = (string)obj35;
                    }
                    else
                    {
                        num2--;
                    }
                    continue;
                }
                }
                if (num5 != 560)
                {
                    goto Label_08AF;
                }
                if (flag)
                {
                    str10 = (string)obj35;
                }
                else
                {
                    num2--;
                }
                continue;
            }
            if (num5 <= 770)
            {
                if (num5 != 760)
                {
                    if (num5 != 770)
                    {
                        goto Label_08AF;
                    }
                    str17 = Class860.smethod_4((Emphasis)obj35, flag);
                }
                else
                {
                    flag2 = true;
                }
                continue;
            }
            switch (num5)
            {
            case 780:
            {
                class3 = (Class340)obj35;
                continue;
            }

            case 0x271a:
            {
                continue;
            }
            }
Label_08AF:
            num2--;
        }
        if ((A_0 != null) && !string.IsNullOrEmpty(A_0.CharStyleName))
        {
            Style style = A_0.Document.Styles.DocStyleCollection.FindByName(A_0.CharStyleName);
            if (style != null)
            {
                if (flag)
                {
                    styleId = style.StyleId;
                }
                else
                {
                    styleId = A_5.imethod_4(style.StyleDocId);
                }
                num2++;
            }
            else
            {
                styleId = null;
            }
        }
        else
        {
            styleId = null;
        }
        if ((num2 == 0) && !A_4)
        {
            return(false);
        }
        Class398 class4 = A_5.imethod_1();

        if (A_3)
        {
            class4.method_4(BookmarkStart.b("䐲༴䜶椸䤺", num));
        }
        class4.method_4(BookmarkStart.b("䐲༴䔶椸䤺", num));
        if (!A_6 && (A_1 is Paragraph))
        {
            if (A_0.HasInsertRevision)
            {
                string str23 = flag ? (A_5 as Class421).class401_0.method_3().method_476() : A_5.imethod_6().ToString();
                class4.vmethod_12(A_0.InsertRevision, str23, flag);
            }
            if (A_0.HasDeleteRevision)
            {
                string str24 = flag ? (A_5 as Class421).class401_0.method_3().method_476() : A_5.imethod_6().ToString();
                class4.vmethod_12(A_0.DeleteRevision, str24, flag);
            }
        }
        class4.method_24(BookmarkStart.b("䐲༴䔶樸伺䐼匾⑀", num), styleId);
        if (flag)
        {
            class4.method_31(BookmarkStart.b("䐲༴堶琸娺䤼圾", num), flag2);
            class4.method_33(BookmarkStart.b("䐲༴䔶缸吺匼䬾㉀", num), new object[] {
                BookmarkStart.b("䐲༴嘶䨸堺吼嘾", num), str2, BookmarkStart.b("䐲༴制堸䠺䤼績㉀⩂⑄", num), str4, BookmarkStart.b("䐲༴弶砸唺丼嘾", num), str3, BookmarkStart.b("䐲༴嘶䨸堺吼嘾ᕀ⭂⁄⩆ⱈ", num), str7, BookmarkStart.b("䐲༴制堸䠺䤼績㉀⩂⑄ፆⅈ⹊⁌⩎", num), str9, BookmarkStart.b("䐲༴弶砸唺丼嘾ᕀ⭂⁄⩆ⱈ", num), str8, BookmarkStart.b("䐲༴吶䨸", num), str5, BookmarkStart.b("䐲༴吶䨸伺唼娾ⱀ♂", num), str10,
                BookmarkStart.b("䐲༴弶倸唺䤼", num), str6
            });
        }
        else
        {
            class4.method_33(BookmarkStart.b("䐲༴䔶缸吺匼䬾㉀", num), new object[] { BookmarkStart.b("䐲༴嘶䨸堺吼嘾", num), str2, BookmarkStart.b("䐲༴儶堸䤺堼帾㉀㝂", num), str4, BookmarkStart.b("䐲༴弶ᐸ娺匼䰾⡀", num), str3, BookmarkStart.b("䐲༴吶䨸", num), str5, BookmarkStart.b("䐲༴弶倸唺䤼", num), str6 });
        }
        class4.method_22(BookmarkStart.b("䐲༴唶", num), obj2);
        class4.method_22(flag ? BookmarkStart.b("䐲༴唶稸䠺", num) : BookmarkStart.b("䐲༴唶ᐸ堺丼", num), obj3);
        class4.method_22(BookmarkStart.b("䐲༴帶", num), obj4);
        class4.method_22(flag ? BookmarkStart.b("䐲༴帶稸䠺", num) : BookmarkStart.b("䐲༴帶ᐸ堺丼", num), obj5);
        class4.method_22(BookmarkStart.b("䐲༴吶堸䬺丼", num), obj6);
        class4.method_22(BookmarkStart.b("䐲༴䐶吸娺儼匾ɀ≂㕄㑆", num), obj7);
        class4.method_22(BookmarkStart.b("䐲༴䐶䴸䤺吼吾⑀", num), obj8);
        class4.method_22(BookmarkStart.b("䐲༴匶䨸伺似嘾⩀♂", num), obj9);
        class4.method_22(BookmarkStart.b("䐲༴堶䰸伺儼嘾⽀♂", num), obj10);
        class4.method_22(BookmarkStart.b("䐲༴䐶儸娺夼倾㙀", num), obj11);
        class4.method_22(BookmarkStart.b("䐲༴制吸夺刼䰾㉀", num), obj12);
        class4.method_22(BookmarkStart.b("䐲༴帶吸䬺似嘾⽀㝂", num), obj13);
        class4.method_22(BookmarkStart.b("䐲༴夶嘸欺似倾⹀╂", num), obj14);
        class4.method_22(BookmarkStart.b("䐲༴䐶圸娺䴼款⹀т㝄⹆ⵈ", num), obj15);
        class4.method_22(BookmarkStart.b("䐲༴䄶堸唺吼䰾⥀", num), obj16);
        class4.method_22(BookmarkStart.b("䐲༴䀶尸夺甼嘾╀❂⁄⥆", num), obj17);
        if (flag)
        {
            class4.method_33(BookmarkStart.b("䐲༴吶嘸场刼䴾", num), new object[] { BookmarkStart.b("䐲༴䄶堸场", num), obj18, BookmarkStart.b("䐲༴䌶儸帺值娾ɀⱂ⥄⡆㭈", num), obj19, BookmarkStart.b("䐲༴䌶儸帺值娾ቀ⭂⑄⍆ⱈ", num), obj20, BookmarkStart.b("䐲༴䌶儸帺值娾ᕀ⩂⭄㍆", num), obj21 });
        }
        else
        {
            class4.method_22(BookmarkStart.b("䐲༴吶嘸场刼䴾", num), obj18);
        }
        class4.method_22(BookmarkStart.b("䐲༴䐶䤸娺帼嘾⽀⑂", num), obj22);
        class4.method_22(BookmarkStart.b("䐲༴䀶", num), obj23);
        class4.method_22(BookmarkStart.b("䐲༴尶尸䤺匼", num), obj24);
        class4.method_22(BookmarkStart.b("䐲༴䜶嘸䠺吼䬾⡀ⱂ⭄", num), obj25);
        class4.method_22(BookmarkStart.b("䐲༴䐶䌸", num), class4.method_23(obj26, 2f));
        class4.method_22(flag ? BookmarkStart.b("䐲༴䐶䌸砺丼", num) : BookmarkStart.b("䐲༴䐶䌸ᘺ帼䰾", num), class4.method_23(obj27, 2f));
        class4.method_22(BookmarkStart.b("䐲༴弶倸尺唼匾⡀⑂ⵄ㍆", num), obj28);
        class4.method_33(BookmarkStart.b("䐲༴䈶", num), new object[] { BookmarkStart.b("䐲༴䄶堸场", num), str11, BookmarkStart.b("䐲༴吶嘸场刼䴾", num), str12 });
        class4.method_24(BookmarkStart.b("䐲༴制弸崺堼尾㕀", num), str13);
        class4.method_47(BookmarkStart.b("䐲༴唶崸䤺", num), border, flag);
        class4.vmethod_4(class2);
        class4.method_33(BookmarkStart.b("䐲༴儶倸伺椼娾㥀㝂", num), new object[] { BookmarkStart.b("䐲༴䄶堸场", num), str14, BookmarkStart.b("䐲༴帶崸", num), str15 });
        class4.method_24(BookmarkStart.b("䐲༴䄶尸䤺䤼績ⵀ⩂≄⥆", num), str16);
        class4.method_22(BookmarkStart.b("䐲༴䔶䴸场", num), obj29);
        class4.method_22(BookmarkStart.b("䐲༴吶䨸", num), obj30);
        class4.method_24(BookmarkStart.b("䐲༴制吸", num), str17);
        if (!flag)
        {
            class4.method_33(BookmarkStart.b("䐲༴弶䀸䬺唼娾⽀", num), new object[] { BookmarkStart.b("䐲༴䄶堸场", num), str18, BookmarkStart.b("䐲༴䔶䰸场堼", num), str19 });
        }
        class4.method_33(BookmarkStart.b("䐲༴嬶堸唺娼", num), new object[] { BookmarkStart.b("䐲༴䄶堸场", num), str20, flag ? BookmarkStart.b("䐲༴制堸䠺䤼績㉀⩂⑄", num) : BookmarkStart.b("䐲༴儶堸䤺堼帾㉀㝂", num), str21, BookmarkStart.b("䐲༴唶倸强吼", num), str22 });
        if (class3 != null)
        {
            smethod_4(class4, class3, flag);
        }
        class4.method_22(BookmarkStart.b("䐲༴䐶䤸帺帼椾⁀ⵂⱄ㑆ⅈ", num), obj31);
        if (!flag)
        {
            class4.method_22(BookmarkStart.b("䐲䴴ശ弸吺匼䬾", num), obj32);
            class4.method_33(BookmarkStart.b("䐲䴴ശ䨸䈺值", num), new object[] { BookmarkStart.b("䐲䴴ശ弸吺匼䬾", num), obj33, BookmarkStart.b("䐲䴴ശ娸区尼䴾", num), obj34 });
        }
        return(true);
    }
Example #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);
    }
Example #3
0
    internal static void smethod_0(Class421 A_0)
    {
        int      num      = 15;
        Document document = A_0.Interface52.imethod_0();
        Class907 settings = document.Settings;
        Class398 class3   = A_0.Interface52.imethod_1();

        class3.method_4(BookmarkStart.b("䈴ശ崸吺帼漾㍀", 15));
        class3.method_24(BookmarkStart.b("䈴ശ伸刺堼䠾", 15), Class330.smethod_7(document.ViewSetup.DocumentViewType));
        smethod_1(document.ViewSetup, class3);
        class3.method_31(BookmarkStart.b("䈴ശ䬸帺值倾㝀♂ᕄ≆㭈㡊≌ⅎぐ㽒᱔㥖㽘㑚⽜㉞`ᝢ౤ࡦݨ", 15), settings.bool_3);
        class3.method_31(BookmarkStart.b("䈴ശ崸吺匼䬾Հ⩂㙄㝆╈⩊㑌὎ぐ㑒ごᕖ㙘⹚㍜㭞`ᅢ౤ɦᩨ", 15), document.ViewSetup.DoNotDisplayPageBoundaries);
        class3.method_31(BookmarkStart.b("䈴ശ崸刺丼伾ⵀ≂㱄Ն⡈⡊♌⡎⍐㱒⁔㥖㵘࡚㕜㹞ᅠ٢", 15), document.ViewSetup.DisplayBackgroundShape);
        class3.method_31(BookmarkStart.b("䈴ശ䤸䤺吼儾㕀Ղ⩄㕆⑈㡊ौ⹎═㉒", 15), settings.bool_6);
        class3.method_31(BookmarkStart.b("䈴ശ尸嘺弼娾╀ᝂ㝄㉆ⱈὊ㑌㽎㑐ᕒ㩔㥖ⵘ⡚", 15), settings.bool_7);
        class3.method_31(BookmarkStart.b("䈴ശ䨸娺䬼娾ቀ㙂❄㑆ⱈ㽊ୌ⁎㽐❒♔", 15), settings.bool_9);
        class3.method_31(BookmarkStart.b("䈴ശ䨸娺䬼娾݀ⱂ㝄⩆㩈ཊⱌ㭎ぐ", 15), settings.bool_10);
        class3.method_31(BookmarkStart.b("䈴ശ吸刺似䴾⹀ㅂࡄ♆㭈ⱊ⑌ⅎ≐", 15), settings.bool_11);
        class3.method_31(BookmarkStart.b("䈴ശ堸场吼堾⽀ł⩄㕆ⵈ⹊㽌㱎ၐ㵒ㅔቖ㵘㱚㡜ⱞ", 15), settings.bool_12);
        class3.method_31(BookmarkStart.b("䈴ശ嬸吺似嬾⑀ㅂ㙄͆♈╊㥌ᱎ⑐⅒❔㡖ⱘ㕚㥜᝞ѠɢŤɦ᭨", 15), settings.bool_13);
        class3.method_31(BookmarkStart.b("䈴ശ嬸吺似嬾⑀ㅂ㙄͆♈╊㥌ᱎ⑐⅒❔㡖ⱘ㕚㥜ᥞ๠ౢᅤɦ᭨", 15), settings.bool_14);
        class3.method_31(BookmarkStart.b("䈴ശ常为䤼䬾⑀ㅂф㍆ᵈ⑊㵌", 15), settings.bool_15);
        smethod_2(settings, class3);
        class3.method_31(BookmarkStart.b("䈴ശ弸吺似刾㉀݂⁄㑆⁈ⱊ⍌", 15), document.ViewSetup.FormsDesign);
        class3.method_25(BookmarkStart.b("䈴ശ堸伺䤼帾≀⭂⁄⍆ᵈ⹊⁌㽎㵐㉒⅔㉖", 15), settings.string_0);
        class3.method_24(BookmarkStart.b("䈴ശ崸吺帼䨾ⱀ♂⭄㍆ᵈ㉊㵌⩎", 15), Class330.smethod_11(settings.autoFormatDocumentType_0));
        new Class232();
        class3.method_31(BookmarkStart.b("䈴ശ䴸䤺尼尾⩀ᅂ⁄ㅆ⁈㡊⑌⁎㽐⁒", 15), settings.bool_21);
        smethod_3(document, class3);
        class3.method_22(BookmarkStart.b("䈴ശ崸帺嬼帾㑀⽂ㅄፆ⡈⥊Ṍ㭎㹐⍒", 15), document.Settings.float_0);
        class3.method_31(BookmarkStart.b("䈴ശ堸为䤼倾ी㩂㕄⽆ⱈ╊ⱌ㭎㡐㱒㭔", 15), settings.bool_27);
        class3.method_30(BookmarkStart.b("䈴ശ娸吺匼䰾⑀⁂い㍆⁈㵊⡌ݎ⡐⍒㵔㉖㝘᝚㑜㉞ࡠᝢ", 15), settings.int_15);
        class3.method_32(BookmarkStart.b("䈴ശ儸䈺䴼圾⑀ⵂ⑄㍆⁈⑊⍌ᕎ㹐㵒ご", 15), settings.int_16, 360);
        class3.method_31(BookmarkStart.b("䈴ശ崸吺猼倾㕀ୂ㱄㝆ⅈ⹊⍌⹎═㙒ᙔ㙖⥘⡚", 15), settings.bool_28);
        class3.method_31(BookmarkStart.b("䈴ശ尸䴺堼儾@ⵂ⅄ࡆⵈ⽊Ռ⩎ぐ㝒ご╖⩘", 15), settings.bool_37);
        class3.method_32(BookmarkStart.b("䈴ശ崸䤺尼䠾⡀ⵂ≄F㭈≊⥌ݎ㹐⅒㱔ⵖ㙘㕚⥜㹞ൠぢᕤ٦੨ɪͬ࡮", 15), settings.int_19, 180);
        class3.method_32(BookmarkStart.b("䈴ശ崸䤺尼䠾⡀ⵂ≄F㭈≊⥌᥎㑐⅒⅔㹖㩘㩚ㅜ౞ᅠɢ٤๦ݨ౪", 15), settings.int_20, 180);
        class3.method_32(BookmarkStart.b("䈴ശ崸刺丼伾ⵀ≂㱄ཆ♈㥊⑌㕎㹐㵒⅔㙖㕘὚⽜㹞ᙠ੢୤f⹨ᥪѬ୮㑰ղၴնx", 15), settings.int_21, 1);
        class3.method_32(BookmarkStart.b("䈴ശ崸刺丼伾ⵀ≂㱄ᅆⱈ㥊㥌♎㉐㉒㥔ፖ⭘㩚⩜㙞འѢ≤ᕦhཪ⡬᥮ᑰŲ౴", 15), settings.int_22, 1);
        class3.method_31(BookmarkStart.b("䈴ശ䰸䠺堼爾⁀ㅂ≄⹆❈㡊ୌ⁎⍐ᝒ❔㙖⹘㉚㍜㡞♠ᅢ౤ͦ♨ᥪѬ࡮ᡰᵲ", 15), !settings.bool_40);
        if (!settings.bool_40)
        {
            class3.method_32(BookmarkStart.b("䈴ശ崸䤺尼䠾⡀ⵂ≄F㭈≊⥌ݎ㹐⅒㱔ⵖ㙘㕚⥜㹞ൠⱢᝤ๦๨ɪͬ", num), settings.int_23, 0x708);
            class3.method_32(BookmarkStart.b("䈴ശ崸䤺尼䠾⡀ⵂ≄F㭈≊⥌᥎㑐⅒⅔㹖㩘㩚ㅜၞ፠੢ɤ๦ݨ", num), settings.int_24, 0x5a0);
        }
        class3.method_31(BookmarkStart.b("䈴ശ崸吺猼倾㕀၂ⵄ♆ⵈ⹊ୌ⁎⍐㹒ᅔ㙖ⵘ㩚", num), settings.bool_41);
        class3.method_31(BookmarkStart.b("䈴ശ䤸为匼尾㕀㙂⑄㍆⁈⑊⍌ю㑐⅒㭔㹖㝘㱚", num), settings.bool_42);
        class3.method_24(BookmarkStart.b("䈴ശ娸区尼䴾⁀⁂ㅄ≆㭈ᡊ㵌⹎㉐㩒㭔ざᩘ㑚㍜⭞፠ౢ।", num), Class330.smethod_3(settings.characterSpacing_0));
        class3.method_31(BookmarkStart.b("䈴ശ䤸䤺吼儾㕀ᝂ㉄⡆و╊Ɍⅎ㑐", num), settings.bool_43);
        class3.method_31(BookmarkStart.b("䈴ശ䨸伺似嘾≀㝂̈́⹆㭈㡊㥌๎㽐㝒ᥔ㙖⩘⽚Ṝ㝞`ᅢᙤ", num), settings.bool_44);
        Class863.smethod_10(settings, class3, Class860.smethod_1((int)settings.localeIDs_0, false));
        A_0.imethod_8(document.FootnoteOptions, true);
        A_0.imethod_8(document.EndnoteOptions, true);
        class3.method_31(BookmarkStart.b("䈴ശ崸吺猼倾㕀ق⡄╆ⱈ⽊Ṍ㙎≐❒ご㩖὘㑚㍜⭞በ", num), settings.bool_8);
        class3.method_31(BookmarkStart.b("䈴ശ䨸区刼䠾рⵂ㍄≆╈⑊㵌⩎", num), settings.bool_29);
        class3.vmethod_0(BookmarkStart.b("䈴ശ伸娺儼嘾╀≂ㅄ≆ࡈⱊⱌ♎㽐⁒⅔і㩘㍚㡜㉞`", num), settings.bool_52);
        class3.method_31(BookmarkStart.b("䈴ശ䨸娺䬼娾ࡀⵂ㍄♆╈≊⥌ᝎ᱐ὒ", num), settings.bool_53);
        class3.method_31(BookmarkStart.b("䈴ശ倸尺匼倾㍀♂ࡄ⹆ㅈ⹊⥌౎㹐㵒⅔㉖㝘⽚", num), settings.bool_56);
        class3.method_31(BookmarkStart.b("䈴ശ䰸䠺堼朾ቀགᅄ၆ⅈ⹊⍌ᱎぐ╒㱔㥖㹘", num), settings.bool_59);
        if (Class567.smethod_16(settings.string_4))
        {
            class3.method_4(BookmarkStart.b("䈴ശ䨸娺䬼娾ᕀ⭂㝄⡆㱈ⱊ╌ᝎɐὒŔ", num));
            class3.method_18(BookmarkStart.b("䈴ശ䄸䠺儼䬾", num), settings.string_4);
            class3.method_5();
        }
        class3.method_31(BookmarkStart.b("䈴ശ嘸䬺䤼嘾ⱀ⩂㽄≆཈⑊㽌ൎ⍐㱒≔⑖㱘⥚", num), settings.bool_45);
        class3.method_31(BookmarkStart.b("䈴ശ䬸帺儼䘾เⵂፄ੆Ո", num), settings.bool_46);
        class3.method_31(BookmarkStart.b("䈴ശ堸场儼倾㙀ፂୄF", num), settings.bool_47);
        class3.method_31(BookmarkStart.b("䈴ശ崸吺猼倾㕀ᅂ⁄⭆えъ⍌౎ɐR", num), settings.bool_48);
        class3.method_31(BookmarkStart.b("䈴ശ崸吺猼倾㕀၂⑄ㅆⱈ᱊⡌ⵎŐ㉒㉔㉖⩘ᩚ⹜౞ࡠൢɤ୦౨⵪Ѭͮᑰ", num), settings.bool_49);
        class3.method_31(BookmarkStart.b("䈴ശ崸吺猼倾㕀ూ㝄⁆⡈╊⑌㕎㑐ᩒ㭔ᅖ㙘㝚㥜㩞፠", num), settings.bool_50);
        class3.method_31(BookmarkStart.b("䈴ശ崸吺猼倾㕀ᙂ㙄≆Ո⑊⍌⡎ᝐ㩒㥔㉖᝘㩚ぜ㩞በ", num), settings.bool_51);
        if (settings.int_25 != 0x60)
        {
            class3.method_28(BookmarkStart.b("䈴ശ䤸刺䔼娾ⵀあᕄ≆㭈Ɋ⍌ⱎ㥐", num), settings.int_25);
        }
        if (settings.screenSize_1 != ScreenSize.Size800x600)
        {
            class3.method_24(BookmarkStart.b("䈴ശ䴸娺似堾⑀㝂ᙄ⑆㭈⹊⡌ⅎɐ⥒", num), Class417.smethod_30(settings.screenSize_1));
        }
        class3.method_31(BookmarkStart.b("䈴ശ堸场䨼帾㡀あࡄ≆㭈ⱊ⡌੎㱐⍒⅔⹖᝘㩚ぜ㩞በ።ѤѦ౨", num), settings.bool_60);
        class3.method_31(BookmarkStart.b("䈴ശ堸场䨼帾㡀あᙄ⽆♈㱊ᵌ⍎ぐげご㽖㙘㝚㥜㩞፠㝢dὦᵨ", num), settings.bool_57);
        class3.method_31(BookmarkStart.b("䈴ശ嬸吺刼吾݀ⱂ⥄⍆᥈㥊⑌ⅎ═㩒㭔ざ", num), settings.bool_39);
        class3.method_31(BookmarkStart.b("䈴ശ嬸吺刼吾݀ⱂ⥄⍆ᭈ⹊㭌὎⍐㩒㭔⍖じ㕚㩜", num), settings.bool_38);
        if (settings.bool_39 || settings.bool_38)
        {
            class3.method_28(BookmarkStart.b("䈴ശ嬸吺刼吾݀ⱂ⥄⍆᥈㥊⑌ⅎ═㩒㭔ざ੘㍚㡜㩞ᕠၢ", num), settings.int_18);
        }
        class3.method_31(BookmarkStart.b("䈴ശ崸吺猼倾㕀ᙂ⭄⍆ⱈ㥊⅌♎㽐㙒᱔㥖⽘㩚ㅜ㙞ՠ㭢⡤⭦", num), settings.bool_58);
        class3.method_31(BookmarkStart.b("䈴ശ唸刺匼吾ቀ㝂㱄⭆ⱈ㡊", num), settings.bool_16);
        class3.method_31(BookmarkStart.b("䈴ശ䤸䤺吼儾㕀Ղ㝄♆⩈㽊⑌⁎㽐㉒㥔ᑖㅘ㩚⽜㹞ɠᝢdᕦ㹨ɪ६᭮ᥰ", num), settings.bool_5);
        class3.method_31(BookmarkStart.b("䈴ശ䤸䤺吼儾㕀ፂ⩄㑆㵈ᡊ⹌㵎㡐⍒⅔ᡖ⽘㹚⽜୞Ѡ᭢ᅤ", num), settings.bool_4);
        smethod_4(settings.method_5(), class3);
        smethod_5(document.Variables, class3);
        class3.method_5();
    }
Example #4
0
    private static void smethod_1(AttrCollection A_0, bool A_1, Interface52 A_2)
    {
        int              num     = 13;
        Class398         class2  = A_2.imethod_1();
        bool             flag    = A_2.imethod_2();
        string           str     = null;
        string           str2    = null;
        string           str3    = null;
        string           str4    = null;
        string           str5    = null;
        string           str6    = null;
        string           str7    = null;
        string           str8    = null;
        string           str9    = null;
        string           str10   = null;
        string           str11   = null;
        string           str12   = null;
        string           str13   = null;
        string           str14   = null;
        string           str15   = null;
        string           str16   = null;
        Border           top     = null;
        Border           left    = null;
        Border           bottom  = null;
        Border           right   = null;
        string           str17   = null;
        string           str18   = null;
        string           str19   = null;
        string           str20   = null;
        string           str21   = null;
        string           str22   = null;
        string           str23   = null;
        string           str24   = null;
        object           obj2    = null;
        string           str25   = null;
        string           str26   = null;
        object           obj3    = null;
        ColumnCollection columns = null;
        string           str27   = null;
        string           str28   = null;
        string           str29   = null;
        string           str30   = null;
        string           str31   = null;
        object           obj4    = null;
        object           obj5    = null;
        object           obj6    = null;
        object           obj7    = null;
        object           obj8    = null;
        object           obj9    = null;

        for (int i = 0; i < A_0.Count; i++)
        {
            int    num3  = A_0.method_18(i);
            object obj10 = A_0.method_19(i);
            int    num4  = num3;
            if (num4 <= 0x8a2)
            {
                if (num4 <= 0x820)
                {
                    if (num4 <= 0x7e4)
                    {
                        if (num4 <= 0x7d0)
                        {
                            if (num4 == 0x7c6)
                            {
                                bottom = (obj10 as Borders).Bottom;
                                left   = (obj10 as Borders).Left;
                                top    = (obj10 as Borders).Top;
                                right  = (obj10 as Borders).Right;
                            }
                            else if (num4 == 0x7d0)
                            {
                                MarginsF sf = (MarginsF)obj10;
                                str5  = A_2.imethod_1().method_23(sf.Top, 20f).ToString();
                                str8  = A_2.imethod_1().method_23(sf.Left, 20f).ToString();
                                str6  = A_2.imethod_1().method_23(sf.Right, 20f).ToString();
                                str7  = A_2.imethod_1().method_23(sf.Bottom, 20f).ToString();
                                str11 = A_2.imethod_1().method_23(sf.Gutter, 20f).ToString();
                            }
                        }
                        else if (num4 == 0x7da)
                        {
                            str21 = Class911.smethod_3((ListPatternType)obj10);
                        }
                        else if (num4 == 0x7e4)
                        {
                            str24 = Class339.smethod_11((PageSeparator)obj10, flag);
                        }
                    }
                    else if (num4 <= 0x7f8)
                    {
                        if (num4 == 0x7ee)
                        {
                            str30 = Class339.smethod_21((SectionBreakType)obj10, flag);
                        }
                        else if (num4 == 0x7f8)
                        {
                            obj6 = obj10;
                        }
                    }
                    else
                    {
                        switch (num4)
                        {
                        case 0x80c:
                        {
                            obj3 = obj10;
                            continue;
                        }

                        case 0x816:
                        {
                            str12 = Class1041.smethod_8((int)obj10);
                            continue;
                        }
                        }
                        if (num4 == 0x820)
                        {
                            str13 = Class1041.smethod_8((int)obj10);
                        }
                    }
                }
                else if (num4 <= 0x848)
                {
                    if (num4 <= 0x834)
                    {
                        if (num4 == 0x82a)
                        {
                            str4 = Class1041.smethod_8((int)obj10);
                        }
                        else if (num4 == 0x834)
                        {
                            obj8 = obj10;
                        }
                    }
                    else if (num4 == 0x83e)
                    {
                        str20 = Class339.smethod_13((LineNumberingRestartMode)obj10, flag);
                    }
                    else if (num4 == 0x848)
                    {
                        str17 = Class1041.smethod_8((int)obj10);
                    }
                }
                else if (num4 <= 0x884)
                {
                    if (num4 == 0x87a)
                    {
                        str28 = A_2.imethod_1().method_23(obj10, 20f).ToString();
                    }
                    else if (num4 == 0x884)
                    {
                        str18 = Class1041.smethod_8(((int)obj10) - 1);
                    }
                }
                else
                {
                    switch (num4)
                    {
                    case 0x88e:
                    {
                        str23 = Class1041.smethod_8((int)obj10);
                        continue;
                    }

                    case 0x898:
                    {
                        if ((bool)A_0.method_32(0x802))
                        {
                            str22 = Class1041.smethod_8((int)obj10);
                        }
                        continue;
                    }
                    }
                    if (num4 == 0x8a2)
                    {
                        str3 = Class339.smethod_19((PageOrientation)obj10);
                    }
                }
            }
            else if (num4 <= 0x92e)
            {
                if (num4 <= 0x8d4)
                {
                    if (num4 <= 0x8b6)
                    {
                        if (num4 == 0x8ac)
                        {
                            str15 = Class339.smethod_17((PageBordersApplyType)obj10, flag);
                        }
                        else if (num4 == 0x8b6)
                        {
                            if ((bool)obj10)
                            {
                                str14 = BookmarkStart.b("唲䜴堶圸伺", num);
                            }
                            else
                            {
                                str14 = BookmarkStart.b("儲吴吶券", num);
                            }
                        }
                    }
                    else if (num4 == 0x8c0)
                    {
                        str16 = Class339.smethod_15((PageBorderOffsetFrom)obj10);
                    }
                    else if (num4 == 0x8d4)
                    {
                        str = A_2.imethod_1().method_23(obj10, 20f).ToString();
                    }
                }
                else if (num4 <= 0x910)
                {
                    if (num4 == 0x8de)
                    {
                        str2 = A_2.imethod_1().method_23(obj10, 20f).ToString();
                    }
                    else if (num4 == 0x910)
                    {
                        str9 = A_2.imethod_1().method_23(obj10, 20f).ToString();
                    }
                }
                else
                {
                    switch (num4)
                    {
                    case 0x91a:
                    {
                        str10 = A_2.imethod_1().method_23(obj10, 20f).ToString();
                        continue;
                    }

                    case 0x924:
                    {
                        str31 = Class339.smethod_9((PageAlignment)obj10);
                        continue;
                    }
                    }
                    if (num4 == 0x92e)
                    {
                        str26 = Class1041.smethod_8((int)obj10);
                    }
                }
            }
            else if (num4 <= 0x960)
            {
                if (num4 <= 0x942)
                {
                    if (num4 == 0x938)
                    {
                        obj2 = obj10;
                    }
                    else if (num4 == 0x942)
                    {
                        str25 = Class1041.smethod_8((int)obj10);
                    }
                }
                else
                {
                    switch (num4)
                    {
                    case 0x94c:
                    {
                        columns = (ColumnCollection)obj10;
                        str26   = columns.Count.ToString();
                        continue;
                    }

                    case 0x956:
                    {
                        obj7 = !((bool)obj10);
                        continue;
                    }
                    }
                    if (num4 == 0x960)
                    {
                        str19 = Class1041.smethod_10(Convert.ToUInt32(obj10));
                    }
                }
            }
            else
            {
                switch (num4)
                {
                case 0x96a:
                    obj5 = obj10;
                    break;

                case 0x974:
                    str29 = Class1041.smethod_8((int)obj10);
                    break;

                case 0x97e:
                    str27 = Class339.smethod_3((GridPitchType)obj10, flag);
                    break;

                case 0x988:
                    obj9 = Class911.smethod_5((TextDirection)obj10);
                    break;

                case 0x992:
                    obj4 = obj10;
                    break;
                }
            }
        }
        if (!A_1)
        {
            if (str9 == null)
            {
                str9 = A_2.imethod_1().method_23((float)A_0.method_32(0x910), 20f).ToString();
            }
            if (str10 == null)
            {
                str10 = A_2.imethod_1().method_23((float)A_0.method_32(0x91a), 20f).ToString();
            }
            if (((str25 == null) && (columns != null)) && (columns.Count > 0))
            {
                str25 = (columns[0].Space * 20f).ToString();
            }
        }
        A_2.imethod_8(A_0, false);
        class2.method_24(BookmarkStart.b("䐲༴䌶䀸䬺堼", num), str30);
        bool   flag2 = ((PageOrientation)A_0[0x8a2]) == PageOrientation.Landscape;
        string str32 = str;
        string str33 = str2;
        float  num7  = (A_0 as Class17).method_96() * 20f;
        float  num8  = (A_0 as Class17).method_98() * 20f;

        if (flag2 && (num7 < num8))
        {
            str32 = num8.ToString();
            str33 = num7.ToString();
        }
        class2.method_33(BookmarkStart.b("䐲༴䜶常栺䜼", num), new object[] { BookmarkStart.b("䐲༴䀶", num), str32, BookmarkStart.b("䐲༴弶", num), str33, BookmarkStart.b("䐲༴堶䬸刺堼儾㕀", num), str3, BookmarkStart.b("䐲༴吶嘸强堼", num), str4 });
        class2.method_33(BookmarkStart.b("䐲༴䜶常瘺尼䴾", num), new object[] { BookmarkStart.b("䐲༴䌶嘸䬺", num), str5, BookmarkStart.b("䐲༴䔶倸尺唼䬾", num), str6, BookmarkStart.b("䐲༴唶嘸伺䤼倾ⱀ", num), str7, BookmarkStart.b("䐲༴嬶尸崺䤼", num), str8, BookmarkStart.b("䐲༴弶尸娺夼娾㍀", num), str9, BookmarkStart.b("䐲༴儶嘸吺䤼娾㍀", num), str10, BookmarkStart.b("䐲༴倶䰸伺䤼娾㍀", num), str11 });
        class2.method_33(BookmarkStart.b("䐲༴䜶堸䬺堼䴾ቀㅂ♄", num), new object[] { BookmarkStart.b("䐲༴儶倸䤺丼䬾", num), str12, BookmarkStart.b("䐲༴堶䴸区堼䴾", num), str13 });
        if (((top != null) || (left != null)) || ((bottom != null) || (right != null)))
        {
            class2.method_4(BookmarkStart.b("䐲༴䜶常示刼䴾╀♂㝄㑆", num));
            class2.method_40(flag ? BookmarkStart.b("䐲༴䴶瘸䤺夼娾㍀", num) : BookmarkStart.b("䐲༴䴶ᐸ吺似嬾⑀ㅂ", num), str14);
            class2.method_40(BookmarkStart.b("䐲༴匶倸䠺䴼匾⁀㩂", num), str15);
            class2.method_40(flag ? BookmarkStart.b("䐲༴堶弸崺丼娾㕀Ղ㝄⡆⑈", num) : BookmarkStart.b("䐲༴堶弸崺丼娾㕀湂⍄㕆♈♊", num), str16);
            class2.method_47(BookmarkStart.b("䐲༴䌶嘸䬺", num), top, flag);
            class2.method_47(BookmarkStart.b("䐲༴嬶尸崺䤼", num), left, flag);
            class2.method_47(BookmarkStart.b("䐲༴唶嘸伺䤼倾ⱀ", num), bottom, flag);
            class2.method_47(BookmarkStart.b("䐲༴䔶倸尺唼䬾", num), right, flag);
            class2.method_5();
        }
        class2.method_33(BookmarkStart.b("䐲༴嬶圸町䠼刾ᕀ㩂㕄≆", num), new object[] { flag?BookmarkStart.b("䐲༴吶嘸为匼䬾̀㩂", num) : BookmarkStart.b("䐲༴吶嘸为匼䬾汀⅂㱄", num), str17, BookmarkStart.b("䐲༴䐶䴸娺似䬾", num), str18, BookmarkStart.b("䐲༴匶倸䠺䤼帾⽀⁂⁄", num), str19, BookmarkStart.b("䐲༴䔶尸䠺䤼帾㍀㝂", num), str20 });
        class2.method_33(BookmarkStart.b("䐲༴䜶常町䠼刾ᕀ㩂㕄≆", num), new object[] { BookmarkStart.b("䐲༴儶吸伺", num), str21, BookmarkStart.b("䐲༴䐶䴸娺似䬾", num), str22, flag ? BookmarkStart.b("䐲༴吶儸娺䴼氾㕀㩂⥄≆", num) : BookmarkStart.b("䐲༴吶儸娺䴼ሾ㉀㝂㱄⭆ⱈ", num), str23, flag ? BookmarkStart.b("䐲༴吶儸娺䴼氾⑀㍂", num) : BookmarkStart.b("䐲༴吶儸娺䴼ሾ㉀♂㕄", num), str24 });
        if (class2.method_34(BookmarkStart.b("䐲༴吶嘸场丼", num), new object[] { BookmarkStart.b("䐲༴夶䰸嘺", num), str26, BookmarkStart.b("䐲༴䐶尸䬺", num), obj3, BookmarkStart.b("䐲༴䐶䤸娺帼娾", num), str25, BookmarkStart.b("䐲༴制䠸为尼匾ᙀ⩂⅄㍆ⅈ", num), obj2 }))
        {
            if (columns != null)
            {
                for (int j = 0; j < columns.Count; j++)
                {
                    class2.method_33(BookmarkStart.b("䐲༴吶嘸场", num), new object[] { BookmarkStart.b("䐲༴䀶", num), (columns[j].Width > 0f) ? ((object)(columns[j].Width * 20f)) : null, BookmarkStart.b("䐲༴䐶䤸娺帼娾", num), (columns[j].Space > 0f) ? ((object)(columns[j].Space * 20f)) : null });
                }
            }
            class2.method_5();
        }
        class2.method_22(BookmarkStart.b("䐲༴儶嘸䤺值漾㍀ⱂㅄ", num), obj7);
        class2.method_24(BookmarkStart.b("䐲༴䄶砸场吼堾⽀", num), str31);
        class2.method_22(BookmarkStart.b("䐲༴夶嘸縺匼嬾⽀ⱂㅄ≆", num), obj8);
        class2.method_22(BookmarkStart.b("䐲༴䌶倸伺儼娾ᅀ⑂", num), obj6);
        class2.method_22(flag ? BookmarkStart.b("䐲༴䌶尸䌺䤼笾⡀ㅂ⁄⑆㵈≊≌ⅎ", num) : BookmarkStart.b("䐲༴䌶尸䌺䤼社ⵀⱂ㉄", num), obj9);
        class2.method_22(BookmarkStart.b("䐲༴唶倸强吼", num), obj4);
        class2.method_22(BookmarkStart.b("䐲༴䔶䴸场稼䨾㕀㝂⁄㕆", num), obj5);
        class2.method_33(BookmarkStart.b("䐲༴匶嘸堺稼䴾⡀❂", num), new object[] { BookmarkStart.b("䐲༴䌶䀸䬺堼", num), str27, flag ? BookmarkStart.b("䐲༴嬶倸唺堼漾⡀㝂♄⽆", num) : BookmarkStart.b("䐲༴嬶倸唺堼ሾㅀ⩂ㅄ⑆ⅈ", num), str28, flag ? BookmarkStart.b("䐲༴吶儸娺似氾ㅀ≂♄≆", num) : BookmarkStart.b("䐲༴吶儸娺似ሾ㉀㍂⑄⑆ⱈ", num), str29 });
    }
Example #5
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);
    }