Ejemplo n.º 1
0
    internal static void smethod_0(Class857 A_0, Class106 A_1)
    {
        int      num    = 9;
        Class396 class2 = A_0.method_11();

        while (class2.method_19())
        {
            string str;
            if (!Class857.smethod_9(class2, A_1.method_18()) && ((str = class2.method_1()) != null))
            {
                if (str != BookmarkStart.b("丮崰娲刴夶", num))
                {
                    if (!(str == BookmarkStart.b("堮堰圲䄴弶", num)))
                    {
                        if (str == BookmarkStart.b("堮䌰娲䄴帶圸尺ြ刾⹀❂⁄", num))
                        {
                            A_1.method_13(class2.method_3());
                        }
                    }
                    else
                    {
                        A_1.method_17(Class576.smethod_36(class2.method_3()));
                    }
                }
                else
                {
                    A_1.method_15(Class922.smethod_49(class2.method_3()));
                }
            }
        }
    }
Ejemplo n.º 2
0
    private void method_9(Interface46 A_0, ParagraphFormat A_1, HorizontalAlignment A_2, bool A_3)
    {
        int               num        = 5;
        TextOrientation   horizontal = TextOrientation.Horizontal;
        VerticalAlignment top        = VerticalAlignment.Top;

        if (A_0 is Paragraph)
        {
            Paragraph paragraph = (Paragraph)A_0;
            if (paragraph.IsInCell)
            {
                horizontal = (TextOrientation)((TableCell)paragraph.OwnerTextBody).CellFormat.method_32(0xbea);
                top        = ((TableCell)paragraph.OwnerTextBody).CellFormat.VerticalAlignment;
            }
        }
        string str = Class922.smethod_11(A_3, A_2, horizontal, top);

        if (Class567.smethod_16(str))
        {
            this.class972_0.string_2 = str;
        }
        if ((A_1 != null) && (A_2 == HorizontalAlignment.Distribute))
        {
            this.class972_0.string_3 = BookmarkStart.b("䄪堬尮䔰娲匴丶", num);
        }
        if (!Class567.smethod_16(this.class972_0.string_2) && A_3)
        {
            this.class972_0.int_0--;
        }
        if (Class567.smethod_16(this.class972_0.string_2) && !A_3)
        {
            this.class972_0.int_0++;
        }
        this.method_10(A_0);
    }
Ejemplo n.º 3
0
    internal static Class472 smethod_0(Class472 A_0, string A_1)
    {
        int num = 9;

        if (A_0 == null)
        {
            A_0 = new Class472();
        }
        if (A_1 == BookmarkStart.b("䄮帰崲倴", num))
        {
            A_0.method_3(BorderStyle.None);
            return(A_0);
        }
        string[] strArray = A_1.Split(new char[] { ' ' });
        for (int i = 0; i < strArray.Length; i++)
        {
            string str = strArray[i].Trim();
            if (!str.StartsWith(BookmarkStart.b("మ", num)) && (str != BookmarkStart.b("嬮䌰刲嬴䐶䤸娺似娾⽀㝂", num)))
            {
                if (Class576.smethod_38(str))
                {
                    A_0.method_1(Class576.smethod_41(str));
                }
                else if (A_0.method_2() == BorderStyle.None)
                {
                    A_0.method_3(Class922.smethod_35(str));
                }
            }
            else
            {
                A_0.method_5(Class576.smethod_76(str));
            }
        }
        return(A_0);
    }
Ejemplo n.º 4
0
    private void method_1(ShapeObject A_0)
    {
        int num = 0x11;

        this.class400_0.method_40(BookmarkStart.b("匶䬸娺䨼Ծ㕀㩂㕄≆", 0x11), BookmarkStart.b("夶嘸唺ြ伾㍀⩂⡄⹆㵈≊㭌⩎", 0x11));
        object obj2 = A_0.ShapePr.method_31(0xf1);

        if ((obj2 != null) && ((bool)obj2))
        {
            this.class400_0.method_40(BookmarkStart.b("匶䬸娺䨼Ծ㕀♂㵄㍆摈㭊ⱌ㭎㥐", num), BookmarkStart.b("䌶䬸为堼", num));
        }
        this.method_11(A_0);
        this.method_12(A_0);
        this.method_13(A_0);
        this.method_10(A_0);
        if ((A_0.FlipOrientation == FlipOrientation.Horizontal) || (A_0.FlipOrientation == FlipOrientation.Both))
        {
            this.class400_0.method_40(BookmarkStart.b("匶䬸娺䨼Ծⱀ⩂㝄㕆♈㥊恌❎㹐⅒㱔ⵖ㙘㕚⥜㹞ൠ", num), BookmarkStart.b("䌶䬸为堼", num));
        }
        if ((A_0.FlipOrientation == FlipOrientation.Vertical) || (A_0.FlipOrientation == FlipOrientation.Both))
        {
            this.class400_0.method_40(BookmarkStart.b("匶䬸娺䨼Ծⱀ⩂㝄㕆♈㥊恌㥎㑐⅒⅔㹖㩘㩚ㅜ", num), BookmarkStart.b("䌶䬸为堼", num));
        }
        this.method_4(A_0.ShapePr);
        object obj3 = A_0.ShapePr.method_31(0x158);

        if (obj3 != null)
        {
            this.class400_0.method_40(BookmarkStart.b("匶䬸娺䨼Ծ♀⽂い≆摈㭊≌♎㽐❒硔⍖⁘⭚㡜", num), Class922.smethod_3((ConnectionSiteType)obj3));
        }
        this.method_2(A_0.GetShapeAttribute(0x151));
        this.method_3(A_0.GetShapeAttribute(0x152));
    }
Ejemplo n.º 5
0
    private void method_5(ShapeBase A_0)
    {
        Class43 shapePr = A_0.ShapePr;

        for (int i = 0; i < shapePr.Count; i++)
        {
            int    num2 = shapePr.method_18(i);
            object obj2 = shapePr.method_19(i);
            if (obj2 != null)
            {
                switch (num2)
                {
                case 0x1ce:
                {
                    LineDashing dashing = (LineDashing)obj2;
                    Class109    class3  = Class922.smethod_13(A_0, this.class422_0.method_81().method_8());
                    if (((dashing != LineDashing.Solid) && (dashing != LineDashing.Solid)) && (this.class422_0.method_81().method_2(class3.method_0(), null, false, false) == null))
                    {
                        this.class422_0.method_81().method_1(class3, false, false);
                    }
                    break;
                }

                case 0x1d0:
                    this.class422_0.method_12(shapePr, (ArrowType)obj2, true);
                    break;

                case 0x1d1:
                    this.class422_0.method_12(shapePr, (ArrowType)obj2, false);
                    break;
                }
            }
        }
    }
Ejemplo n.º 6
0
 private void method_9(string A_0, StyleIdentifier A_1)
 {
     if (this.class422_0.method_15().Styles.InnerList.Contains(A_1))
     {
         this.class400_0.method_40(A_0, Class922.smethod_77((Style)this.class422_0.method_15().Styles[(int)A_1]));
     }
 }
Ejemplo n.º 7
0
 private void method_3(string A_0)
 {
     for (int i = 0; i < A_0.Length; i++)
     {
         char ch = A_0[i];
         if (Class922.smethod_5(ch) != PathType.Unknown)
         {
             this.method_4();
             this.arrayList_0.Add(ch);
         }
         else if ((!char.IsDigit(ch) && (ch != '-')) && !char.IsLetter(ch))
         {
             this.method_4();
         }
         else
         {
             if (ch == '-')
             {
                 this.method_4();
             }
             this.stringBuilder_0.Append(ch);
         }
     }
     this.method_4();
 }
Ejemplo n.º 8
0
    internal VisitorAction method_0(Table A_0)
    {
        int num = 6;

        if (this.class422_0.method_23() != OpenDocumentWritingStage.MathML)
        {
            Class400 class2 = this.class422_0.method_18();
            if (!A_0.HasChildElements)
            {
                this.class422_0.method_11(A_0, null);
                return(VisitorAction.SkipThisElement);
            }
            this.stack_1.Push(new Class981(A_0, true, false, false));
            if (this.method_12(A_0))
            {
                return(VisitorAction.Continue);
            }
            this.method_13().method_0();
            int[]  numArray = this.method_13().method_6();
            string str      = Class576.smethod_42((double)(((float)this.method_13().method_8().PreferredWidth.Value) / 20f));
            if (this.class422_0.method_21())
            {
                this.class974_0.method_12(this.method_6(), BookmarkStart.b("堫伭刯帱儳", num));
                this.class974_0.method_7(false, true);
                class2.method_4(BookmarkStart.b("弫娭䤯帱儳వ䰷嬹帻刽┿潁㑃㑅❇㩉⥋㱍⑏㭑ㅓ╕", num));
                class2.method_40(BookmarkStart.b("堫伭刯帱儳వ夷嘹唻夽⸿", num), Class922.smethod_50((TableAlignment)A_0.TableFormat.method_32(0xfaa)));
                class2.method_40(BookmarkStart.b("弫娭䤯帱儳వ伷匹堻䨽⠿", num), str);
                class2.method_40(BookmarkStart.b("䨫䄭ਯ弱唳䐵強匹刻ጽⰿ❁≃㉅", num), this.method_10());
                object obj2 = A_0.FirstRow.RowFormat.method_31(0x111c);
                if (obj2 != null)
                {
                    class2.method_40(BookmarkStart.b("弫娭䤯帱儳వ伷䠹唻䨽⤿ⱁ⍃歅╇╉⡋⭍", num), ((bool)obj2) ? BookmarkStart.b("師䈭ᴯ䘱嘳", num) : BookmarkStart.b("䀫尭ᴯ䘱嘳", num));
                }
                class2.method_6(BookmarkStart.b("弫娭䤯帱儳వ䰷嬹帻刽┿潁㑃㑅❇㩉⥋㱍⑏㭑ㅓ╕", num));
                class2.method_6(BookmarkStart.b("弫娭䤯帱儳వ䬷丹䔻刽┿", num));
                for (int i = 0; i < numArray.Length; i++)
                {
                    this.class974_0.method_12(this.method_7(), BookmarkStart.b("堫伭刯帱儳ᬵ嬷唹倻䬽ⴿⱁ", num));
                    class2.method_33(BookmarkStart.b("弫娭䤯帱儳వ䰷嬹帻刽┿潁❃⥅⑇㽉⅋⁍絏≑♓㥕⡗㽙⹛⩝य़ݡᝣ", num), new object[] { BookmarkStart.b("弫娭䤯帱儳వ嬷唹倻䬽ⴿⱁ楃ㅅⅇ⹉㡋♍", num), Class576.smethod_42((double)(((float)numArray[i]) / 20f)) });
                    class2.method_6(BookmarkStart.b("弫娭䤯帱儳వ䬷丹䔻刽┿", num));
                }
            }
            if (this.class422_0.method_22())
            {
                if (A_0.FirstNonMarkupDescendant.DocumentObjectType == DocumentObjectType.TableCell)
                {
                    this.stack_0.Push(this.int_0);
                }
                class2.method_4(BookmarkStart.b("堫伭刯帱儳వ䰷嬹帻刽┿", num));
                class2.method_40(BookmarkStart.b("堫伭刯帱儳వ䬷丹䔻刽┿潁⩃❅╇⽉", num), this.method_6());
                for (int j = 0; j < numArray.Length; j++)
                {
                    class2.method_33(BookmarkStart.b("堫伭刯帱儳వ䰷嬹帻刽┿潁❃⥅⑇㽉⅋⁍", num), new object[] { BookmarkStart.b("堫伭刯帱儳వ䬷丹䔻刽┿潁⩃❅╇⽉", num), this.method_7() });
                }
            }
        }
        return(VisitorAction.Continue);
    }
Ejemplo n.º 9
0
    private static void smethod_1(Class43 A_0, string A_1, Class111 A_2)
    {
        int num = 15;

        if (A_1 != null)
        {
            if (A_1 == BookmarkStart.b("嬴堶圸帺", num))
            {
                A_0.SetAttr(0x1bb, false);
            }
            else
            {
                A_0.SetAttr(0x1bb, true);
                A_0.SetAttr(0x180, Class922.smethod_19(A_1, A_2));
                if ((A_1 == BookmarkStart.b("刴䔶堸强吼娾⽀㝂", num)) && (A_2 != null))
                {
                    if (Class567.smethod_16(A_2.method_14()))
                    {
                        A_0.SetAttr(0x181, Class576.smethod_76(A_2.method_14()));
                    }
                    if (Class567.smethod_16(A_2.method_16()))
                    {
                        A_0.SetAttr(0x183, Class576.smethod_76(A_2.method_16()));
                    }
                    if (Class567.smethod_16(A_2.method_18()))
                    {
                        A_0.SetAttr(0x182, Class576.smethod_78(A_2.method_18()));
                    }
                    if (Class567.smethod_16(A_2.method_20()))
                    {
                        A_0.SetAttr(0x184, Class576.smethod_78(A_2.method_20()));
                    }
                    if (Class567.smethod_16(A_2.method_6()))
                    {
                        A_0.SetAttr(0x18d, Class576.smethod_28(A_2.method_6()));
                    }
                    if (Class567.smethod_16(A_2.method_8()))
                    {
                        A_0.SetAttr(0x18e, Class576.smethod_28(A_2.method_8()));
                    }
                    if (Class567.smethod_16(A_2.method_10()))
                    {
                        A_0.SetAttr(0x18b, Class576.smethod_7(A_2.method_10()) / 10);
                    }
                    if (A_2.method_4() == BookmarkStart.b("吴伶倸娺儼", num))
                    {
                        A_0.SetAttr(0x18c, -1);
                    }
                    if (A_2.method_4() == BookmarkStart.b("头帶圸帺尼䴾", num))
                    {
                        A_0.SetAttr(0x18c, 100);
                    }
                }
            }
        }
    }
Ejemplo n.º 10
0
    private static void smethod_12(Class857 A_0, Class93 A_1)
    {
        int num = 0x10;

        if (Class567.smethod_16(A_1.method_0()))
        {
            string name = Class922.smethod_79(A_1.method_0());
            if (A_0.method_9().Styles.FindByName(name) == null)
            {
                Style   style  = smethod_11(StyleType.ParagraphStyle, A_1.method_0(), A_0.method_9());
                Class97 class2 = (Class97)A_1;
                if (A_1.method_8() != null)
                {
                    style.ApplyBaseStyle(smethod_11(StyleType.ParagraphStyle, A_1.method_8(), A_0.method_9()));
                }
                if (class2.method_13() != null)
                {
                    class2.method_13().CopyPropertiesTo(style.RunPr);
                }
                if ((class2.method_15() != null) && (style.ParaPr != null))
                {
                    class2.method_15().CopyPropertiesTo(style.ParaPr);
                }
                if (class2.method_25() != -1)
                {
                    style.ParaPr.SetAttr(0x500, (byte)class2.method_25());
                }
                if (style.StyleIdentifier == StyleIdentifier.Normal)
                {
                    style.QuickFormat = true;
                    A_0.method_9().Styles.DefaultParaStyle = style as ParagraphStyle;
                    style.Name = BookmarkStart.b("砵圷䠹儻弽ⰿ", num);
                    style.method_5(BookmarkStart.b("圵", num));
                    A_0.method_9().Styles.method_7(style, null);
                }
                else
                {
                    A_0.method_9().Styles.method_7(style, null);
                }
            }
        }
        else
        {
            Class97 class3 = (Class97)A_1;
            if (class3.method_13() != null)
            {
                A_0.method_9().DefCharFormat = new CharacterFormat(A_0.method_9());
                class3.method_13().method_37(A_0.method_9().DefCharFormat);
            }
            if (class3.method_15() != null)
            {
                A_0.method_9().DefParaFormat = new ParagraphFormat(A_0.method_9());
                class3.method_15().method_37(A_0.method_9().DefParaFormat);
            }
        }
    }
Ejemplo n.º 11
0
    internal static void smethod_2(Class857 A_0, Class100 A_1)
    {
        int        num    = 8;
        Class396   class2 = A_0.method_11();
        CellFormat format = new CellFormat();

        while (class2.method_19())
        {
            string str;
            if ((!Class857.smethod_9(class2, A_1.method_35()) && !Class857.smethod_2(class2, A_1.method_39())) && (!Class857.smethod_1(class2, A_1.method_37()) && ((str = class2.method_1()) != null)))
            {
                if (str != BookmarkStart.b("夭䈯嬱䀳張嘷崹ᄻ匽⼿♁⅃", num))
                {
                    if (str != BookmarkStart.b("䤭尯䬱䐳帵ᔷ唹主圽┿ⱁぃ❅㱇⍉⍋⁍絏⑑ㅓ⑕ⱗ㍙㽛㽝౟", num))
                    {
                        if (str != BookmarkStart.b("堭唯䀱䀳張嬷嬹倻ጽℿ⹁ⵃⅅ♇", num))
                        {
                            if (!(str == BookmarkStart.b("䰭儯儱弳儵䨷唹䤻倽␿潁❃⥅⑇╉㹋", num)))
                            {
                                if (str == BookmarkStart.b("夭䈯匱䐳ᬵ圷䨹䠻圽⼿ⱁ", num))
                                {
                                    format.SetAttr(0xc6c, class2.method_3() == BookmarkStart.b("夭䈯匱䐳", num));
                                }
                            }
                            else
                            {
                                format.SetAttr(0xc62, Class576.smethod_62(class2.method_3(), (Class16)format.method_31(0xc62)));
                            }
                        }
                        else
                        {
                            format.SetAttr(0xbf4, Class922.smethod_48(class2.method_3()));
                        }
                    }
                    else if (class2.method_3() == BookmarkStart.b("ḭ", num))
                    {
                        format.SetAttr(0xbea, TextOrientation.Upward);
                    }
                }
                else if (Class922.smethod_37(class2.method_3()) != TextOrientation.Horizontal)
                {
                    format.SetAttr(0xbea, Class922.smethod_37(class2.method_3()));
                }
            }
        }
        smethod_3(format, A_1);
        if (format.Count > 0)
        {
            A_1.method_46(format);
        }
    }
Ejemplo n.º 12
0
    private void method_2()
    {
        int num = 0x13;

        for (int i = 0; i < this.class422_0.method_15().CustomDocumentProperties.Count; i++)
        {
            string           str2;
            DocumentProperty property = this.class422_0.method_15().CustomDocumentProperties[i];
            switch (property.ValueType)
            {
            case PropertyValueType.Boolean:
                str2 = Class1041.smethod_29((bool)property.Value);
                break;

            case PropertyValueType.Date:
                str2 = Class1041.smethod_1((DateTime)property.Value);
                break;

            case PropertyValueType.Float:
            {
                continue;
            }

            case PropertyValueType.Double:
                str2 = Class1041.smethod_44((double)property.Value);
                break;

            case PropertyValueType.Int:
                str2 = Class1041.smethod_30((int)property.Value);
                break;

            case PropertyValueType.String:
                str2 = (string)property.Value;
                break;

            default:
            {
                continue;
            }
            }
            string str = Class922.smethod_18(property.ValueType);
            this.class400_0.method_4(BookmarkStart.b("吸帺䤼帾筀㙂㙄≆㭈晊⥌⩎㝐㩒㭔㉖㵘", num));
            this.class400_0.method_40(BookmarkStart.b("吸帺䤼帾筀ⵂ⑄⩆ⱈ", num), property.Name);
            this.class400_0.method_40(BookmarkStart.b("吸帺䤼帾筀㕂⑄⭆㱈⹊恌㭎⡐⍒ご", num), str);
            this.class400_0.method_15(str2);
            this.class400_0.method_6(BookmarkStart.b("吸帺䤼帾筀㙂㙄≆㭈晊⥌⩎㝐㩒㭔㉖㵘", num));
        }
    }
Ejemplo n.º 13
0
    private static Style smethod_11(StyleType A_0, string A_1, DocumentObject A_2)
    {
        Style style;

        if (A_0 == StyleType.ParagraphStyle)
        {
            style = new ParagraphStyle((Document)A_2, false);
        }
        else
        {
            style = new Class11((Document)A_2);
        }
        Class1145.smethod_0(Class922.smethod_79(A_1), ((Document)A_2).Styles, false, style);
        style.method_8(A_1);
        return(style);
    }
Ejemplo n.º 14
0
    private void method_14(ListLevel A_0, int A_1, int A_2)
    {
        string str;
        int    num = 4;

        if (A_0.HasPictureBullet)
        {
            str = BookmarkStart.b("帩䤫嘭䐯࠱堳張䬷丹ᄻ刽┿㑁⅃⩅敇㥉㡋㝍㱏㝑祓㽕㕗㭙㭛㭝", num);
            this.class400_0.method_4(str);
            new Class568(this.class422_0).method_0(str, A_0.PicBullet);
        }
        else
        {
            if (A_0.PatternType == ListPatternType.Bullet)
            {
                str = BookmarkStart.b("帩䤫嘭䐯࠱堳張䬷丹ᄻ刽┿㑁⅃⩅敇㥉㡋㝍㱏㝑祓㑕ⵗ㙙せ㭝ᑟ", num);
                string str2 = this.class400_0.method_21(A_0.BulletCharacter);
                this.class400_0.method_4(str);
                this.class400_0.method_40(BookmarkStart.b("帩䤫嘭䐯࠱嘳䌵吷嘹夻䨽洿⅁ⱃ❅㩇", num), Class567.smethod_16(str2) ? str2.Substring(0, 1) : BookmarkStart.b("਩", num));
            }
            else
            {
                str = BookmarkStart.b("帩䤫嘭䐯࠱堳張䬷丹ᄻ刽┿㑁⅃⩅敇㥉㡋㝍㱏㝑祓㡕ⵗ㝙㹛㭝቟", num);
                this.class400_0.method_4(str);
                this.class400_0.method_18(BookmarkStart.b("天堫圭尯圱ำ堵䴷圹ᄻ堽⼿ぁ⥃❅㱇", num), (Class922.smethod_55(A_0.PatternType) != null) ? Class922.smethod_55(A_0.PatternType) : "");
                this.class400_0.method_43(BookmarkStart.b("帩䤫嘭䐯࠱倳張䬷䨹倻弽㤿潁⡃⍅㹇⽉⁋㵍", num), A_2 + 1);
                if (A_0.StartAt > 1)
                {
                    this.class400_0.method_40(BookmarkStart.b("帩䤫嘭䐯࠱䜳䈵夷䠹䠻ጽ㘿⍁⡃㍅ⵇ", num), A_0.StartAt.ToString());
                }
            }
            this.class400_0.method_40(BookmarkStart.b("天堫圭尯圱ำ堵䴷圹ᄻ䴽㔿⑁≃⽅ぇ", num), A_0.NumberSufix);
            this.class400_0.method_40(BookmarkStart.b("天堫圭尯圱ำ堵䴷圹ᄻ丽㈿❁≃⽅ぇ", num), A_0.NumberPrefix);
        }
        this.class400_0.method_43(BookmarkStart.b("帩䤫嘭䐯࠱堳匵丷弹倻", num), A_2 + 1);
        bool flag = this.class526_0.method_3(null, A_0.CharacterFormat);

        if (((A_0.TextPosition != 0f) || (A_0.NumberPosition != 0f)) || ((A_0.NumberAlignment != ListNumberAlignment.Left) || A_0.HasPictureBullet))
        {
            this.method_15(A_0);
        }
        if (flag && !A_0.HasPictureBullet)
        {
            this.class526_0.method_2(false);
        }
        this.class400_0.method_6(str);
    }
Ejemplo n.º 15
0
    private void method_2(TableCell A_0, VerticalAlignment A_1, TextOrientation A_2, bool A_3)
    {
        Paragraph paragraph = A_0.method_55();

        if (paragraph != null)
        {
            this.class86_0.string_1 = Class922.smethod_10(A_1, A_2, paragraph.Format.HorizontalAlignment, A_3);
        }
        if (!Class567.smethod_16(this.class86_0.string_1) && A_3)
        {
            this.class86_0.int_0--;
        }
        if (Class567.smethod_16(this.class86_0.string_1) && !A_3)
        {
            this.class86_0.int_0++;
        }
    }
Ejemplo n.º 16
0
    private void method_8(bool A_0)
    {
        int num = 6;
        FootEndnoteOptions options = A_0 ? this.class422_0.method_15().EndnoteOptions : this.class422_0.method_15().FootnoteOptions;

        this.class400_0.method_4(BookmarkStart.b("堫䬭䠯䘱ำ堵圷丹夻䴽洿⅁⭃⡅⹇⍉⭋㭍≏㍑⁓㽕㝗㑙", num));
        this.class400_0.method_40(BookmarkStart.b("堫䬭䠯䘱ำ堵圷丹夻ጽ⌿⹁╃㕅㭇", num), A_0 ? BookmarkStart.b("䤫䀭启就嬳䈵崷", num) : BookmarkStart.b("䨫䄭弯䘱娳夵䰷弹", num));
        this.class400_0.method_40(BookmarkStart.b("弫娭䤯帱儳వ嘷伹儻ጽ☿ⵁ㙃⭅⥇㹉", num), Class922.smethod_56(options.NumberFormat));
        if (options.StartNumber > 0)
        {
            this.class400_0.method_40(BookmarkStart.b("堫䬭䠯䘱ำ䔵䰷嬹主䨽洿㑁╃⩅㵇⽉", num), (options.StartNumber - 1).ToString());
        }
        this.class400_0.method_40(BookmarkStart.b("堫䬭䠯䘱ำ倵圷唹䠻倽⼿㙁⅃㕅敇㩉⍋㵍㥏♑㵓㥕㙗", num), Class922.smethod_30(options.Position));
        this.class400_0.method_40(BookmarkStart.b("堫䬭䠯䘱ำ䔵䰷嬹主䨽洿ⱁㅃ⭅⩇⽉㹋❍㹏㕑祓㝕ⱗ", num), Class922.smethod_23(options.RestartRule));
        this.method_9(BookmarkStart.b("堫䬭䠯䘱ำ唵儷丹崻䨽⤿ⵁ⩃歅㭇㹉㕋≍㕏网㩓㝕㕗㽙", num), A_0 ? StyleIdentifier.EndnoteReference : StyleIdentifier.FootnoteReference);
        this.method_9(BookmarkStart.b("堫䬭䠯䘱ำ唵儷丹崻䨽⤿ⵁ⩃歅⩇╉⡋㝍絏⅑⁓⽕㑗㽙煛そşཡţ", num), A_0 ? StyleIdentifier.EndnoteText : StyleIdentifier.FootnoteText);
        this.class400_0.method_6(BookmarkStart.b("堫䬭䠯䘱ำ堵圷丹夻䴽洿⅁⭃⡅⹇⍉⭋㭍≏㍑⁓㽕㝗㑙", num));
    }
Ejemplo n.º 17
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);
    }
Ejemplo n.º 18
0
    private void method_15(ListLevel A_0)
    {
        int num = 12;

        this.class400_0.method_4(BookmarkStart.b("䄱䀳伵吷弹ػ刽⤿ㅁぃ歅⑇⽉㩋⭍㱏网⑓⑕㝗⩙㥛ⱝᑟୡţᕥ", 12));
        if (A_0.NumberAlignment == ListNumberAlignment.Right)
        {
            this.class400_0.method_40(BookmarkStart.b("䘱儳丵䰷9儻圽⸿潁⡃❅⩇⽉⁋捍❏㭑こ≕し", num), Class576.smethod_42((double)A_0.TextPosition));
            this.class400_0.method_40(BookmarkStart.b("䘱儳丵䰷9儻圽⸿潁⡃❅⩇⽉⁋捍㑏㭑❓≕㥗㑙㽛㭝", num), Class576.smethod_42((double)(A_0.TextPosition - A_0.NumberPosition)));
        }
        else
        {
            this.class400_0.method_40(BookmarkStart.b("䘱儳丵䰷9伻丽ℿ⅁⅃歅⩇⽉⩋⅍≏㝑", num), Class576.smethod_42((double)(A_0.TextPosition + A_0.NumberPosition)));
            this.class400_0.method_40(BookmarkStart.b("䘱儳丵䰷9儻圽⸿潁⡃❅⩇⽉⁋捍❏㭑こ≕し", num), Class576.smethod_42((double)(0f - A_0.NumberPosition)));
        }
        this.class400_0.method_40(BookmarkStart.b("吱嬳వ䰷弹䐻䨽洿⍁⡃⽅⽇⑉", num), Class922.smethod_52(A_0.NumberAlignment));
        this.method_16(A_0);
        this.class400_0.method_6(BookmarkStart.b("䄱䀳伵吷弹ػ刽⤿ㅁぃ歅⑇⽉㩋⭍㱏网⑓⑕㝗⩙㥛ⱝᑟୡţᕥ", num));
    }
Ejemplo n.º 19
0
    private void method_1(Form4 A_0)
    {
        int num = 14;

        if (Class567.smethod_16(A_0.method_31()))
        {
            Class400 class2 = this.class422_0.method_18();
            class2.method_4(BookmarkStart.b("䜳䈵䄷嘹夻н☿ⵁ⩃㉅敇ⱉⵋⵍ㕏", num));
            class2.method_40(BookmarkStart.b("䜳䈵䄷嘹夻н⸿⍁⥃⍅", num), A_0.method_31());
            class2.method_40(BookmarkStart.b("䜳䀵強9娻儽⸿㙁楃⁅⥇❉╋≍⥏", num), string.Format(BookmarkStart.b("伳ص䔷", num), A_0.method_31()));
            class2.method_40(BookmarkStart.b("䜳䈵䄷嘹夻н☿ⵁ⩃㉅敇㩉╋㩍㍏㩑", num), Class922.smethod_27(A_0.method_41()));
            class2.method_40(BookmarkStart.b("䜳䈵䄷嘹夻н☿ⵁ⩃㉅敇ⱉⵋ⍍㥏㹑ⵓ筕㽗㽙㉛㭝቟ୡݣ", num), Class922.smethod_25(A_0.method_39()));
            if (A_0.method_37() == 2)
            {
                class2.method_40(BookmarkStart.b("䜳䈵䄷嘹夻н☿ⵁ⩃㉅敇⥉⑋⽍≏⅑ㅓ≕", num), BookmarkStart.b("䰳ᬵ䬷䌹儻尽⼿⹁", num));
            }
            class2.method_6(BookmarkStart.b("䜳䈵䄷嘹夻н☿ⵁ⩃㉅敇ⱉⵋⵍ㕏", num));
        }
    }
Ejemplo n.º 20
0
    private void method_9(ShapeObject A_0, string A_1)
    {
        int    num  = 5;
        PointF tf   = A_0.method_48(new PointF((float)A_0.Left, (float)A_0.Top));
        double x    = tf.X;
        double num3 = tf.X;
        double y    = tf.Y;
        double num5 = tf.Y;
        double num6 = smethod_11(A_0, (double)A_0.SizeInPoints.Width);
        double num7 = smethod_11(A_0, (double)A_0.SizeInPoints.Height);

        switch (A_0.FlipOrientation)
        {
        case FlipOrientation.Horizontal:
            x    += num6;
            num5 += num7;
            break;

        case FlipOrientation.Vertical:
            num3 += num6;
            y    += num7;
            break;

        case FlipOrientation.Both:
            x += num6;
            y += num7;
            break;

        default:
            num3 += num6;
            num5 += num7;
            break;
        }
        Class400 class2 = this.class422_0.method_18();

        class2.method_66(A_1);
        class2.method_68(BookmarkStart.b("伪弬丮䘰ल䄴丶䤸帺", num), Class922.smethod_7(A_0.ConnectorType));
        class2.method_68(BookmarkStart.b("堪嬬䠮ର䬲д", num), Class576.smethod_42(x));
        class2.method_68(BookmarkStart.b("堪嬬䠮ର䨲д", num), Class576.smethod_42(y));
        class2.method_68(BookmarkStart.b("堪嬬䠮ର䬲ܴ", num), Class576.smethod_42(num3));
        class2.method_68(BookmarkStart.b("堪嬬䠮ର䨲ܴ", num), Class576.smethod_42(num5));
        this.method_8(A_0);
    }
Ejemplo n.º 21
0
    internal void method_5(Style A_0)
    {
        int num = 12;

        if (A_0.StyleType != StyleType.TableStyle)
        {
            string str = Class922.smethod_77(A_0);
            if (Class567.smethod_16(str))
            {
                this.method_11(str, Class922.smethod_76(A_0.StyleType), smethod_2(A_0));
                if (A_0.StyleType != StyleType.CharacterStyle)
                {
                    this.class422_0.method_18().method_43(BookmarkStart.b("䄱䀳伵吷弹ػ娽┿⑁╃㍅⑇㹉態⅍╏♑㡓㽕㙗㽙煛㉝՟ᑡţ੥", num), ((int)A_0.ParaPr.OutlineLevel) + 1);
                    this.class919_0.method_0(A_0, A_0.ParaPr);
                }
                this.class526_0.method_0(A_0, A_0.RunPr);
                this.class422_0.method_18().method_6(BookmarkStart.b("䄱䀳伵吷弹ػ䴽㐿㭁⡃⍅", num));
            }
        }
    }
Ejemplo n.º 22
0
    private bool method_4(Tab A_0, bool A_1, bool A_2)
    {
        int num = 2;

        if (Class922.smethod_60(A_0.Justification) == null)
        {
            return(A_1);
        }
        Class400 class2 = this.class422_0.method_18();

        if (A_1)
        {
            if (!A_2)
            {
                class2.method_4(BookmarkStart.b("嬧帩唫䈭唯࠱䐳圵䨷嬹嬻䰽ℿ㉁ⱃ歅㡇㡉⍋㹍㕏⁑⁓㽕㵗⥙", num));
            }
            class2.method_4(BookmarkStart.b("嬧帩唫䈭唯࠱䀳圵娷᜹伻䨽⼿㉁㝃", num));
        }
        class2.method_33(BookmarkStart.b("嬧帩唫䈭唯࠱䀳圵娷᜹伻䨽⼿㉁", num), new object[] { BookmarkStart.b("嬧帩唫䈭唯࠱䀳伵䠷弹", num), Class922.smethod_60(A_0.Justification), BookmarkStart.b("嬧帩唫䈭唯࠱堳匵夷帹夻䰽洿ㅁぃ㽅⑇⽉", num), Class922.smethod_64(A_0.TabLeader), BookmarkStart.b("嬧帩唫䈭唯࠱堳匵夷帹夻䰽洿㙁⅃㹅㱇", num), Class922.smethod_63(A_0.TabLeader), BookmarkStart.b("嬧帩唫䈭唯࠱圳帵夷䠹", num), (A_0.Justification == TabJustification.Decimal) ? BookmarkStart.b("Ч", num) : null, BookmarkStart.b("嬧帩唫䈭唯࠱䐳夵䬷匹䠻圽⼿ⱁ", num), Class576.smethod_35(A_0.Position - this.class972_0.int_1) });
        return(false);
    }
Ejemplo n.º 23
0
    private void method_3(Field A_0, string A_1)
    {
        int      num    = 11;
        Class400 class2 = this.class422_0.method_18();
        string   str    = string.Format(BookmarkStart.b("䨰̲䠴ᨶ䨸吺䠼䴾≀♂", 11), A_1);
        string   str2   = string.Format(BookmarkStart.b("䨰̲䠴ᨶ尸唺䤼䴾㡀湂ㅄ≆⑈㭊⅌⹎═㙒", 11), A_1);

        class2.method_4(str);
        string[] strArray = Class576.smethod_10(string_0, BookmarkStart.b("帰", 11)).Trim(new char[] { '"' }).Split(new char[] { '-' });
        int      num2     = 9;

        if (strArray.Length > 1)
        {
            class2.method_40(BookmarkStart.b("䔰嘲䴴䌶̸吺䠼䬾ⵀ⩂⭄≆摈❊⡌㥎㑐㽒", num), strArray[1]);
            num2 = Class1041.smethod_11(strArray[1]);
        }
        else
        {
            class2.method_43(BookmarkStart.b("䔰嘲䴴䌶̸吺䠼䬾ⵀ⩂⭄≆摈❊⡌㥎㑐㽒", num), num2);
        }
        class2.method_10(BookmarkStart.b("䔰嘲䴴䌶̸刺匼嬾⑀㭂桄㍆⁈㽊⅌⩎籐❒ご㩖⥘㝚㱜⭞Ѡ", num));
        int num4 = (A_0.Type == FieldType.FieldTOC) ? 0x13 : 10;

        for (int i = 0; i < num2; i++)
        {
            class2.method_4(str2);
            class2.method_43(BookmarkStart.b("䔰嘲䴴䌶̸吺䠼䬾ⵀ⩂⭄≆摈❊⡌㥎㑐㽒", num), i + 1);
            class2.method_40(BookmarkStart.b("䔰嘲䴴䌶̸䠺䤼䘾ⵀ♂桄⥆⡈♊⡌", num), Class922.smethod_77((Style)this.class422_0.method_15().Styles[num4 + i]));
            class2.method_10(BookmarkStart.b("䔰嘲䴴䌶̸刺匼嬾⑀㭂桄≆❈㽊㽌㙎籐げ㵔㙖⥘⽚㡜ⵞ", num));
            class2.method_10(BookmarkStart.b("䔰嘲䴴䌶̸刺匼嬾⑀㭂桄≆❈㽊㽌㙎籐❒ご⽖ⵘ", num));
            class2.method_4(BookmarkStart.b("䔰嘲䴴䌶̸刺匼嬾⑀㭂桄≆❈㽊㽌㙎籐❒㑔㕖瑘⡚⥜ぞᅠ", num));
            class2.method_40(BookmarkStart.b("䈰䜲䰴嬶尸ĺ䤼䘾ㅀ♂", num), BookmarkStart.b("䌰娲刴弶䴸", num));
            class2.method_40(BookmarkStart.b("䈰䜲䰴嬶尸ĺ儼娾⁀❂⁄㕆摈⡊╌⹎⍐", num), BookmarkStart.b("ἰ", num));
            class2.method_6(BookmarkStart.b("䔰嘲䴴䌶̸刺匼嬾⑀㭂桄≆❈㽊㽌㙎籐❒㑔㕖瑘⡚⥜ぞᅠ", num));
            class2.method_10(BookmarkStart.b("䔰嘲䴴䌶̸刺匼嬾⑀㭂桄≆❈㽊㽌㙎籐⍒㑔ざ㱘癚㍜⩞ౠŢdᕦ", num));
            class2.method_6(str2);
        }
        class2.method_6(str);
    }
Ejemplo n.º 24
0
    private void method_13(ShapeObject A_0)
    {
        int num = 9;

        Class679[] segmentInfo = A_0.SegmentInfo;
        Class891[] vertices    = A_0.Vertices;
        if (vertices != null)
        {
            string str3 = "";
            string str  = "";
            int    num2 = 0;
            for (int i = 0; i < segmentInfo.Length; i++)
            {
                Class679 class2 = segmentInfo[i];
                if (class2.method_0() != PathType.Unknown)
                {
                    string str2 = Class922.smethod_6(class2.method_0());
                    if (Class567.smethod_16(str2))
                    {
                        int num4 = class2.method_2();
                        if ((str != str2) && ((!(str2 == BookmarkStart.b("眮", num)) && !(str2 == BookmarkStart.b("瘮", num))) || (!(str == BookmarkStart.b("眮", num)) && !(str == BookmarkStart.b("瘮", num)))))
                        {
                            str3 = string.Format(BookmarkStart.b("吮İ串ᔴ䰶࠸䘺", num), str3, str2);
                        }
                        for (int j = num2; j < (num2 + num4); j++)
                        {
                            Class891 class3 = vertices[j];
                            bool     flag   = ((class2.method_0() == PathType.AngleEllipse) || (class2.method_0() == PathType.AngleEllipseTo)) ? ((((j - num2) + 1) % 3) == 0) : false;
                            str3 = string.Format(BookmarkStart.b("吮İ串ᔴ䰶࠸䘺ᴼ䐾獀㹂", num), str3, this.method_14(class3.method_0(), flag), this.method_14(class3.method_1(), flag));
                        }
                        num2 += num4;
                        str   = str2;
                    }
                }
            }
            this.class400_0.method_40(BookmarkStart.b("䬮䌰刲䈴ശ尸唺唼帾⽀⁂⁄⍆摈㭊ⱌ㭎㥐", num), str3.Trim());
        }
    }
Ejemplo n.º 25
0
    internal void method_0(Class857 A_0, DocumentObject A_1, ShapeObject A_2)
    {
        int num = 2;

        if (this.class396_0 == null)
        {
            A_2.SetShapeType(ShapeType.OleObject);
            Class798.smethod_0(A_0, A_1, A_2);
        }
        else
        {
            string str = (string)A_0.method_63()[string.Format(BookmarkStart.b("匧ᨩ儫ĭ", num), this.string_0)];
            if (str != BookmarkStart.b("䤧娩尫䈭夯儱唳䈵儷唹刻ᄽ㘿ⱁ⁃桅❇⭉㽋❍⍏籑㭓♕㵗㑙㡛ㅝ͟ᝡॣͥ٧ṩ䉫࡭Ὧqᥳ͵ᑷ᭹", num))
            {
                Class922.smethod_0(str);
                A_2.SetShapeType(ShapeType.OleObject);
                Class476 class2 = new Class476();
                this.method_2(class2, str, this.method_1(A_0, class2, BookmarkStart.b("䬧䔩䈫娭唯就䀳ᠵ䀷圹倻", num)), this.method_1(A_0, class2, BookmarkStart.b("嬧帩唫䈭唯䄱ᨳ丵唷嘹", num)), this.method_1(A_0, class2, BookmarkStart.b("嬧伩堫娭夯就匳䔵ᘷ䈹儻刽", num)));
                MemoryStream stream = new MemoryStream();
                class2.method_3(stream, str);
            }
        }
    }
Ejemplo n.º 26
0
    private static void smethod_3(Class857 A_0, Class102 A_1)
    {
        int      num    = 4;
        Class396 class2 = A_0.method_11();

        class2.method_18();
        string str  = "";
        string str2 = "";

        while (class2.method_19())
        {
            string str3;
            if (!Class857.smethod_8(class2, A_1) && ((str3 = class2.method_1()) != null))
            {
                if (!(str3 == BookmarkStart.b("䘩䴫䀭圯䜱唳儵崷", num)))
                {
                    if (str3 == BookmarkStart.b("䤩䌫嬭帯䘱䘳伵", num))
                    {
                        str2 = class2.method_3();
                    }
                }
                else
                {
                    str = class2.method_3();
                }
            }
        }
        if (Class567.smethod_16(str) || Class567.smethod_16(str2))
        {
            if (A_1.method_13() == null)
            {
                A_1.method_14(new CharacterFormat());
            }
            A_1.method_13().SetAttr(380, (short)Class922.smethod_81(string.Format(BookmarkStart.b("儩ᰫ匭ᴯ䤱Գ䬵", num), str, str2)));
        }
    }
Ejemplo n.º 27
0
    private static Tab smethod_7(Class857 A_0, double A_1)
    {
        int      num    = 0x13;
        Tab      tab    = new Tab(A_0.method_9());
        Class396 class2 = A_0.method_11();
        string   str    = "";
        string   str2   = "";
        string   str3   = "";
        string   str4   = "";

        while (class2.method_19())
        {
            string key = class2.method_1();
            if (key != null)
            {
                int num2;
                if (Class1160.dictionary_28 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(9);
                    dictionary1.Add(BookmarkStart.b("䴸䈺䴼娾", num), 0);
                    dictionary1.Add(BookmarkStart.b("唸帺尼嬾⑀ㅂ桄㑆㵈㉊⅌⩎", num), 1);
                    dictionary1.Add(BookmarkStart.b("唸帺尼嬾⑀ㅂ桄㍆ⱈ㍊㥌", num), 2);
                    dictionary1.Add(BookmarkStart.b("娸区尼䴾", num), 3);
                    dictionary1.Add(BookmarkStart.b("䤸吺丼嘾㕀⩂⩄⥆", num), 4);
                    dictionary1.Add(BookmarkStart.b("唸帺尼嬾⑀ㅂ桄㍆え㭊⡌", num), 5);
                    dictionary1.Add(BookmarkStart.b("唸帺尼嬾⑀ㅂ桄㍆ⱈ㍊㥌扎≐❒ⱔ㭖㱘", num), 6);
                    dictionary1.Add(BookmarkStart.b("唸帺尼嬾⑀ㅂ桄う⁈⽊㥌❎", num), 7);
                    dictionary1.Add(BookmarkStart.b("唸帺尼嬾⑀ㅂ桄⑆♈❊≌㵎", num), 8);
                    Class1160.dictionary_28 = dictionary1;
                }
                if (Class1160.dictionary_28.TryGetValue(key, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                        str3 = class2.method_3();
                        break;

                    case 1:
                        str = class2.method_3();
                        break;

                    case 2:
                        str2 = class2.method_3();
                        break;

                    case 3:
                        str4 = class2.method_3();
                        break;

                    case 4:
                        tab.Position = ((float)Class576.smethod_41(class2.method_3())) + ((float)A_1);
                        break;
                    }
                }
            }
        }
        if (Class567.smethod_16(str) || Class567.smethod_16(str2))
        {
            tab.TabLeader = Class922.smethod_62(str, str2);
        }
        tab.Justification = Class922.smethod_61(str3, str4);
        return(tab);
    }
Ejemplo n.º 28
0
    private static void smethod_1(Class857 A_0, Class97 A_1, ParagraphFormat A_2)
    {
        int      num    = 0x10;
        Class396 class2 = A_0.method_11();
        bool     flag   = false;
        int      num2   = 0;
        int      num3   = 0;
        string   str    = null;
        string   str2   = null;
        bool     flag2  = false;

        while (class2.method_19())
        {
            string str3;
            if (((!Class857.smethod_0(class2, A_1, A_2) && !Class857.smethod_9(class2, A_1.method_35())) && (!Class857.smethod_1(class2, A_1.method_37()) && !Class857.smethod_2(class2, A_1.method_39()))) && ((str3 = class2.method_1()) != null))
            {
                int num4;
                if (Class1160.dictionary_27 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x16);
                    dictionary1.Add(BookmarkStart.b("䘵夷崹夻ጽ⸿㝁⥃⑅ⵇ㡉", num), 0);
                    dictionary1.Add(BookmarkStart.b("䈵崷䈹䠻ጽℿ⹁ⵃⅅ♇杉⁋⽍⍏♑", num), 1);
                    dictionary1.Add(BookmarkStart.b("娵儷吹夻ጽ⸿㝁⥃⑅ⵇ㡉", num), 2);
                    dictionary1.Add(BookmarkStart.b("堵䴷圹帻嬽㈿潁⡃⽅♇⽉㽋", num), 3);
                    dictionary1.Add(BookmarkStart.b("嬵夷䤹䠻嬽㈿潁㑃❅⽇⽉態⁍ㅏ㽑ㅓ", num), 4);
                    dictionary1.Add(BookmarkStart.b("䈵崷䈹䠻ጽℿ⹁ⵃⅅ♇", num), 5);
                    dictionary1.Add(BookmarkStart.b("䄵䨷匹䠻圽⸿╁楃⭅❇⹉⥋", num), 6);
                    dictionary1.Add(BookmarkStart.b("䈵崷䈹䠻ጽ⤿ⱁ⁃⍅♇㹉", num), 7);
                    dictionary1.Add(BookmarkStart.b("娵儷吹夻ጽ⠿❁ⵃⅅ⁇㹉", num), 8);
                    dictionary1.Add(BookmarkStart.b("娵儷吹夻ጽ⠿❁ⵃⅅ⁇㹉態⽍⑏网㡓㍕㥗⥙⡛", num), 9);
                    dictionary1.Add(BookmarkStart.b("崵崷弹䰻ጽ㐿ⵁ⍃⍅㱇≉⥋㱍", num), 10);
                    dictionary1.Add(BookmarkStart.b("崵崷弹䰻ጽ㜿⭁ぃ⹅敇⑉⥋㙍⑏", num), 11);
                    dictionary1.Add(BookmarkStart.b("吵夷夹圻夽㈿ⵁㅃ⡅ⱇ杉⽋⅍㱏㵑♓", num), 12);
                    dictionary1.Add(BookmarkStart.b("䈵崷䈹䠻ጽℿ㝁ぃ⥅㭇㩉ⵋⵍ㕏", num), 13);
                    dictionary1.Add(BookmarkStart.b("䘵䴷吹弻䨽㔿⍁ぃ⽅❇⑉態㥍≏㍑⑓", num), 14);
                    dictionary1.Add(BookmarkStart.b("䀵崷䠹䠻圽⌿⍁⡃歅⥇♉╋⥍㹏", num), 15);
                    dictionary1.Add(BookmarkStart.b("䔵嘷嬹䰻ጽ㐿ⵁ楃⩅⥇㍉⍋㭍⑏网㍓⑕ㅗ㹙", num), 0x10);
                    dictionary1.Add(BookmarkStart.b("帵䄷䨹吻嬽⸿⍁ぃ⽅❇⑉態≍ㅏ㙑こ㍕⩗睙㽛ㅝᕟౡၣ", num), 0x11);
                    dictionary1.Add(BookmarkStart.b("䈵夷堹ᄻ䴽㐿ⵁ㑃歅ⱇ⍉㽋㩍ㅏ㱑㝓㍕", num), 0x12);
                    dictionary1.Add(BookmarkStart.b("䔵倷嬹堻儽㜿", num), 0x13);
                    dictionary1.Add(BookmarkStart.b("䄵儷帹医䤽㌿", num), 20);
                    dictionary1.Add(BookmarkStart.b("夵䨷䨹吻弽⸿ㅁ", num), 0x15);
                    Class1160.dictionary_27 = dictionary1;
                }
                if (Class1160.dictionary_27.TryGetValue(str3, out num4))
                {
                    switch (num4)
                    {
                    case 0:
                        if (class2.method_3() != BookmarkStart.b("圵䴷丹医", num))
                        {
                            A_1.method_44(class2.method_3());
                        }
                        break;

                    case 1:
                        str = class2.method_3();
                        break;

                    case 2:
                        A_1.method_42(class2.method_4());
                        break;

                    case 3:
                        if (class2.method_3() == BookmarkStart.b("䈵䨷伹夻", num))
                        {
                            A_2.SuppressLineNumbers = false;
                        }
                        break;

                    case 4:
                        if (!Class567.smethod_16(A_1.method_6()))
                        {
                            A_1.method_7(Class576.smethod_87(class2.method_3()));
                        }
                        break;

                    case 5:
                        str2 = class2.method_3();
                        break;

                    case 6:
                        goto Label_0340;

                    case 7:
                        A_2.FirstLineIndent = ((float)Class576.smethod_36(class2.method_3())) / 20f;
                        break;

                    case 8:
                        if (class2.method_3() != BookmarkStart.b("堵圷䠹儻弽ⰿ", num))
                        {
                            A_2.LineSpacing     = ((float)Class576.smethod_52(class2.method_3())) / 20f;
                            A_2.LineSpacingRule = class2.method_3().EndsWith(BookmarkStart.b("ጵ", num)) ? LineSpacingRule.Multiple : LineSpacingRule.Exactly;
                        }
                        break;

                    case 9:
                        A_2.LineSpacingRule = LineSpacingRule.AtLeast;
                        A_2.LineSpacing     = ((float)Class576.smethod_36(class2.method_3())) / 20f;
                        break;

                    case 10:
                        if (class2.method_3() == BookmarkStart.b("圵吷䴹崻䜽㌿", num))
                        {
                            A_2.SetAttr(0x410, true);
                        }
                        break;

                    case 11:
                        if (class2.method_3() == BookmarkStart.b("圵吷䴹崻䜽㌿", num))
                        {
                            A_2.SetAttr(0x41a, true);
                        }
                        break;

                    case 12:
                        if (class2.method_3() != BookmarkStart.b("䈵䨷嬹刻䴽〿⍁㙃⍅♇㹉", num))
                        {
                            A_2.SetAttr(0x5b4, Class576.smethod_62(class2.method_3(), (Class16)A_2.method_31(0x5b4)));
                            A_1.method_15().SetAttr(0x5b4, Class576.smethod_62(class2.method_3(), (Class16)A_2.method_31(0x5b4)));
                        }
                        break;

                    case 13:
                        A_2.SetAttr(0x4d8, class2.method_3() == BookmarkStart.b("張尷弹医夽㈿⍁㑃⹅敇⭉⁋㹍㡏㍑", num));
                        break;

                    case 14:
                        if (class2.method_3() == BookmarkStart.b("䔵儷圹䰻刽┿", num))
                        {
                            A_2.SetAttr(0x442, false);
                        }
                        break;

                    case 15:
                    {
                        BaselineAlignment alignment = Class922.smethod_43(class2.method_3());
                        if (alignment != BaselineAlignment.Baseline)
                        {
                            A_2.SetAttr(0x5e6, alignment);
                        }
                        break;
                    }

                    case 0x10:
                        if (class2.method_3() == BookmarkStart.b("䈵䨷伹夻", num))
                        {
                            A_2.SetAttr(0x4ec, true);
                        }
                        break;

                    case 0x11:
                        if (class2.method_3() == BookmarkStart.b("堵圷᜹倻圽ⴿ⭁ぃ", num))
                        {
                            A_2.SetAttr(0x582, true);
                        }
                        break;

                    case 0x12:
                        if (A_1.method_0() == null)
                        {
                            A_0.method_9().Settings.float_0 = Class576.smethod_36(class2.method_3());
                        }
                        break;

                    case 0x13:
                        flag = Class576.smethod_90(class2.method_3());
                        break;

                    case 20:
                        num2 = class2.method_4();
                        break;

                    case 0x15:
                        num3 = class2.method_4();
                        break;
                    }
                }
            }
            continue;
Label_0340:
            flag2 = class2.method_3() == BookmarkStart.b("䐵吷᜹䠻尽", num);
            if ((class2.method_3() == BookmarkStart.b("䐵吷᜹䠻尽", num)) || (class2.method_3() == BookmarkStart.b("䐵吷", num)))
            {
                A_2.SetAttr(0x618, true);
            }
            if ((class2.method_3() == BookmarkStart.b("娵䨷᜹䠻尽", num)) || (class2.method_3() == BookmarkStart.b("娵䨷", num)))
            {
                A_2.SetAttr(0x618, false);
            }
        }
        if (str2 != null)
        {
            A_2.HorizontalAlignment = Class922.smethod_65(str2, flag2);
        }
        bool flag3 = (num2 == 2) && (num3 == 2);

        if ((A_1.method_0() != null) && (A_1.method_0() != BookmarkStart.b("攵䰷嬹刻娽ℿぁ⁃", num)))
        {
            if (flag3)
            {
                A_2.SetAttr(0x5be, true);
            }
            else if (!flag3)
            {
                A_2.SetAttr(0x5be, false);
            }
        }
        else if ((num2 >= 2) && (num3 >= 2))
        {
            if (flag3)
            {
                A_0.method_9().Settings.bool_67 = true;
            }
        }
        else
        {
            A_0.method_9().Settings.bool_67 = false;
        }
        if (str == BookmarkStart.b("尵䴷䤹䠻圽☿㭁", num))
        {
            A_2.SetAttr(0x3fc, HorizontalAlignment.Distribute);
        }
        smethod_2(A_2, A_1, flag);
    }
Ejemplo n.º 29
0
    private void method_1(TableCell A_0, WordAttrCollection A_1)
    {
        VerticalAlignment bottom     = VerticalAlignment.Bottom;
        TextOrientation   horizontal = TextOrientation.Horizontal;
        bool flag = false;

        for (int i = 0; i < A_1.Count; i++)
        {
            int    num3 = A_1.method_18(i);
            object obj2 = A_1.method_19(i);
            if (obj2 != null)
            {
                this.class86_0.int_0++;
                switch (num3)
                {
                case 1:
                {
                    Borders borders = obj2 as Borders;
                    if (!borders.Top.IsDefault)
                    {
                        this.class86_0.class1048_0.class411_0.border_0 = borders.Top;
                    }
                    if (!borders.Bottom.IsDefault)
                    {
                        this.class86_0.class1048_0.class411_1.border_0 = borders.Bottom;
                    }
                    if (!borders.Left.IsDefault)
                    {
                        this.class86_0.class1048_0.class411_2.border_0 = borders.Left;
                    }
                    if (!borders.Right.IsDefault)
                    {
                        this.class86_0.class1048_0.class411_3.border_0 = borders.Right;
                    }
                    this.class86_0.int_0--;
                    continue;
                }

                case 2:
                {
                    Paddings paddings = obj2 as Paddings;
                    float    top      = paddings.Top;
                    this.class86_0.class1048_0.class411_0.string_2 = Class576.smethod_42((double)paddings.Top);
                    float single2 = paddings.Bottom;
                    this.class86_0.class1048_0.class411_1.string_2 = Class576.smethod_42((double)paddings.Bottom);
                    float left = paddings.Left;
                    this.class86_0.class1048_0.class411_2.string_2 = Class576.smethod_42((double)paddings.Left);
                    float right = paddings.Right;
                    this.class86_0.class1048_0.class411_3.string_2 = Class576.smethod_42((double)paddings.Right);
                    this.class86_0.int_0--;
                    continue;
                }

                case 0xbea:
                {
                    horizontal = (TextOrientation)obj2;
                    this.class86_0.string_2 = Class922.smethod_12((TextOrientation)obj2);
                    if (this.class86_0.string_2 == null)
                    {
                        this.class86_0.int_0--;
                    }
                    continue;
                }

                case 0xbf4:
                {
                    flag   = true;
                    bottom = (VerticalAlignment)obj2;
                    continue;
                }

                case 0xc62:
                {
                    this.class86_0.string_0 = Class576.smethod_83((Class16)obj2);
                    continue;
                }

                case 0x271a:
                {
                    this.class86_0.class580_0 = (Class580)obj2;
                    continue;
                }
                }
                this.class86_0.int_0--;
            }
        }
        this.method_2(A_0, bottom, horizontal, flag);
        this.method_4(A_0);
        this.method_3(A_0, (CellFormat)A_1);
    }
Ejemplo n.º 30
0
    internal void method_10(ListLevel A_0, ListStyle A_1, string A_2)
    {
        int num = 12;

        if (this.class526_0.method_3(null, A_0.CharacterFormat))
        {
            Style  style = this.class422_0.method_15().Styles.method_13(A_1.ListStyleIstd, false);
            string str   = ((style == null) || (style.StyleIdentifier == StyleIdentifier.NoList)) ? "" : Class922.smethod_77(style);
            this.method_11(A_2, BookmarkStart.b("䘱儳丵䰷", num), str);
            this.class526_0.method_2(false);
            this.class422_0.method_18().method_6(BookmarkStart.b("䄱䀳伵吷弹ػ䴽㐿㭁⡃⍅", num));
        }
    }