Пример #1
0
    private static void smethod_3(Class581 A_0, RowFormat A_1)
    {
        int      num    = 7;
        Class394 class2 = A_0.imethod_1();
        string   str    = class2.method_1();

        if (str != null)
        {
            if (str == BookmarkStart.b("夬䴮崰", num))
            {
                smethod_2(A_0, A_1);
                smethod_0(A_0);
                A_0.method_3(new Table(A_0.Interface50.imethod_0()));
                return;
            }
            if (str == BookmarkStart.b("崬", num))
            {
                smethod_2(A_0, A_1);
                Class629.smethod_2(A_0);
                A_0.method_3(new Table(A_0.Interface50.imethod_0()));
                return;
            }
            if (str == BookmarkStart.b("帬䨮到䜲攴䔶", num))
            {
                class2.method_26();
                return;
            }
        }
        string str2 = class2.method_1();

        while (class2.method_9(str2))
        {
            smethod_1(A_0, A_1);
        }
    }
Пример #2
0
    internal static bool smethod_0(Class581 A_0, List <BookmarkStart> A_1, List <BookmarkEnd> A_2, List <PermissionStart> A_3, List <PermissionEnd> A_4)
    {
        int       num       = 0x10;
        bool      flag      = false;
        Paragraph paragraph = new Paragraph(A_0.Interface50.imethod_0());

        if (A_0.Interface50.imethod_0().Styles.DefaultParaStyle != null)
        {
            paragraph.method_65(A_0.Interface50.imethod_0().Styles.DefaultParaStyle);
        }
        smethod_1(paragraph, A_1);
        smethod_2(paragraph, A_2);
        smethod_3(paragraph, A_3);
        smethod_4(paragraph, A_4);
        A_0.method_3(paragraph);
        A_0.method_7();
        Class394 class2 = A_0.imethod_1();

        while (class2.method_9(BookmarkStart.b("䘵", num)))
        {
            if (smethod_6(A_0, paragraph))
            {
                flag = true;
            }
        }
        A_0.method_5(DocumentObjectType.Paragraph);
        return(flag);
    }
Пример #3
0
    internal static void smethod_0(Class581 A_0)
    {
        int       num  = 0;
        TableCell cell = new TableCell(A_0.Interface50.imethod_0());

        A_0.method_3(cell);
        Class394 class2 = A_0.imethod_1();

        while (class2.method_9(BookmarkStart.b("別䬧", num)))
        {
            string str = class2.method_1();
            if (str != null)
            {
                if (!(str == BookmarkStart.b("別䬧稩師", num)))
                {
                    if (!(str == BookmarkStart.b("別䬧紩", num)))
                    {
                        goto Label_006E;
                    }
                    class2.method_45(cell.CellFormat);
                }
                else
                {
                    Class419.smethod_0(A_0, cell.CellFormat);
                }
                continue;
            }
Label_006E:
            Class629.smethod_2(A_0);
        }
        A_0.method_5(DocumentObjectType.TableCell);
    }
Пример #4
0
 internal static void smethod_13(Class581 A_0)
 {
     A_0.method_5(DocumentObjectType.Paragraph);
     if (!A_0.vmethod_5())
     {
         Class518.smethod_0(A_0, null, null, null, null);
     }
     A_0.method_3(new Paragraph(A_0.Interface50.imethod_0()));
 }
Пример #5
0
 private static void smethod_12(Class581 A_0)
 {
     A_0.method_5(DocumentObjectType.Paragraph);
     if (!A_0.vmethod_5())
     {
         Class1080.smethod_0(A_0);
     }
     A_0.method_3(new Paragraph(A_0.Interface50.imethod_0()));
 }
Пример #6
0
    internal static void smethod_0(Class581 A_0)
    {
        Section section = new Section(A_0.Interface50.imethod_0());

        A_0.method_3(section);
        A_0.method_4(section.Body);
        smethod_1(A_0);
        A_0.method_5(DocumentObjectType.Body);
        A_0.method_5(DocumentObjectType.Section);
    }
Пример #7
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);
            }
        }
    }
Пример #8
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);
        }
    }
Пример #9
0
    internal static void smethod_0(Class581 A_0)
    {
        Document doc = A_0.Interface50.imethod_0();

        A_0.method_3(new Table(doc));
        RowFormat format = new RowFormat(doc);
        Class394  class2 = A_0.imethod_1();
        string    str    = class2.method_1();

        while (class2.method_9(str))
        {
            smethod_1(A_0, format);
        }
        smethod_2(A_0, format);
    }
Пример #10
0
    internal static void smethod_0(Class581 A_0, RowFormat A_1)
    {
        RowFormat format = (RowFormat)A_1.method_23();
        TableRow  row    = new TableRow(A_0.Interface50.imethod_0(), format);

        A_0.method_3(row);
        Class394 class2 = A_0.imethod_1();
        string   str    = class2.method_1();

        while (class2.method_9(str))
        {
            smethod_1(A_0, format);
        }
        A_0.method_5(DocumentObjectType.TableRow);
        Class532.smethod_2(row);
    }
Пример #11
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);
    }
Пример #12
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);
        }
    }