예제 #1
0
    private static void smethod_1(Class581 A_0, RowFormat A_1)
    {
        int      num    = 8;
        Class394 class2 = A_0.imethod_1();

        if (A_0.vmethod_1())
        {
            Class9 class3 = Class402.smethod_0(A_0, MarkupLevel.Cell);
            A_0.method_3(class3);
            while (class2.method_9(class3.method_22()))
            {
                smethod_1(A_0, A_1);
            }
            A_0.method_5(DocumentObjectType.CustomXml);
        }
        else
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (str == BookmarkStart.b("娭刯帱搳䐵紷䈹", num))
                {
                    Class829.smethod_2(A_1, A_0);
                    return;
                }
                if (str == BookmarkStart.b("娭䈯戱䘳", num))
                {
                    Class1131.smethod_0(A_1, A_0);
                    return;
                }
                if (str == BookmarkStart.b("娭匯", num))
                {
                    Class251.smethod_0(A_0);
                    return;
                }
                if (str == BookmarkStart.b("伭帯就嬳䈵夷丹唻儽⸿", num))
                {
                    TableRow  lastRow   = A_0.Interface50.imethod_0().LastSection.Tables[A_0.Interface50.imethod_0().LastSection.Tables.Count - 1].LastRow;
                    TableCell cell      = lastRow.Cells[lastRow.Cells.Count - 1];
                    Paragraph paragraph = cell.Items[cell.Items.Count - 1] as Paragraph;
                    if (paragraph == null)
                    {
                        paragraph = cell.AddParagraph();
                    }
                    Class519.smethod_1(A_0, paragraph);
                    return;
                }
            }
            string str2 = class2.method_1();
            while (class2.method_9(str2))
            {
                smethod_1(A_0, A_1);
            }
        }
    }
예제 #2
0
    internal static void smethod_1(Class581 A_0, RowFormat A_1)
    {
        int      num    = 10;
        Class394 class2 = A_0.imethod_1();

        class2.method_18();
        if (A_0.vmethod_1())
        {
            Class9 class3 = Class402.smethod_0(A_0, MarkupLevel.Row);
            A_0.method_3(class3);
            while (class2.method_9(class3.method_22()))
            {
                smethod_1(A_0, A_1);
            }
            A_0.method_5(DocumentObjectType.CustomXml);
        }
        else
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (str == BookmarkStart.b("䐯倱堳昵䨷", num))
                {
                    Class829.smethod_0(A_1, A_0, false);
                    ((Table)A_0.method_13()).TableFormat.ImportContainer(A_1);
                    return;
                }
                if (str == BookmarkStart.b("䐯倱堳焵䨷匹堻", num))
                {
                    Class532.smethod_1(class2, ((Table)A_0.method_13()).TableFormat);
                    return;
                }
                if (str == BookmarkStart.b("䐯䀱", num))
                {
                    Class912.smethod_0(A_0, A_1);
                    return;
                }
                if (str == BookmarkStart.b("儯就娳夵䰷嬹䠻圽⼿ⱁ", num))
                {
                    TableRow  lastRow   = A_0.Interface50.imethod_0().LastSection.Tables[A_0.Interface50.imethod_0().LastSection.Tables.Count - 1].LastRow;
                    TableCell cell      = lastRow.Cells[lastRow.Cells.Count - 1];
                    Paragraph paragraph = cell.Items[cell.Items.Count - 1] as Paragraph;
                    if (paragraph == null)
                    {
                        paragraph = cell.AddParagraph();
                    }
                    Class519.smethod_1(A_0, paragraph);
                    return;
                }
            }
            smethod_3(A_0, A_1);
        }
    }
예제 #3
0
    private static bool smethod_6(Class581 A_0, Paragraph A_1)
    {
        int      num    = 0;
        bool     flag   = false;
        Class394 class2 = A_0.imethod_1();

        if (A_0.vmethod_1() && !smethod_5(A_0))
        {
            Class9 class3 = Class402.smethod_0(A_0, MarkupLevel.Inline);
            A_0.method_3(class3);
            while (class2.method_9(class3.method_22()))
            {
                flag = smethod_6(A_0, A_1);
            }
            A_0.method_5(DocumentObjectType.CustomXml);
            return(flag);
        }
        string str = class2.method_1();

        if (str != null)
        {
            if (str == BookmarkStart.b("嘥砧堩", num))
            {
                return(Class924.smethod_0(A_0, A_1.Format, A_1.BreakCharacterFormat));
            }
            if (str != BookmarkStart.b("䨥䄧天堫縭䈯", num))
            {
                if ((str == BookmarkStart.b("嘥䴧堩䄫紭䐯匱䘳䈵", num)) || (str == BookmarkStart.b("嘥䴧堩䄫欭帯嘱", num)))
                {
                    Class464.smethod_1(A_0);
                    return(flag);
                }
                if (str == BookmarkStart.b("䜥䘧䐩䌫娭儯䘱崳夵嘷", num))
                {
                    Class519.smethod_1(A_0, A_1);
                    return(flag);
                }
            }
            else
            {
                Class924.smethod_7(A_0, A_1.Format);
                return(flag);
            }
        }
        Class464.smethod_1(A_0);
        return(flag);
    }
예제 #4
0
    private static void smethod_18(Class581 A_0, CharacterFormat A_1)
    {
        Comment comment;
        int     num = 0x13;

        smethod_4(A_0, A_1);
        if (A_0.vmethod_5())
        {
            int num2 = A_0.imethod_1().method_13(BookmarkStart.b("倸强", num), 0);
            comment = A_0.vmethod_4(num2);
        }
        else
        {
            comment = Class519.smethod_18(A_1, A_0);
        }
        if (comment != null)
        {
            A_0.method_9(comment);
            comment.CharacterFormat.method_25(A_1);
        }
    }
예제 #5
0
    internal static void smethod_0(Class581 A_0, Section A_1)
    {
        int      num       = 15;
        bool     isDefault = A_1.SectPr.IsDefault;
        Class17  sectPr    = A_1.SectPr;
        Class394 class3    = A_0.imethod_1();

        if (A_0.vmethod_5())
        {
            while (class3.method_19())
            {
                string str2;
                if (((str2 = class3.method_1()) != null) && (str2 == BookmarkStart.b("䜴䐶倸强渼娾≀㝂", num)))
                {
                    int num3 = Class114.smethod_7(class3.method_3());
                    if (num3 != -2147483648)
                    {
                        sectPr.SetAttr(0x8ca, num3);
                    }
                }
            }
        }
        while (class3.method_9(BookmarkStart.b("䘴制娸伺洼䴾", num)))
        {
            string key = class3.method_1();
            if (key != null)
            {
                int num2;
                if (Class1160.dictionary_220 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x18);
                    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);
                    dictionary1.Add(BookmarkStart.b("䘴制娸伺洼䴾ɀ⭂⑄⥆⹈⹊", num), 0x16);
                    dictionary1.Add(BookmarkStart.b("吴夶圸吺䤼帾㕀⩂⩄⥆", num), 0x17);
                    Class1160.dictionary_220 = dictionary1;
                }
                if (Class1160.dictionary_220.TryGetValue(key, out num2))
                {
                    switch (num2)
                    {
                    case 2:
                    case 3:
                        smethod_1(A_1, A_0);
                        break;

                    case 4:
                        Class913.smethod_7(A_0, class3.method_1(), sectPr.method_139());
                        break;

                    case 5:
                        Class913.smethod_7(A_0, class3.method_1(), sectPr.method_138());
                        break;

                    case 6:
                        sectPr.SetAttr(0x7ee, Class339.smethod_20(class3.method_28()));
                        break;

                    case 7:
                        smethod_2(class3, sectPr);
                        break;

                    case 8:
                        smethod_3(class3, sectPr);
                        break;

                    case 9:
                        smethod_4(class3, sectPr);
                        break;

                    case 10:
                        smethod_5(class3, sectPr, A_1.PageSetup.Borders);
                        break;

                    case 11:
                        smethod_6(class3, sectPr);
                        break;

                    case 12:
                        smethod_7(A_0, sectPr);
                        break;

                    case 13:
                        smethod_8(class3, sectPr, A_1);
                        break;

                    case 14:
                        sectPr.SetAttr(0x956, !class3.method_31());
                        break;

                    case 15:
                        sectPr.SetAttr(0x924, Class339.smethod_8(class3.method_28()));
                        break;

                    case 0x10:
                        sectPr.SetAttr(0x834, class3.method_31());
                        break;

                    case 0x11:
                        sectPr.SetAttr(0x7f8, class3.method_31());
                        break;

                    case 0x12:
                        sectPr.SetAttr(0x988, Class911.smethod_4(class3.method_28()));
                        break;

                    case 0x13:
                        sectPr.SetAttr(0x992, class3.method_31());
                        break;

                    case 20:
                        sectPr.SetAttr(0x96a, class3.method_31());
                        break;

                    case 0x15:
                        smethod_10(class3, sectPr);
                        break;

                    case 0x17:
                        Class519.smethod_8(sectPr, A_0);
                        break;
                    }
                }
            }
        }
    }
예제 #6
0
    internal static void smethod_0(RowFormat A_0, Class581 A_1)
    {
        int      num    = 5;
        Class394 class2 = A_1.imethod_1();
        string   str    = class2.method_1();

        while (class2.method_9(str))
        {
            string key = class2.method_1();
            if (key != null)
            {
                int num2;
                if (Class1160.dictionary_230 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(12);
                    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);
                    Class1160.dictionary_230 = dictionary1;
                }
                if (Class1160.dictionary_230.TryGetValue(key, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                    {
                        class2.method_26();
                        continue;
                    }

                    case 1:
                    {
                        class2.vmethod_1();
                        continue;
                    }

                    case 2:
                    {
                        smethod_1(A_0.GridBeforeWidth, class2.method_44());
                        continue;
                    }

                    case 3:
                    {
                        smethod_1(A_0.GridAfterWidth, class2.method_44());
                        continue;
                    }

                    case 4:
                    {
                        A_0.GridBefore = class2.method_29();
                        continue;
                    }

                    case 5:
                    {
                        A_0.GridAfter = class2.method_29();
                        continue;
                    }

                    case 6:
                    {
                        A_0.IsBreakAcrossPages = !class2.method_31();
                        continue;
                    }

                    case 7:
                    {
                        smethod_2(A_0, class2);
                        continue;
                    }

                    case 8:
                    {
                        A_0.IsHeader = class2.method_31();
                        continue;
                    }

                    case 9:
                    {
                        A_0.CellSpacingEx = class2.method_42();
                        continue;
                    }

                    case 10:
                    {
                        A_0.HorizontalAlignment = Class859.smethod_0(class2.method_28());
                        continue;
                    }

                    case 11:
                    {
                        Class519.smethod_11(A_1, A_0);
                        continue;
                    }
                    }
                }
            }
            class2.vmethod_1();
        }
    }
예제 #7
0
    internal static bool smethod_0(Class581 A_0, ParagraphFormat A_1, CharacterFormat A_2)
    {
        int      num    = 0x13;
        bool     flag   = false;
        Class394 class2 = A_0.imethod_1();

        while (class2.method_9(BookmarkStart.b("䤸欺似", num)))
        {
            string key = class2.method_1();
            if (key != null)
            {
                int num4;
                if (Class1160.dictionary_196 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x24);
                    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("丸刺夼倾㙀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);
                    dictionary1.Add(BookmarkStart.b("䨸唺尼伾ᕀⱂɄ㕆⁈⽊", num), 0x16);
                    dictionary1.Add(BookmarkStart.b("䨸䬺尼尾⡀ⵂ≄", num), 0x17);
                    dictionary1.Add(BookmarkStart.b("倸唺夼", num), 0x18);
                    dictionary1.Add(BookmarkStart.b("娸吺匼䬾⑀㭂ㅄ㉆⡈❊Ṍ㽎ぐげ㱔㥖㹘", num), 0x19);
                    dictionary1.Add(BookmarkStart.b("䨸为䴼伾㍀♂㙄㑆و㵊⡌㵎㵐㉒╔", num), 0x1a);
                    dictionary1.Add(BookmarkStart.b("匸堺", num), 0x1b);
                    dictionary1.Add(BookmarkStart.b("䴸帺䔼䬾Հ⩂㝄≆⩈㽊⑌⁎㽐", num), 0x1c);
                    dictionary1.Add(BookmarkStart.b("䴸帺䔼䬾@⽂ⱄ⁆❈♊⡌ⅎ═", num), 0x1d);
                    dictionary1.Add(BookmarkStart.b("嘸为䤼匾⡀ⵂ⁄୆㽈❊", num), 30);
                    dictionary1.Add(BookmarkStart.b("䬸欺似", num), 0x1f);
                    dictionary1.Add(BookmarkStart.b("䨸帺帼䬾ᅀㅂ", num), 0x20);
                    dictionary1.Add(BookmarkStart.b("䤸欺似簾⥀≂⭄⁆ⱈ", num), 0x21);
                    dictionary1.Add(BookmarkStart.b("堸唺匼倾㕀≂ㅄ⹆♈╊", num), 0x22);
                    dictionary1.Add(BookmarkStart.b("吸刺似䴾⹀ㅂౄ⥆ⵈ⹊⍌㭎≐", num), 0x23);
                    Class1160.dictionary_196 = dictionary1;
                }
                if (Class1160.dictionary_196.TryGetValue(key, out num4))
                {
                    switch (num4)
                    {
                    case 0:
                    {
                        string str  = class2.method_28();
                        int    num3 = A_0.Interface58.imethod_0(str, 0);
                        A_1.SetAttr(0x3e8, num3);
                        if (!string.IsNullOrEmpty(str))
                        {
                            str = str.Trim();
                            if ((A_1.OwnerBase is Paragraph) && A_1.OwnerBase.Document.StyleNameIds.ContainsKey(str))
                            {
                                IParagraphStyle style = A_1.OwnerBase.Document.Styles.FindByName(A_1.OwnerBase.Document.StyleNameIds[str], StyleType.ParagraphStyle) as IParagraphStyle;
                                if (style != null)
                                {
                                    A_1.SetAttr(0x3e8, (style as Style).Istd);
                                    (A_1.OwnerBase as Paragraph).method_65(style);
                                }
                            }
                        }
                        continue;
                    }

                    case 1:
                    {
                        A_1.SetAttr(0x41a, class2.method_31());
                        continue;
                    }

                    case 2:
                    {
                        A_1.SetAttr(0x410, class2.method_31());
                        continue;
                    }

                    case 3:
                    {
                        A_1.SetAttr(0x424, class2.method_31());
                        continue;
                    }

                    case 4:
                    {
                        smethod_1(class2, A_1);
                        continue;
                    }

                    case 5:
                    {
                        A_1.SetAttr(0x5be, class2.method_31());
                        continue;
                    }

                    case 6:
                    case 7:
                    {
                        smethod_7(A_0, A_1);
                        continue;
                    }

                    case 8:
                    case 9:
                    {
                        A_1.SetAttr(0x46a, class2.method_31());
                        continue;
                    }

                    case 10:
                    {
                        smethod_6(class2, A_1);
                        continue;
                    }

                    case 11:
                    {
                        A_1.SetAttr(0x5b4, class2.method_39());
                        continue;
                    }

                    case 12:
                    {
                        smethod_5(class2, A_1);
                        continue;
                    }

                    case 13:
                    {
                        A_1.SetAttr(0x582, class2.method_31());
                        continue;
                    }

                    case 14:
                    {
                        A_1.SetAttr(0x42e, class2.method_31());
                        continue;
                    }

                    case 15:
                    {
                        A_1.SetAttr(0x438, class2.method_31());
                        continue;
                    }

                    case 0x10:
                    {
                        A_1.SetAttr(0x442, class2.method_31());
                        continue;
                    }

                    case 0x11:
                    {
                        A_1.SetAttr(0x44c, class2.method_31());
                        continue;
                    }

                    case 0x12:
                    {
                        A_1.SetAttr(0x4d8, class2.method_31());
                        continue;
                    }

                    case 0x13:
                    {
                        A_1.SetAttr(0x4e2, class2.method_31());
                        continue;
                    }

                    case 20:
                    {
                        A_1.SetAttr(0x618, class2.method_31());
                        continue;
                    }

                    case 0x15:
                    {
                        A_1.SetAttr(0x4f6, class2.method_31());
                        continue;
                    }

                    case 0x16:
                    {
                        A_1.SetAttr(0x4ec, class2.method_31());
                        continue;
                    }

                    case 0x17:
                    {
                        smethod_3(class2, A_1);
                        continue;
                    }

                    case 0x18:
                    {
                        smethod_2(class2, A_1);
                        continue;
                    }

                    case 0x19:
                    {
                        A_1.SetAttr(0x3fe, class2.method_31());
                        continue;
                    }

                    case 0x1a:
                    {
                        A_1.SetAttr(0x67c, class2.method_31());
                        continue;
                    }

                    case 0x1b:
                    {
                        A_1.SetAttr(0x3fc, Class248.smethod_18(class2.method_28(), false));
                        continue;
                    }

                    case 0x1c:
                    {
                        A_1.SetAttr(0x5c8, Class417.smethod_38(class2.method_28()));
                        continue;
                    }

                    case 0x1d:
                    {
                        A_1.SetAttr(0x5e6, Class248.smethod_0(class2.method_28()));
                        continue;
                    }

                    case 30:
                    {
                        int num2 = class2.method_29();
                        A_1.SetAttr(0x500, ((num2 < 0) || (num2 > 9)) ? ((byte)9) : ((byte)((OutlineLevel)Enum.ToObject(typeof(OutlineLevel), num2))));
                        continue;
                    }

                    case 0x1f:
                    {
                        Class733.smethod_0(A_0, A_2);
                        continue;
                    }

                    case 0x20:
                    {
                        Class980.smethod_0(A_0, ((Paragraph)A_0.method_13()).method_49());
                        flag = true;
                        continue;
                    }

                    case 0x21:
                    {
                        continue;
                    }

                    case 0x22:
                    {
                        Class519.smethod_7(A_0, A_1, A_2);
                        continue;
                    }

                    case 0x23:
                    {
                        A_1.SetAttr(0x479, class2.method_31());
                        continue;
                    }
                    }
                }
            }
            Class733.smethod_1(A_0, A_2);
        }
        return(flag);
    }
예제 #8
0
    internal static void smethod_1(Class581 A_0, CharacterFormat A_1)
    {
        int      num    = 1;
        Class394 class2 = A_0.imethod_1();
        string   key    = class2.method_1();

        if (key != null)
        {
            int num2;
            if (Class1160.dictionary_126 == null)
            {
                Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x2b);
                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);
                dictionary1.Add(BookmarkStart.b("䰦䰨太䌬", num), 0x16);
                dictionary1.Add(BookmarkStart.b("圦䘨堪䐬嬮堰尲嬴", num), 0x17);
                dictionary1.Add(BookmarkStart.b("否匨", num), 0x18);
                dictionary1.Add(BookmarkStart.b("否匨ت丬尮", num), 0x19);
                dictionary1.Add(BookmarkStart.b("伦䀨䰪䔬䌮堰吲崴䌶", num), 0x1a);
                dictionary1.Add(BookmarkStart.b("刦", num), 0x1b);
                dictionary1.Add(BookmarkStart.b("䈦伨䴪䠬䰮䔰", num), 0x1c);
                dictionary1.Add(BookmarkStart.b("䔦䴨太", num), 0x1d);
                dictionary1.Add(BookmarkStart.b("否䄨伪", num), 30);
                dictionary1.Add(BookmarkStart.b("䄦䀨弪礬䨮䤰䜲", num), 0x1f);
                dictionary1.Add(BookmarkStart.b("儦䰨太夬渮崰娲刴夶", num), 0x20);
                dictionary1.Add(BookmarkStart.b("唦崨䜪", num), 0x21);
                dictionary1.Add(BookmarkStart.b("䐦娨", num), 0x22);
                dictionary1.Add(BookmarkStart.b("䈦䐨", num), 0x23);
                dictionary1.Add(BookmarkStart.b("伦倨嬪䔬䨮弰", num), 0x24);
                dictionary1.Add(BookmarkStart.b("䬦䠨䔪䨬", num), 0x25);
                dictionary1.Add(BookmarkStart.b("䘦娨䈪䰬䄮細刲䰴堶䰸伺", num), 0x26);
                dictionary1.Add(BookmarkStart.b("否夨个丬礮倰崲尴䐶儸", num), 0x27);
                dictionary1.Add(BookmarkStart.b("否倨䘪", num), 40);
                dictionary1.Add(BookmarkStart.b("䘦䜨䔪䈬嬮倰䜲尴堶圸", num), 0x29);
                dictionary1.Add(BookmarkStart.b("䀦嬨䈪䤬簮䄰刲嬴", num), 0x2a);
                Class1160.dictionary_126 = dictionary1;
            }
            if (Class1160.dictionary_126.TryGetValue(key, out num2))
            {
                switch (num2)
                {
                case 0:
                {
                    string str4 = class2.method_28();
                    if (A_0.Interface50.imethod_0().StyleNameIds.ContainsKey(str4))
                    {
                        A_1.CharStyleName = A_0.Interface50.imethod_0().StyleNameIds[str4];
                    }
                    return;
                }

                case 1:
                    smethod_4(A_1, class2);
                    return;

                case 2:
                    if (!A_1.method_72(230))
                    {
                        A_1.SetAttr(230, class2.method_28());
                    }
                    return;

                case 3:
                    A_1.SetAttr(60, class2.method_32());
                    return;

                case 4:
                    A_1.SetAttr(250, class2.method_32());
                    return;

                case 5:
                    A_1.SetAttr(70, class2.method_32());
                    return;

                case 6:
                    A_1.SetAttr(260, class2.method_32());
                    return;

                case 7:
                    A_1.SetAttr(120, class2.method_32());
                    return;

                case 8:
                    A_1.SetAttr(110, class2.method_32());
                    return;

                case 9:
                    A_1.SetAttr(80, class2.method_32());
                    return;

                case 10:
                    A_1.SetAttr(300, class2.method_32());
                    return;

                case 11:
                    A_1.SetAttr(90, class2.method_32());
                    return;

                case 12:
                    A_1.SetAttr(100, class2.method_32());
                    return;

                case 13:
                    A_1.SetAttr(170, class2.method_32());
                    return;

                case 14:
                    A_1.SetAttr(180, class2.method_32());
                    return;

                case 15:
                    A_1.SetAttr(440, class2.method_32());
                    return;

                case 0x10:
                    A_1.SetAttr(130, class2.method_32());
                    return;

                case 0x11:
                    A_1.SetAttr(330, class2.method_32());
                    return;

                case 0x12:
                    A_1.SetAttr(0x84, class2.method_32());
                    return;

                case 0x13:
                {
                    string str3 = class2.method_28();
                    if (str3 != null)
                    {
                        A_1.SetAttr(160, Class114.smethod_13(str3));
                    }
                    return;
                }

                case 20:
                {
                    float num3 = class2.method_29();
                    if (num3 != float.MaxValue)
                    {
                        A_1.SetAttr(150, num3 / 20f);
                    }
                    return;
                }

                case 0x15:
                {
                    string str6 = class2.method_28();
                    if (!string.IsNullOrEmpty(str6))
                    {
                        short num5 = short.Parse(str6.Replace(BookmarkStart.b("Ȧ", num), string.Empty), NumberStyles.Integer, CultureInfo.InvariantCulture);
                        A_1.SetAttr(290, num5);
                    }
                    return;
                }

                case 0x16:
                    A_1.SetAttr(220, float.Parse(class2.method_29().ToString(), NumberStyles.Number, CultureInfo.InvariantCulture) / 2f);
                    return;

                case 0x17:
                    A_1.SetAttr(200, ((float)class2.method_29()) / 2f);
                    return;

                case 0x18:
                {
                    string s = class2.method_28();
                    if (s != null)
                    {
                        A_1.SetAttr(190, float.Parse(s, NumberStyles.Number, CultureInfo.InvariantCulture) / 2f);
                    }
                    return;
                }

                case 0x19:
                {
                    string str5 = class2.method_28();
                    if (str5 != null)
                    {
                        A_1.SetAttr(350, float.Parse(str5, NumberStyles.Number, CultureInfo.InvariantCulture) / 2f);
                    }
                    return;
                }

                case 0x1a:
                {
                    Color color = Class860.smethod_19(class2.method_28());
                    if (color != Color.Empty)
                    {
                        A_1.SetAttr(20, color);
                    }
                    return;
                }

                case 0x1b:
                    smethod_5(A_1, class2);
                    return;

                case 0x1c:
                    A_1.SetAttr(310, Class860.smethod_15(class2.method_28()));
                    return;

                case 0x1d:
                    class2.method_36(A_1.Border);
                    return;

                case 30:
                    A_1.SetAttr(370, class2.method_39());
                    return;

                case 0x1f:
                    class2.vmethod_1();
                    return;

                case 0x20:
                    A_1.SetAttr(210, Class860.smethod_21(class2.method_28()));
                    return;

                case 0x21:
                    A_1.SetAttr(0x109, class2.method_32());
                    return;

                case 0x22:
                    A_1.SetAttr(0x10c, class2.method_32());
                    return;

                case 0x23:
                    A_1.SetAttr(770, Class860.smethod_3(class2.method_28()));
                    return;

                case 0x24:
                    smethod_6(A_1, class2);
                    return;

                case 0x25:
                    smethod_7(A_1, class2);
                    return;

                case 0x26:
                    smethod_3(A_1, class2);
                    return;

                case 0x27:
                    A_1.SetAttr(10, class2.method_32());
                    return;

                case 40:
                    class2.method_26();
                    return;

                case 0x29:
                    Class519.smethod_15(A_1, A_0);
                    return;

                case 0x2a:
                {
                    TableCell parentObject = A_0.method_13().ParentObject as TableCell;
                    if (parentObject != null)
                    {
                        parentObject.CellFormat.GridSpan = (short)class2.method_29();
                    }
                    return;
                }
                }
            }
        }
        if (!smethod_2(A_0, A_1))
        {
            class2.vmethod_1();
        }
    }
예제 #9
0
    internal static void smethod_1(Class581 A_0)
    {
        int    num = 15;
        string key = A_0.imethod_1().method_1();

        if (key != null)
        {
            int num2;
            if (Class1160.dictionary_37 == 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_37 = dictionary1;
            }
            if (Class1160.dictionary_37.TryGetValue(key, out num2))
            {
                switch (num2)
                {
                case 0:
                    Class519.smethod_0(A_0);
                    return;

                case 1:
                    return;

                case 2:
                    Class249.smethod_0(A_0);
                    return;

                case 3:
                    Class630.smethod_0(A_0);
                    return;

                case 4:
                    if ((A_0.imethod_1().method_54().Count > 0) && (A_0.imethod_1().method_54().Peek() is MergeField))
                    {
                        A_0.imethod_1().method_54().Pop();
                    }
                    Class802.smethod_0(A_0);
                    return;

                case 5:
                case 6:
                    smethod_4(A_0);
                    return;

                case 7:
                    smethod_5(A_0);
                    return;

                case 8:
                    smethod_6(A_0);
                    return;
                }
            }
        }
        if (A_0.vmethod_0())
        {
            smethod_9(A_0);
        }
        else if (!Class249.smethod_11(A_0, new CharacterFormat(A_0.Interface50.imethod_0())))
        {
            smethod_0(A_0);
        }
    }
예제 #10
0
    private static void smethod_3(RowFormat A_0, Class581 A_1)
    {
        int      num    = 4;
        Class394 class2 = A_1.imethod_1();
        string   key    = class2.method_1();

        if (key != null)
        {
            int num2;
            if (Class1160.dictionary_153 == null)
            {
                Dictionary <string, int> dictionary1 = new Dictionary <string, int>(10);
                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);
                Class1160.dictionary_153 = dictionary1;
            }
            if (Class1160.dictionary_153.TryGetValue(key, out num2))
            {
                switch (num2)
                {
                case 0:
                    class2.method_46(A_0);
                    return;

                case 1:
                    A_0.HorizontalAlignment = Class859.smethod_0(class2.method_28());
                    return;

                case 2:
                    A_0.SetAttr(0x10c2, class2.method_42());
                    return;

                case 3:
                    A_0.SetAttr(0x10f4, class2.method_42());
                    return;

                case 4:
                    smethod_4(A_0, class2);
                    return;

                case 5:
                    A_0.SetAttr(0x10ea, class2.method_39());
                    return;

                case 6:
                    smethod_5(A_0, class2);
                    return;

                case 7:
                    smethod_6(A_0, class2);
                    return;

                case 8:
                    A_0.SetAttr(0x102c, Class531.smethod_2(Class114.smethod_8(class2.method_28())));
                    return;

                case 9:
                    Class519.smethod_10(A_1, A_0);
                    return;
                }
            }
        }
        class2.vmethod_1();
    }
예제 #11
0
    internal static void smethod_2(Class581 A_0)
    {
        int      num    = 4;
        bool     flag   = false;
        Class394 class2 = A_0.imethod_1();

        if (A_0.vmethod_1())
        {
            Class9 class3 = Class402.smethod_0(A_0, MarkupLevel.Block);
            A_0.method_3(class3);
            while (class2.method_9(class3.method_22()))
            {
                smethod_2(A_0);
            }
            if (A_0.method_13().DocumentObjectType == DocumentObjectType.CustomXml)
            {
                A_0.method_5(DocumentObjectType.CustomXml);
                return;
            }
            return;
        }
        string key = class2.method_1();

        if (key != null)
        {
            int num2;
            if (Class1160.dictionary_115 == 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_115 = dictionary1;
            }
            if (Class1160.dictionary_115.TryGetValue(key, out num2))
            {
                switch (num2)
                {
                case 0:
                    flag = Class518.smethod_0(A_0, list_0, list_1, list_2, list_3);
                    goto Label_01C9;

                case 1:
                    Class1080.smethod_0(A_0);
                    goto Label_01C9;

                case 2:
                    Class519.smethod_2(A_0, A_0.Interface50.imethod_0().LastParagraph, list_0, list_1);
                    goto Label_01C9;

                case 3:
                    if (A_0.method_13().DocumentObjectType == DocumentObjectType.Body)
                    {
                        Body body = (Body)A_0.method_13();
                        Class980.smethod_0(A_0, body.ParentSection);
                    }
                    smethod_1(A_0);
                    goto Label_01C9;

                case 4:
                    A_0.imethod_9();
                    goto Label_01C9;

                case 5:
                    smethod_3(A_0);
                    goto Label_01C9;

                case 6:
                    smethod_4(A_0);
                    goto Label_01C9;
                }
            }
        }
        smethod_1(A_0);
Label_01C9:
        if (flag)
        {
            if (A_0.method_13().DocumentObjectType == DocumentObjectType.CustomXml)
            {
                while (A_0.method_13().DocumentObjectType == DocumentObjectType.CustomXml)
                {
                    Class9 class4 = (Class9)A_0.method_13();
                    A_0.method_5(DocumentObjectType.CustomXml);
                    while (class4.HasChildElements)
                    {
                        class4.Owner.method_17(class4.LastChild, class4);
                    }
                    class4.method_19();
                }
            }
            A_0.method_5(DocumentObjectType.Body);
            A_0.method_5(DocumentObjectType.Section);
            Section section = A_0.Interface50.imethod_0().AddSection();
            A_0.method_4(section);
            A_0.method_4(section.Body);
        }
    }
예제 #12
0
    internal static void smethod_0(Class581 A_0, CellFormat A_1)
    {
        int      num    = 0;
        Class394 class2 = A_0.imethod_1();

        A_1.SetAttr(0xc6c, true);
        A_1.SetAttr(0xc76, false);
        A_1.SetAttr(0xbe0, CellMerge.None);
        A_1.SetAttr(0xbd6, CellMerge.None);
        A_1.SetAttr(0xbf4, VerticalAlignment.Top);
        A_1.SetAttr(0xbea, TextDirection.TopToBottom);
        class2.method_18();
        string str = class2.method_1();

        while (class2.method_9(str))
        {
            string str2;
            string str3;
            string key = class2.method_1();
            if (key != null)
            {
                int num2;
                if (Class1160.dictionary_33 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x12);
                    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);
                    Class1160.dictionary_33 = dictionary1;
                }
                if (Class1160.dictionary_33.TryGetValue(key, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                    {
                        class2.method_26();
                        continue;
                    }

                    case 1:
                    {
                        class2.method_45(A_1);
                        continue;
                    }

                    case 2:
                    {
                        short num3 = (short)class2.method_29();
                        A_1.GridSpan = num3;
                        continue;
                    }

                    case 3:
                    case 4:
                        goto Label_0291;

                    case 5:
                    case 6:
                        goto Label_02C6;

                    case 7:
                    {
                        smethod_1(class2, A_1);
                        continue;
                    }

                    case 8:
                    {
                        A_1.SetAttr(0xc62, class2.method_39());
                        continue;
                    }

                    case 9:
                    {
                        A_1.SetAttr(0xc6c, !class2.method_31());
                        continue;
                    }

                    case 10:
                    {
                        A_1.SetAttr(0xc94, class2.method_31());
                        continue;
                    }

                    case 11:
                    {
                        A_1.SamePaddingsAsTable = false;
                        smethod_2(class2, A_1);
                        continue;
                    }

                    case 12:
                    case 13:
                    {
                        A_1.SetAttr(0xbea, Class417.smethod_38(class2.method_28()));
                        continue;
                    }

                    case 14:
                    {
                        A_1.SetAttr(0xc76, class2.method_31());
                        continue;
                    }

                    case 15:
                    {
                        A_1.SetAttr(0xbf4, Class859.smethod_6(class2.method_28()));
                        continue;
                    }

                    case 0x10:
                    {
                        continue;
                    }

                    case 0x11:
                    {
                        Class519.smethod_9(A_1, A_0);
                        continue;
                    }
                    }
                }
            }
            goto Label_03BA;
Label_0291:
            str3 = class2.method_28();
            if (str3 == null)
            {
                str3 = BookmarkStart.b("䔥䜧䐩堫䜭帯䜱儳", num);
            }
            A_1.SetAttr(0xbe0, Class859.smethod_4(str3));
            continue;
Label_02C6:
            str2 = class2.method_28();
            if (str2 == null)
            {
                str2 = BookmarkStart.b("䔥䜧䐩堫䜭帯䜱儳", num);
            }
            A_1.SetAttr(0xbd6, Class859.smethod_4(str2));
            continue;
Label_03BA:
            class2.vmethod_1();
        }
    }