Beispiel #1
0
    private static void smethod_2(Class857 A_0, DocumentObject A_1, Class101 A_2)
    {
        int      num    = 6;
        Class396 class2 = A_0.method_11();
        int      num2   = 1;

        while (class2.method_19())
        {
            string str;
            if (((str = class2.method_1()) != null) && (str == BookmarkStart.b("弫娭儯䀱䀳ᬵ丷嬹倻䬽┿", num)))
            {
                if (A_2 != null)
                {
                    A_2.method_21().Levels[A_0.method_24()].StartAt = class2.method_4();
                }
                num2 = class2.method_4();
            }
        }
        if (A_2.method_27() != null)
        {
            string              str2   = A_2.method_27();
            Class12             class3 = A_0.method_9().ListOverrides.method_35(str2);
            OverrideLevelFormat format = new OverrideLevelFormat(A_0.method_9());
            class3.method_23().method_9(A_0.method_24(), format);
            format.OverrideStartAtValue = true;
            format.OverrideListLevel    = A_0.method_9().ListStyles.FindByName(A_2.method_0()).Levels[A_0.method_24()];
            class3.method_23().method_5(A_0.method_24()).StartAt = num2;
        }
        smethod_3(A_0, A_1, BookmarkStart.b("䀫䜭䌯䘱ᤳ張䰷弹儻", num), A_2);
    }
Beispiel #2
0
    internal static void smethod_0(Class857 A_0, DocumentObject A_1, Class101 A_2)
    {
        int      num    = 6;
        Class396 class2 = A_0.method_11();
        int      num2   = smethod_1(A_0);

        if (A_0.method_24() == -1)
        {
            switch (num2)
            {
            case 1:
                A_0.method_43(true);
                break;

            case 0:
                A_0.method_43(false);
                break;
            }
        }
        else
        {
            A_0.method_43(true);
        }
        A_0.method_25(A_0.method_24() + 1);
        string   str2     = A_0.method_16();
        Document document = A_0.method_9();

        if ((A_2 == null) || ((str2 != null) && (str2 != A_2.method_0())))
        {
            A_2 = A_0.method_13().method_3(str2, null, A_0.method_20()) as Class101;
            A_2.method_21().Name = str2;
            if (document.ListStyles.FindByName(str2) == null)
            {
                document.ListStyles.Add(A_2.method_21());
            }
            else if (num2 != 1)
            {
                Class12 class3 = null;
                string  str3   = BookmarkStart.b("怫䠭弯愱䀳伵吷弹挻", num) + Guid.NewGuid();
                if (document.ListOverrides.method_35(str3) == null)
                {
                    int count = document.ListOverrides.Count;
                    class3 = new Class12(document, count + 1)
                    {
                        Name = str3
                    };
                    document.ListOverrides.method_34(class3);
                    A_2.method_28(str3);
                }
            }
        }
        while (class2.method_9(BookmarkStart.b("䀫䜭䌯䘱", num)))
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (!(str == BookmarkStart.b("䀫䜭䌯䘱ᤳ帵崷嬹堻嬽㈿", num)))
                {
                    if (!(str == BookmarkStart.b("䀫䜭䌯䘱ᤳ張䰷弹儻", num)))
                    {
                        goto Label_018A;
                    }
                    smethod_2(A_0, A_1, A_2);
                }
                else
                {
                    smethod_3(A_0, A_1, BookmarkStart.b("䀫䜭䌯䘱ᤳ帵崷嬹堻嬽㈿", num), A_2);
                }
                goto Label_0190;
            }
Label_018A:
            class2.vmethod_1();
Label_0190:
            A_0.method_43(true);
        }
        A_0.method_25(A_0.method_24() - 1);
        if (A_0.method_24() == -1)
        {
            A_0.method_43(false);
        }
    }
Beispiel #3
0
        public void method_1(Class82 class820, Class101[] class1011)
        {
            var flag = false;

            while (true)
            {
                var num = class820.method_9(_byte0);
                _int14 = num;
                if (_byte0 == Class82.Byte1)
                {
                    _enum30 = (Enum3)(num >> 19 & 1);
                    if ((num >> 20 & 1) == 0)
                    {
                        if (_enum30 != Enum3.Const0)
                        {
                            goto IL_1EE;
                        }
                        _enum30 = Enum3.Const2;
                    }
                    if ((_int6 = (num >> 10 & 3)) == 3)
                    {
                        goto Block_20;
                    }
                }
                _int1   = (4 - (num >> 17) & 3);
                _int2   = (num >> 16 & 1);
                _int3   = (num >> 12 & 15);
                _int4   = (num >> 9 & 1);
                _enum50 = (Enum5)(num >> 6 & 3);
                _int5   = (num >> 4 & 3);
                if (_enum50 == Enum5.Const1)
                {
                    _int8 = (_int5 << 2) + 4;
                }
                else
                {
                    _int8 = 0;
                }
                if ((num >> 3 & 1) == 1)
                {
                    _bool0 = true;
                }
                if ((num >> 2 & 1) == 1)
                {
                    _bool1 = true;
                }
                if (_int1 == 1)
                {
                    _int7 = 32;
                }
                else
                {
                    var num2 = _int3;
                    if (_enum50 != Enum5.Const3)
                    {
                        if (num2 == 4)
                        {
                            num2 = 1;
                        }
                        else
                        {
                            num2 -= 4;
                        }
                    }
                    if (num2 != 1)
                    {
                        if (num2 != 2)
                        {
                            if (_int6 != 1 && (num2 < 3 || num2 > 5))
                            {
                                _int7 = 30;
                                goto IL_102;
                            }
                            _int7 = 27;
                            goto IL_102;
                        }
                    }
                    _int7 = ((_int6 == 2) ? 12 : 8);
                }
IL_102:
                if (_int8 > _int7)
                {
                    _int8 = _int7;
                }
                method_15();
                var num3 = class820.method_11(Int12);
                if (Int12 >= 0 && num3 != Int12)
                {
                    break;
                }
                if (class820.method_8(_byte0))
                {
                    if (_byte0 == Class82.Byte1)
                    {
                        _byte0 = Class82.Byte2;
                        class820.method_14(num & -521024);
                    }
                    flag = true;
                }
                else
                {
                    class820.method_6();
                }
                if (flag)
                {
                    goto Block_17;
                }
            }
            throw new BitstreamException(BitstreamError.InvalidFrame);
Block_17:
            class820.method_12();
            if (_int2 == 0)
            {
                Short0 = (short)class820.method_13(16);
                if (_class1010 == null)
                {
                    _class1010 = new Class101();
                }
                var num = 0;
                _class1010.method_0(num, 16);
                class1011[0] = _class1010;
            }
            else
            {
                class1011[0] = null;
            }
            return;

Block_20:
            throw new BitstreamException(BitstreamError.UnknownError);
IL_1EE:
            throw new BitstreamException(BitstreamError.UnknownError);
        }