Esempio n. 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);
    }
Esempio n. 2
0
    internal Class1054(RowFormat A_0, bool A_1, Interface52 A_2)
    {
        int num4 = 5;

        this.bool_1 = true;
        this.bool_4 = true;
        this.bool_6 = A_2.imethod_2();
        for (int i = 0; i < A_0.Count; i++)
        {
            int    num2 = A_0.method_18(i);
            object obj2 = A_0.method_19(i);
            int    num3 = num2;
            if (num3 <= 0x10a4)
            {
                if (num3 <= 0x100e)
                {
                    if (num3 <= 0xfa5)
                    {
                        switch (num3)
                        {
                        case 1:
                            if (!(obj2 as Borders).IsDefault)
                            {
                                this.border_4 = (obj2 as Borders).Top;
                                this.border_2 = (obj2 as Borders).Left;
                                this.border_0 = (obj2 as Borders).Bottom;
                                this.border_3 = (obj2 as Borders).Right;
                                this.border_1 = (obj2 as Borders).Horizontal;
                                this.border_5 = (obj2 as Borders).Vertical;
                                this.int_1   += 6;
                            }
                            break;

                        case 3:
                            this.string_18 = A_2.imethod_1().method_23((obj2 as Paddings).Bottom, 20f).ToString();
                            this.string_17 = A_2.imethod_1().method_23((obj2 as Paddings).Left, 20f).ToString();
                            this.string_16 = A_2.imethod_1().method_23((obj2 as Paddings).Top, 20f).ToString();
                            this.string_19 = A_2.imethod_1().method_23((obj2 as Paddings).Right, 20f).ToString();
                            this.int_1    += 4;
                            break;

                        case 0x77:
                            this.bool_0 = (bool)obj2;
                            break;

                        case 120:
                        {
                            this.bool_0 = true;
                            RowFormat.TablePositioning positioning = obj2 as RowFormat.TablePositioning;
                            this.string_3  = (positioning.DistanceFromTop != 0f) ? A_2.imethod_1().method_23(positioning.DistanceFromTop, 20f).ToString() : null;
                            this.string_4  = (positioning.DistanceFromLeft != 9f) ? A_2.imethod_1().method_23(positioning.DistanceFromLeft, 20f).ToString() : null;
                            this.string_5  = (positioning.DistanceFromBottom != 0f) ? A_2.imethod_1().method_23(positioning.DistanceFromBottom, 20f).ToString() : null;
                            this.string_6  = (positioning.DistanceFromRight != 9f) ? A_2.imethod_1().method_23(positioning.DistanceFromRight, 20f).ToString() : null;
                            this.string_8  = Class417.smethod_16(Class417.smethod_21(positioning.HorizRelationTo));
                            this.string_7  = Class417.smethod_14((VerticalOrigin)positioning.VertRelationTo);
                            this.string_9  = (positioning.HorizPositionAbs != HorizontalPosition.Left) ? Class417.smethod_18(positioning.HorizPositionAbs) : null;
                            this.string_11 = (positioning.VertPositionAbs != VerticalPosition.None) ? Class417.smethod_23(positioning.VertPositionAbs) : null;
                            this.string_10 = A_2.imethod_1().method_23(positioning.HorizPositionEx, 20f).ToString();
                            this.string_12 = A_2.imethod_1().method_23(positioning.VertPositionEx, 20f).ToString();
                            this.bool_1    = positioning.TableOverlap;
                            break;
                        }

                        case 0xfa5:
                            if (obj2 != null)
                            {
                                Style style = A_2.imethod_0().Styles.method_13((int)obj2, false);
                                if (A_2.imethod_2())
                                {
                                    this.string_0 = style.StyleId;
                                }
                                else
                                {
                                    this.string_0 = A_2.imethod_4(style.Istd);
                                }
                            }
                            break;
                        }
                    }
                    else
                    {
                        switch (num3)
                        {
                        case 0xfaa:
                        {
                            this.string_13 = Class859.smethod_1((RowAlignment)obj2);
                            this.int_0++;
                            this.int_1++;
                            continue;
                        }

                        case 0xfc8:
                        {
                            if ((bool)obj2)
                            {
                                this.bool_3 = (bool)obj2;
                                this.int_0++;
                            }
                            continue;
                        }
                        }
                        if (num3 == 0x100e)
                        {
                            TableRowHeightType type = (TableRowHeightType)obj2;
                            if (type != TableRowHeightType.AtLeast)
                            {
                                this.string_22 = Class859.smethod_3(type, this.bool_6);
                                this.int_0++;
                            }
                            if ((this.bool_6 && (type == TableRowHeightType.Auto)) && (this.string_21 == null))
                            {
                                this.string_21 = BookmarkStart.b("ᬪ", num4);
                            }
                        }
                    }
                }
                else if (num3 <= 0x1086)
                {
                    switch (num3)
                    {
                    case 0x1018:
                    {
                        this.string_21 = Class1041.smethod_8((int)A_2.imethod_1().method_23(obj2, 20f));
                        this.int_0++;
                        continue;
                    }

                    case 0x102c:
                    {
                        this.string_20 = Class1041.smethod_41(Class531.smethod_1((TableStyleOptions)obj2));
                        this.int_1++;
                        continue;
                    }
                    }
                    if (num3 == 0x1086)
                    {
                        this.class15_0 = (Class15)obj2;
                        if (this.bool_6)
                        {
                            this.int_1++;
                        }
                    }
                }
                else
                {
                    switch (num3)
                    {
                    case 0x1090:
                    {
                        if (!A_1)
                        {
                            this.object_0 = ((LayoutType)obj2) == LayoutType.AutoFit;
                            this.int_1++;
                        }
                        continue;
                    }

                    case 0x109a:
                    {
                        this.int_3 = (int)Math.Round((double)(obj2 as Class15).method_49());
                        if (this.int_3 > 0)
                        {
                            this.int_0++;
                        }
                        continue;
                    }
                    }
                    if (num3 == 0x10a4)
                    {
                        this.int_5 = (int)(obj2 as Class15).method_49();
                        if (this.int_5 > 0)
                        {
                            this.int_0++;
                        }
                    }
                }
            }
            else if (num3 <= 0x1130)
            {
                if (num3 <= 0x10f4)
                {
                    switch (num3)
                    {
                    case 0x10c2:
                    {
                        this.string_14 = A_2.imethod_1().method_23(obj2, 20f).ToString();
                        this.int_0++;
                        this.int_1++;
                        continue;
                    }

                    case 0x10ea:
                    {
                        this.class16_0 = (Class16)obj2;
                        this.int_1++;
                        continue;
                    }
                    }
                    if (num3 == 0x10f4)
                    {
                        this.string_15 = A_2.imethod_1().method_23(obj2, 20f).ToString();
                        this.int_1++;
                    }
                }
                else
                {
                    switch (num3)
                    {
                    case 0x1108:
                    {
                        if (!((bool)obj2))
                        {
                            this.bool_4 = (bool)obj2;
                            this.int_0++;
                        }
                        continue;
                    }

                    case 0x111c:
                    {
                        this.bool_2 = (bool)obj2;
                        continue;
                    }
                    }
                    if (num3 == 0x1130)
                    {
                        this.string_25 = Class114.smethod_5((int)obj2);
                    }
                }
            }
            else if (num3 <= 0x11a8)
            {
                switch (num3)
                {
                case 0x1194:
                {
                    this.string_1 = Class1041.smethod_9((long)obj2);
                    continue;
                }

                case 0x119e:
                {
                    this.string_2 = Class1041.smethod_9((long)obj2);
                    continue;
                }
                }
                if ((num3 == 0x11a8) && A_2.imethod_2())
                {
                    this.bool_5 = true;
                    this.int_0++;
                }
            }
            else
            {
                switch (num3)
                {
                case 0x13f0:
                    this.int_2 = (int)obj2;
                    this.int_0++;
                    break;

                case 0x13f1:
                    this.int_4 = (int)obj2;
                    this.int_0++;
                    break;

                case 0x1392:
                    this.string_24 = (string)obj2;
                    break;

                case 0x1388:
                    this.string_23 = (string)obj2;
                    break;
                }
            }
        }
        if (!A_1)
        {
            if (this.object_0 == null)
            {
                this.object_0 = A_0.LayoutType == LayoutType.AutoFit;
                this.int_1++;
            }
            if ((bool)this.object_0)
            {
                this.int_1--;
            }
        }
        if ((A_0.OwnerBase is Table) && ((A_0.OwnerBase as Table).TableStyle != null))
        {
            if (this.bool_6)
            {
                this.string_0 = (A_0.OwnerBase as Table).TableStyle.StyleId;
            }
            else
            {
                this.string_0 = A_2.imethod_5((A_0.OwnerBase as Table).TableStyle.StyleId);
            }
        }
    }