Ejemplo n.º 1
0
    private void method_72(Class340 A_0)
    {
        base.class345_0.method_5(SprmCode.CFELayout);
        base.class345_0.Write((byte)6);
        int num = 0;

        num  = 0 | (A_0.method_0() ? 1 : 0);
        num |= A_0.method_2() ? 2 : 0;
        num |= ((int)A_0.method_4()) << 8;
        num |= A_0.method_6() ? 0x1000 : 0;
        base.class345_0.Write((ushort)num);
        base.class345_0.Write(A_0.method_8());
    }
Ejemplo n.º 2
0
    private void method_5(IRunAttrSource A_0, AttrCollection A_1, bool A_2)
    {
        bool           flag;
        int            num        = 13;
        Paragraph      paragraph2 = (flag = (A_0 != null) && (A_0 is Paragraph)) ? ((Paragraph)A_0) : null;
        AttrCollection attrs      = this.method_6(A_0, A_1, A_2);

        for (int i = 0; i < attrs.Count; i++)
        {
            int    num2 = attrs.method_18(i);
            object obj2 = attrs.method_19(i);
            if (obj2 == null)
            {
                continue;
            }
            this.class743_0.int_0++;
            int num3 = num2;
            if (num3 <= 210)
            {
                if (num3 <= 120)
                {
                    if (num3 <= 80)
                    {
                        if (num3 <= 60)
                        {
                            if (num3 != 20)
                            {
                                if (num3 != 60)
                                {
                                    goto Label_085E;
                                }
                                this.class743_0.string_21 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("儲娴嬶崸", num), BookmarkStart.b("崲娴䔶吸娺儼", num));
                            }
                            else
                            {
                                this.class743_0.string_33 = Class576.smethod_74((Color)obj2, false);
                            }
                        }
                        else if (num3 != 70)
                        {
                            if (num3 != 80)
                            {
                                goto Label_085E;
                            }
                            this.class743_0.string_30 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("䀲娴嬶倸强", num), null);
                            if (this.class743_0.string_30 == null)
                            {
                                this.class743_0.string_30 = BookmarkStart.b("崲娴夶尸", num);
                            }
                        }
                        else
                        {
                            this.class743_0.string_25 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("娲䄴嘶唸刺帼", num), BookmarkStart.b("崲娴䔶吸娺儼", num));
                        }
                    }
                    else if (num3 <= 100)
                    {
                        if (num3 != 90)
                        {
                            if (num3 != 100)
                            {
                                goto Label_085E;
                            }
                            this.class743_0.string_35 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("Ȳ䔴䌶ᤸ਺䴼䬾", num), null);
                        }
                        else
                        {
                            this.class743_0.string_34 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("䜲䜴䈶尸", num), null);
                        }
                    }
                    else if (num3 != 110)
                    {
                        if (num3 != 120)
                        {
                            goto Label_085E;
                        }
                        this.class743_0.string_29 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("䘲䔴䜶尸䤺帼帾㉀♂", num), null);
                    }
                    else
                    {
                        this.class743_0.string_28 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("䀲場嘶唸场ြ尾⁀㍂㙄", num), null);
                    }
                }
                else if (num3 <= 160)
                {
                    if (num3 <= 140)
                    {
                        if (num3 != 130)
                        {
                            if (num3 != 140)
                            {
                                goto Label_085E;
                            }
                            UnderlineStyle style = (UnderlineStyle)obj2;
                            this.class743_0.string_15 = Class922.smethod_67(style);
                            this.class743_0.string_18 = Class922.smethod_66(style);
                            switch (style)
                            {
                            case UnderlineStyle.Double:
                            case UnderlineStyle.WavyDouble:
                                this.class743_0.string_16 = BookmarkStart.b("圲娴䈶嬸场堼", num);
                                break;
                            }
                            if (style == UnderlineStyle.Words)
                            {
                                this.class743_0.string_17 = BookmarkStart.b("䀲帴帶䤸ᘺ䨼圾⡀㝂⁄橆㩈㭊ⱌⱎ㑐", num);
                            }
                        }
                        else
                        {
                            this.class743_0.string_37 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("崲娴夶尸", num), BookmarkStart.b("䜲䜴䈶尸", num));
                        }
                    }
                    else if (num3 != 150)
                    {
                        if (num3 != 160)
                        {
                            goto Label_085E;
                        }
                        this.class743_0.string_20 = Class576.smethod_75((Color)obj2);
                    }
                    else
                    {
                        this.class743_0.string_40 = Class576.smethod_35(obj2);
                    }
                }
                else if (num3 <= 180)
                {
                    if (num3 != 170)
                    {
                        if (num3 != 180)
                        {
                            goto Label_085E;
                        }
                        this.class743_0.string_36 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("嘲嬴倶䬸娺䬼娾╀", num), null);
                    }
                    else
                    {
                        this.class743_0.string_36 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("嘲場唶嘸䠺丼娾╀", num), null);
                    }
                }
                else
                {
                    switch (num3)
                    {
                    case 190:
                    {
                        this.class743_0.string_3 = Class576.smethod_65(obj2);
                        continue;
                    }

                    case 200:
                    {
                        this.class743_0.string_32 = Class576.smethod_71(obj2, ((CharacterFormat)attrs).FontSize);
                        continue;
                    }
                    }
                    if (num3 != 210)
                    {
                        goto Label_085E;
                    }
                    this.class743_0.string_32 = Class922.smethod_74((SubSuperScript)obj2);
                }
                continue;
            }
            if (num3 <= 310)
            {
                if (num3 <= 250)
                {
                    if (num3 <= 230)
                    {
                        if (num3 != 220)
                        {
                            if (num3 != 230)
                            {
                                goto Label_085E;
                            }
                            this.class743_0.string_0 = (string)obj2;
                        }
                        else
                        {
                            this.class743_0.string_46 = BookmarkStart.b("䜲䜴䈶尸", num);
                            if (((float)obj2) == 0f)
                            {
                                this.class743_0.string_46 = BookmarkStart.b("唲吴嬶䨸帺", num);
                            }
                        }
                    }
                    else if (num3 != 0xeb)
                    {
                        if (num3 != 250)
                        {
                            goto Label_085E;
                        }
                        this.class743_0.string_23 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("儲娴嬶崸", num), BookmarkStart.b("崲娴䔶吸娺儼", num));
                    }
                    else
                    {
                        this.class743_0.string_2 = (string)obj2;
                    }
                }
                else if (num3 <= 270)
                {
                    if (num3 != 260)
                    {
                        if (num3 != 270)
                        {
                            goto Label_085E;
                        }
                        this.class743_0.string_1 = (string)obj2;
                    }
                    else
                    {
                        this.class743_0.string_27 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("娲䄴嘶唸刺帼", num), BookmarkStart.b("崲娴䔶吸娺儼", num));
                    }
                }
                else
                {
                    switch (num3)
                    {
                    case 290:
                    {
                        this.class743_0.string_39 = string.Format(BookmarkStart.b("䠲Դ䨶᰸", num), (short)obj2);
                        continue;
                    }

                    case 300:
                    {
                        this.class743_0.string_31 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("圲娴䈶嬸场堼", num), null);
                        if (this.class743_0.string_30 == null)
                        {
                            this.class743_0.string_30 = BookmarkStart.b("崲娴夶尸", num);
                        }
                        continue;
                    }
                    }
                    if (num3 != 310)
                    {
                        goto Label_085E;
                    }
                    if (((TextEffect)obj2) == TextEffect.None)
                    {
                        this.class743_0.int_0--;
                    }
                    else
                    {
                        this.class743_0.string_38 = BookmarkStart.b("䜲䜴䈶尸", num);
                    }
                }
                continue;
            }
            if (num3 <= 380)
            {
                if (num3 <= 350)
                {
                    if (num3 != 340)
                    {
                        if (num3 != 350)
                        {
                            goto Label_085E;
                        }
                        this.class743_0.string_5 = Class576.smethod_65(((CharacterFormat)attrs).FontSize);
                        this.class743_0.string_4 = Class576.smethod_65(obj2);
                    }
                    else
                    {
                        this.class743_0.string_11 = Class922.smethod_80(int.Parse(obj2.ToString()));
                        if (this.class743_0.string_11 == BookmarkStart.b("崲娴夶尸", num))
                        {
                            this.class743_0.int_0--;
                        }
                    }
                }
                else if (num3 != 370)
                {
                    if (num3 != 380)
                    {
                        goto Label_085E;
                    }
                    this.class743_0.string_9 = Class922.smethod_80((short)obj2);
                    if (this.class743_0.string_9 == BookmarkStart.b("崲娴夶尸", num))
                    {
                        this.class743_0.int_0--;
                    }
                }
                else
                {
                    this.class743_0.string_33 = Class576.smethod_83((Class16)obj2);
                }
                continue;
            }
            if (num3 <= 450)
            {
                if (num3 != 390)
                {
                    if (num3 != 450)
                    {
                        goto Label_085E;
                    }
                    this.class743_0.string_19 = Class576.smethod_74((Color)obj2, false);
                }
                else
                {
                    this.class743_0.string_10 = Class922.smethod_80((short)obj2);
                    if (this.class743_0.string_10 == BookmarkStart.b("崲娴夶尸", num))
                    {
                        this.class743_0.int_0--;
                    }
                }
                continue;
            }
            switch (num3)
            {
            case 770:
            {
                this.class743_0.string_47 = this.method_10((Emphasis)obj2);
                continue;
            }

            case 780:
            {
                Class340 class2 = (Class340)obj2;
                if (class2.method_6())
                {
                    this.class743_0.string_45 = BookmarkStart.b("弲尴夶尸ᘺ唼娾⡀⑂ⵄ㍆", num);
                }
                if (class2.method_0())
                {
                    this.class743_0.string_24 = BookmarkStart.b("ਲԴ", num);
                }
                continue;
            }

            case 0x271a:
            {
                this.class743_0.class580_0 = (Class580)obj2;
                continue;
            }
            }
Label_085E:
            this.class743_0.int_0--;
        }
        this.class743_0.string_6  = Class922.smethod_82(this.class743_0.string_9);
        this.class743_0.string_12 = Class922.smethod_83(this.class743_0.string_9);
        this.class743_0.string_7  = Class922.smethod_82(this.class743_0.string_10);
        this.class743_0.string_13 = Class922.smethod_83(this.class743_0.string_10);
        this.class743_0.string_8  = Class922.smethod_82(this.class743_0.string_11);
        this.class743_0.string_14 = Class922.smethod_83(this.class743_0.string_11);
        if (!flag && (A_0 is DocumentObject))
        {
            DocumentObject obj4 = (DocumentObject)A_0;
            if (obj4.ParentObject is Paragraph)
            {
                Paragraph parentObject = (Paragraph)obj4.ParentObject;
                object    obj5         = null;
                if (parentObject.IsInCell || (parentObject.IsInCell && (((TableCell)parentObject.OwnerTextBody).Paragraphs[0] == parentObject)))
                {
                    obj5 = ((TableCell)parentObject.OwnerTextBody).CellFormat.method_31(0xbea);
                }
                if (obj5 != null)
                {
                    this.class743_0.string_24 = Class922.smethod_69((TextOrientation)obj5);
                    if (this.class743_0.string_24 != null)
                    {
                        this.class743_0.int_0++;
                    }
                }
            }
        }
        if (paragraph2 != null)
        {
            object obj3 = paragraph2.Format.method_31(0x582);
            if ((obj3 != null) && ((bool)obj3))
            {
                this.class743_0.string_42 = BookmarkStart.b("唲吴嬶䨸帺", num);
                this.class743_0.string_43 = BookmarkStart.b("IJ", num);
                this.class743_0.string_44 = BookmarkStart.b("IJ", num);
                this.class743_0.int_0++;
            }
            else if (!((bool)obj3))
            {
                this.class743_0.string_42 = BookmarkStart.b("䜲䜴䈶尸", num);
                this.class743_0.int_0++;
            }
        }
        if (A_2)
        {
            this.class743_0.string_41 = BookmarkStart.b("䜲䜴䈶尸", num);
            this.class743_0.int_0++;
        }
    }
Ejemplo n.º 3
0
    private static void smethod_4(Class398 A_0, Class340 A_1, bool A_2)
    {
        int num = 4;

        A_0.method_33(A_2 ? BookmarkStart.b("崩ᘫ䬭儯䄱䀳眵䬷匹崻倽ి⍁㵃⥅㵇㹉", num) : BookmarkStart.b("崩ᘫ伭䌯嬱唳堵琷嬹䔻儽㔿㙁", num), new object[] { BookmarkStart.b("崩ᘫ䜭启", num), A_1.method_8(), BookmarkStart.b("崩ᘫ堭唯䀱䀳", num), A_1.method_0(), A_2 ? BookmarkStart.b("崩ᘫ堭唯䀱䀳电圷圹䰻䰽┿ㅁ㝃", num) : BookmarkStart.b("崩ᘫ堭唯䀱䀳ᬵ嬷唹儻丽㈿❁㝃㕅", num), A_1.method_6(), BookmarkStart.b("崩ᘫ䴭弯弱嘳張嘷弹", num), A_1.method_2(), A_2 ? BookmarkStart.b("崩ᘫ䴭弯弱嘳張嘷弹縻䰽ℿ⅁⽃⍅㱇㥉", num) : BookmarkStart.b("崩ᘫ䴭弯弱嘳張嘷弹ᄻ尽㈿⍁❃ⵅⵇ㹉㽋", num), Class860.smethod_6(A_1.method_4()) });
    }