Beispiel #1
0
 private static void smethod_19(Class857 A_0, Paragraph A_1, CharacterFormat A_2)
 {
     int num = 0x11;
     Class396 class2 = A_0.method_11();
     FootnoteType type = (class2.method_12(BookmarkStart.b("夶嘸伺堼ሾ≀⽂⑄㑆㩈", 0x11), BookmarkStart.b("制圸强匼倾㕀♂", 0x11)) == BookmarkStart.b("制圸强匼倾㕀♂", 0x11)) ? FootnoteType.Endnote : FootnoteType.Footnote;
     Footnote footnote = new Footnote(A_0.method_9()) {
         FootnoteType = type,
         IsAutoNumbered = true,
         CustomMarker = null
     };
     if (A_2 == null)
     {
         throw new ArgumentNullException(BookmarkStart.b("䔶䰸唺洼䴾", num));
     }
     A_2.method_37(footnote.CharacterFormat);
     while (class2.method_9(BookmarkStart.b("夶嘸伺堼", num)))
     {
         string str2 = class2.method_1();
         if (str2 != null)
         {
             if (!(str2 == BookmarkStart.b("夶嘸伺堼ሾ≀⩂ㅄ♆㵈≊≌ⅎ", num)))
             {
                 if (!(str2 == BookmarkStart.b("夶嘸伺堼ሾ⍀ⱂ⅄㹆", num)))
                 {
                     goto Label_0110;
                 }
                 A_0.method_56(true);
                 Class574.smethod_0(A_0, BookmarkStart.b("夶嘸伺堼ሾ⍀ⱂ⅄㹆", num), footnote);
                 Class857.string_4 = "";
                 A_0.method_56(false);
             }
             else
             {
                 string str = class2.method_12(BookmarkStart.b("嬶堸夺堼匾", num), null);
                 if (str != null)
                 {
                     footnote.IsAutoNumbered = false;
                     footnote.CustomMarker = str;
                 }
             }
             continue;
         }
     Label_0110:
         class2.vmethod_1();
     }
     Paragraph paragraph = smethod_20(footnote.TextBody.ChildObjects);
     if (paragraph != null)
     {
         if (footnote.IsAutoNumbered)
         {
             new Class818();
         }
         else
         {
             paragraph.method_18(new TextRange(A_0.method_9(), footnote.CustomMarker, A_2), paragraph.FirstChild);
         }
     }
     A_1.method_13(footnote);
 }
Beispiel #2
0
    private static void smethod_8(Class857 A_0, Class101 A_1, ListLevel A_2)
    {
        int      num    = 8;
        Class396 class2 = A_0.method_11();

        A_2.PatternType = ListPatternType.Bullet;
        string str = "";

        while (class2.method_19())
        {
            string str3 = class2.method_1();
            if (str3 != null)
            {
                if (!(str3 == BookmarkStart.b("崭䐯䬱堳匵ᔷ吹崻匽┿", num)))
                {
                    if (str3 == BookmarkStart.b("䰭䔯帱堳匵䰷᜹弻嘽ℿぁ", num))
                    {
                        str = class2.method_3();
                    }
                }
                else
                {
                    A_1.method_23()[A_2.LevelNumber] = Class576.smethod_87(class2.method_3());
                }
            }
        }
        A_2.BulletCharacter = str;
        while (class2.method_9(BookmarkStart.b("䈭夯䄱䀳ᬵ吷弹䨻嬽ⰿ潁㝃㉅ㅇ♉⥋捍㉏❑㡓㩕㵗⹙", num)))
        {
            string str2 = class2.method_1();
            if (str2 != null)
            {
                if (!(str2 == BookmarkStart.b("䈭夯䄱䀳ᬵ吷弹䨻嬽ⰿ潁㑃㑅❇㩉⥋㱍⑏㭑ㅓ╕", num)))
                {
                    if (!(str2 == BookmarkStart.b("娭唯䨱䀳ᬵ䠷䠹医丽┿ぁぃ⽅ⵇ㥉", num)))
                    {
                        goto Label_00E1;
                    }
                    CharacterFormat format = Class1141.smethod_0(A_0, A_1);
                    if (format.Count > 0)
                    {
                        format.method_37(A_2.CharacterFormat);
                    }
                }
                else
                {
                    Class693.smethod_0(A_0, A_2);
                }
                continue;
            }
Label_00E1:
            class2.vmethod_1();
        }
    }
Beispiel #3
0
    internal static void smethod_0(Class857 A_0, DocumentObject A_1, CharacterFormat A_2)
    {
        int         num  = 10;
        ShapeObject obj2 = new ShapeObject(A_0.method_9());

        obj2.ShapePr.SetAttr(0x1fc, false);
        obj2.ShapePr.Remove(0x1cb);
        if (Class567.smethod_16(A_0.method_48()))
        {
            obj2.HRef = A_0.method_48();
        }
        if (Class567.smethod_16(A_0.method_50()))
        {
            obj2.Target = A_0.method_50();
        }
        A_0.method_17(null);
        Class43 class2 = smethod_4(A_0);
        Class98 class3 = (Class98)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("圯䀱唳䘵倷匹弻", num), A_0.method_20(), true);

        smethod_1(A_0, obj2.ShapePr);
        if (A_2 != null)
        {
            A_2.method_37(obj2.CharacterFormat);
        }
        double d = smethod_5(A_0, A_1, obj2, class2);

        if (double.IsNaN(d) && (obj2.ShapePr.method_31(0x1024) == null))
        {
            obj2.ShapePr.SetAttr(0x1024, Class576.smethod_41(BookmarkStart.b("ȯᰱijȵ嬷圹", num)));
        }
        if (!double.IsNaN(d) && (obj2.ShapePr.method_31(0x1024) == null))
        {
            obj2.ShapePr.SetAttr(0x1024, d);
            obj2.ShapePr.SetAttr(190, true);
        }
        class2.method_37(obj2.ShapePr);
        smethod_2(obj2, class3);
        if (obj2.ShapePr.method_31(0x1023) == null)
        {
            obj2.TextBox.method_13(TextBoxWrapMode.None);
        }
    }
Beispiel #4
0
    internal static void smethod_0(Class857 A_0, DocumentObject A_1, CharacterFormat A_2)
    {
        ShapeObject obj2 = new ShapeObject(A_0.method_9());

        if (A_2 != null)
        {
            A_2.method_37(obj2.CharacterFormat);
        }
        Class43 class2 = new Class43();
        Class43 class3 = new Class43();

        class3.SetAttr(0x103b, ShapeType.StraightConnector1);
        Class244.smethod_2(A_0, class3);
        Class746.smethod_1(A_0, class2);
        smethod_1(A_0, class3);
        obj2.ShapePr = class2;
        class3.method_37(obj2.ShapePr);
        obj2.SetShapeAttribute(0x147, 0x2a30);
        A_1.method_13(obj2);
    }
Beispiel #5
0
    internal static void smethod_0(Class857 A_0, DocumentObject A_1, CharacterFormat A_2)
    {
        string      str  = A_0.method_11().method_1();
        ShapeObject obj2 = new ShapeObject(A_0.method_9());

        if (A_2 != null)
        {
            A_2.method_37(obj2.CharacterFormat);
        }
        Class43 class2 = new Class43();
        Class43 class3 = new Class43();

        class3.SetAttr(0x103b, ShapeType.Ellipse);
        smethod_2(A_0, class3);
        Class746.smethod_1(A_0, class2);
        smethod_1(A_0, str, obj2, class3);
        obj2.ShapePr = class2;
        class3.method_37(obj2.ShapePr);
        A_1.method_13(obj2);
    }
Beispiel #6
0
    internal static void smethod_0(Class857 A_0, bool A_1)
    {
        Class101 class2 = new Class101();

        class2.method_22(new ListStyle(A_0.method_9()));
        smethod_2(A_0, class2);
        smethod_3(A_0, class2);
        for (int i = 0; i < 9; i++)
        {
            Class91 class3 = A_0.method_13().method_3((string)class2.method_23()[i], null, A_0.method_20());
            if ((class3 != null) && (class3 is Class96))
            {
                CharacterFormat format = (class3 as Class96).method_13();
                if ((format != null) && (format.Count > 0))
                {
                    format.method_37(class2.method_21().Levels[i].CharacterFormat);
                }
            }
        }
        A_0.method_13().method_1(class2, A_0.method_20(), A_1);
    }
    internal void method_0(Class857 A_0, DocumentObject A_1, CharacterFormat A_2)
    {
        int num = 0x13;

        Class576.smethod_94(1.0);
        string      str  = A_0.method_11().method_1();
        ShapeObject obj2 = new ShapeObject(A_0.method_9());

        if (A_2 != null)
        {
            A_2.method_37(obj2.CharacterFormat);
        }
        this.class43_0 = new Class43();
        this.class43_0.SetAttr(0x103b, ShapeType.NonPrimitive);
        this.method_2(A_0);
        Class746.smethod_1(A_0, obj2.ShapePr);
        this.method_1(A_0, str, obj2);
        this.class43_0.method_37(obj2.ShapePr);
        Class746.smethod_2(obj2, (Class98)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("常䤺尼伾⥀⩂♄", num), A_0.method_20(), true));
        A_1.method_13(obj2);
    }
Beispiel #8
0
    internal static void smethod_0(Class857 A_0, DocumentObject A_1, CharacterFormat A_2)
    {
        ShapeGroup group = new ShapeGroup(A_0.method_9());

        smethod_2(A_0, group);
        Class98 class2 = (Class98)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("嘰䄲吴䜶儸刺帼", 11), A_0.method_20(), true);

        if ((class2 != null) && (class2.method_45() != null))
        {
            class2.method_45().method_37(group.ShapePr);
        }
        if (A_2 != null)
        {
            A_2.method_37(group.CharacterFormat);
        }
        smethod_3(A_0, group, A_2);
        if ((group.ChildObjects.Count > 0) || !(A_1 is ShapeGroup))
        {
            smethod_1(group);
            A_1.method_13(group);
        }
    }
Beispiel #9
0
    private static void smethod_5(Class857 A_0, Class101 A_1, ListLevel A_2, string A_3)
    {
        int      num    = 14;
        Class396 class2 = A_0.method_11();

        A_2.PatternType = ListPatternType.None;
        string str  = "";
        string str2 = "";
        int    num2 = 0;
        int    num3 = 1;
        int    key  = -1;

        while (class2.method_19())
        {
            string str3 = class2.method_1();
            if (str3 != null)
            {
                int num6;
                if (Class1160.dictionary_107 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(7);
                    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);
                    Class1160.dictionary_107 = dictionary1;
                }
                if (Class1160.dictionary_107.TryGetValue(str3, out num6))
                {
                    switch (num6)
                    {
                    case 0:
                        key = class2.method_4();
                        break;

                    case 1:
                        A_2.PatternType = Class922.smethod_57(class2.method_3());
                        break;

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

                    case 3:
                        A_1.method_23()[A_2.LevelNumber] = Class576.smethod_87(class2.method_3());
                        break;

                    case 4:
                        num3 = class2.method_4();
                        break;

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

                    case 6:
                        str2 = class2.method_3();
                        break;
                    }
                }
            }
        }
        A_2.StartAt = num3;
        int num5 = A_2.LevelNumber + 1;

        if (num2 != 0)
        {
            smethod_6(num2, A_2);
        }
        else
        {
            A_2.NumberPrefix = str2;
            A_2.NumberSufix  = str;
            A_2.LevelText    = str2 + BookmarkStart.b("ᄳ", num) + num5.ToString() + str;
        }
        bool flag = false;

        while (class2.method_9(A_3))
        {
            string str4 = class2.method_1();
            if (str4 != null)
            {
                if (!(str4 == BookmarkStart.b("堳張䬷丹ᄻ刽┿㑁⅃⩅敇㩉㹋⅍⁏㝑♓≕ㅗ㽙⽛", num)))
                {
                    if (!(str4 == BookmarkStart.b("䀳匵䀷丹ᄻ丽㈿ⵁ㑃⍅㩇㹉╋⭍⍏", num)))
                    {
                        goto Label_022E;
                    }
                    CharacterFormat format = Class1141.smethod_0(A_0, A_1);
                    if (format.Count > 0)
                    {
                        format.method_37(A_2.CharacterFormat);
                    }
                }
                else
                {
                    Class693.smethod_0(A_0, A_2);
                    flag = true;
                }
                continue;
            }
Label_022E:
            class2.vmethod_1();
        }
        if (key != -1)
        {
            A_1.hashtable_0.Add(key, flag);
        }
    }