Exemplo n.º 1
0
 internal void method_1(IRunAttrSource A_0, CharacterFormat A_1, bool A_2)
 {
     this.method_4(A_0, A_1, A_2);
     if (this.class743_0.int_0 > 0)
     {
         this.method_2(A_2);
     }
 }
Exemplo n.º 2
0
 private void method_7(IRunAttrSource A_0)
 {
     if (Class422.smethod_0(A_0, false))
     {
         this.class743_0.string_3 = this.method_8(this.class743_0.string_3);
         this.class743_0.string_5 = this.method_8(this.class743_0.string_5);
         this.class743_0.string_4 = this.class743_0.string_5;
     }
 }
Exemplo n.º 3
0
    internal static void smethod_2(CharacterFormat A_0, IRunAttrSource A_1, Interface52 A_2)
    {
        int num = 2;

        if (smethod_3(A_0, A_1, false, false, false, A_2, false))
        {
            A_2.imethod_1().method_6(BookmarkStart.b("弧ဩ師縭䈯", num));
        }
    }
Exemplo n.º 4
0
    internal bool method_4(CharacterFormat A_0, IRunAttrSource A_1, bool A_2)
    {
        int num = 8;

        this.bool_2 = A_0.HasInsertRevision;
        this.bool_3 = A_0.HasDeleteRevision;
        this.class399_0.method_4(this.class399_0.method_57() ? BookmarkStart.b("䌭ਯ䀱", num) : BookmarkStart.b("夭ਯ䀱", num));
        return(Class418.smethod_0(A_0, A_1, A_2, this.class421_0));
    }
Exemplo n.º 5
0
 private bool method_4(IRunAttrSource A_0, AttrCollection A_1, bool A_2)
 {
     this.class743_0 = new Class743();
     this.method_5(A_0, A_1, A_2);
     if (this.class743_0.class580_0 != null)
     {
         this.method_5(A_0, this.class743_0.class580_0.method_4(), A_2);
     }
     return(this.class743_0.int_0 > 0);
 }
Exemplo n.º 6
0
    private static string smethod_2(IRunAttrSource A_0)
    {
        Style style = smethod_1(A_0);

        if (style != null)
        {
            if (!(A_0 is Style))
            {
                return(Class922.smethod_77(style));
            }
            Style baseStyle = style.BaseStyle as Style;
            if (baseStyle != null)
            {
                return(Class922.smethod_77(baseStyle));
            }
        }
        return(null);
    }
Exemplo n.º 7
0
    private AttrCollection method_6(IRunAttrSource A_0, AttrCollection A_1, bool A_2)
    {
        AttrCollection attrs = A_1;

        if (Class422.smethod_0(A_0, A_2))
        {
            attrs = new CharacterFormat(this.class422_0.method_15());
            for (int i = attrs.Count - 1; i >= 0; i--)
            {
                if (smethod_0(attrs.method_18(i)))
                {
                    attrs.method_11(i);
                }
            }
            A_1.method_37(attrs);
        }
        return(attrs);
    }
Exemplo n.º 8
0
    internal Class650 method_5(IRunAttrSource A_0, int A_1)
    {
        int num = 0;

        switch (this.int_4)
        {
        case 0:
        case 1:
            return(this);

        case 0x80:
            return((Class650)A_0.FetchInheritedRunAttr(A_1));

        case 0x81:
            return(((Class650)A_0.FetchInheritedRunAttr(A_1)).method_2());
        }
        throw new InvalidOperationException(BookmarkStart.b("猥䘧䄩䈫䄭䜯就ᐳ琵圷唹倻笽㠿扁㉃❅⑇㽉⥋恍", num));
    }
Exemplo n.º 9
0
    private static Style smethod_1(IRunAttrSource A_0)
    {
        if (A_0 is Style)
        {
            return((Style)A_0);
        }
        if (A_0 is Paragraph)
        {
            return(((Paragraph)A_0).ParaStyle);
        }
        if (A_0 is Footnote)
        {
            return(((Footnote)A_0).OwnerParagraph.ParaStyle);
        }
        if (!(A_0 is ShapeObject) && !(A_0 is ShapeGroup))
        {
            ParagraphBase base2     = (ParagraphBase)A_0;
            Style         charStyle = base2.CharacterFormat.CharStyle;
            if ((charStyle != null) && (charStyle.StyleIdentifier != StyleIdentifier.DefaultParagraphFont))
            {
                return(charStyle);
            }
            return(null);
        }
        Paragraph parentObject = ((ShapeBase)A_0).ParentObject as Paragraph;

        if (((ShapeBase)A_0).ParentObject is ShapeGroup)
        {
            parentObject = (((ShapeBase)A_0).ParentObject as ShapeGroup).ParentParagraph;
        }
        if (parentObject == null)
        {
            return(null);
        }
        return(parentObject.ParaStyle);
    }
Exemplo n.º 10
0
    internal static bool smethod_0(CharacterFormat A_0, IRunAttrSource A_1, bool A_2, Interface52 A_3)
    {
        int      num    = 2;
        Class398 class2 = A_3.imethod_1();

        if ((A_0.FormatRevision != null) && A_0.IsChangedFormat)
        {
            smethod_3(A_0, A_1, true, A_2, true, A_3, false);
            class2.vmethod_5(A_0.FormatRevision, BookmarkStart.b("弧ဩ師縭䈯焱尳圵嘷崹夻", num), A_3.imethod_6());
            if (smethod_3(A_0.FormatRevision.method_4() as CharacterFormat, A_1, true, false, false, A_3, true))
            {
                class2.method_6(BookmarkStart.b("弧ဩ師縭䈯", num));
            }
            class2.vmethod_8();
            class2.method_6(BookmarkStart.b("弧ဩ師縭䈯", num));
            return(true);
        }
        if (smethod_3(A_0, A_1, true, A_2, false, A_3, false))
        {
            class2.method_6(BookmarkStart.b("弧ဩ師縭䈯", num));
            return(true);
        }
        return(false);
    }
Exemplo n.º 11
0
    internal object method_6(IRunAttrSource A_0, int A_1)
    {
        int num = 0x13;

        switch (this.int_4)
        {
        case 0:
            return(false);

        case 1:
            return(true);

        case 0x80:
            return(null);

        case 0x81:
            if (A_0 == null)
            {
                return(null);
            }
            return(((Class650)A_0.FetchInheritedRunAttr(A_1)).method_2().method_1());
        }
        throw new InvalidOperationException(BookmarkStart.b("永唺嘼儾⹀㑂⭄杆ୈ⑊≌⍎ᑐ⭒畔⅖㡘㝚⡜㩞你", num));
    }
Exemplo n.º 12
0
 internal void method_0(IRunAttrSource A_0, CharacterFormat A_1)
 {
     this.method_1(A_0, A_1, false);
 }
Exemplo n.º 13
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++;
        }
    }
Exemplo n.º 14
0
 internal bool method_3(IRunAttrSource A_0, CharacterFormat A_1)
 {
     return(this.method_4(A_0, A_1, false));
 }
Exemplo n.º 15
0
 private static object smethod_5(object A_0, IRunAttrSource A_1, int A_2)
 {
     return(Class650.smethod_0((bool)A_0).method_6(A_1, A_2));
 }
Exemplo n.º 16
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);
    }