コード例 #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
 public abstract void Visit(Class402 c);
コード例 #5
0
 public override void Visit(Class402 c) { }
コード例 #6
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);
        }
    }