Exemplo n.º 1
0
    internal static void smethod_0(Class857 A_0, Class106 A_1, Class571 A_2, bool A_3)
    {
        int num = 6;

        if (!A_3)
        {
            Class1140 class2 = new Class1140();
            class2.method_9(new TableCell(A_0.method_9()));
            A_0.method_17(null);
            smethod_5(A_0, class2);
            if (!Class567.smethod_16(A_0.method_16()))
            {
                A_0.method_17(A_2.method_6());
            }
            Class100 class3 = (Class100)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("堫伭刯帱儳ᬵ嬷弹倻刽", num), A_0.method_20(), true);
            if ((class3 != null) && (class3.method_45() != null))
            {
                smethod_2(class2.method_8().CellFormat.Borders.Top, class3.method_45().Borders.Top);
                smethod_2(class2.method_8().CellFormat.Borders.Bottom, class3.method_45().Borders.Bottom);
                smethod_2(class2.method_8().CellFormat.Borders.Left, class3.method_45().Borders.Left);
                smethod_2(class2.method_8().CellFormat.Borders.Right, class3.method_45().Borders.Right);
                class2.method_8().CellFormat.BackColor = class3.method_45().BackColor;
                class2.method_8().CellFormat.TextWrap = class3.method_45().TextWrap;
                class2.method_8().CellFormat.Shading.CopyPropertiesTo(class3.method_45().Shading);
                class2.method_8().CellFormat.VerticalAlignment = class3.method_45().VerticalAlignment;
                class2.method_8().CellFormat.SamePaddingsAsTable = class3.method_45().SamePaddingsAsTable;
                smethod_3(class2.method_8().CellFormat.Paddings, class3.method_45().Paddings);
                class2.method_8().CellFormat.TextDirection = class3.method_45().TextDirection;
            }
            smethod_6(A_0, class3, class2.method_8(), A_1);
            A_2.Add(class2);
            smethod_4(A_1, A_2, class2);
        }
    }
Exemplo n.º 2
0
    internal static void smethod_0(Class857 A_0, Class106 A_1)
    {
        int num = 12;

        A_0.method_17(null);
        Class396 class2 = A_0.method_11();
        int      num2   = 1;

        while (class2.method_19())
        {
            string str;
            if ((!A_0.method_4(class2) && ((str = class2.method_1()) != null)) && (str == BookmarkStart.b("就䄳嬵娷弹主ጽ⌿ⵁ⡃㍅╇⑉㽋捍≏㝑⑓㍕㥗⹙㥛㩝", num)))
            {
                num2 = class2.method_4();
            }
        }
        if (A_1 != null)
        {
            while (num2-- > 0)
            {
                Class94 class3 = A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("䘱唳吵吷弹ᄻ崽⼿⹁ㅃ⭅♇", num), A_0.method_20(), true) as Class94;
                if (class3 == null)
                {
                    class3 = new Class94();
                }
                A_1.method_20().Add(class3);
            }
        }
    }
Exemplo n.º 3
0
    internal static void smethod_1(Class857 A_0, DocumentObject A_1, Class106 A_2)
    {
        int num = 14;

        A_0.method_17(null);
        smethod_5(A_0);
        A_0.method_11().method_8().MoveToElement();
        Class108 class2 = Class574.smethod_10(A_0);

        if (!Class576.smethod_1(A_0.method_11()))
        {
            A_1 = Class574.smethod_4(A_0, class2, A_1);
        }
        Class106 class3 = (Class106)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("䀳圵娷嘹夻", num), A_0.method_20(), true);

        if (class3 == null)
        {
            class3 = A_2;
        }
        if (class3 == null)
        {
            class3 = new Class106();
        }
        Class975 class4 = new Class975();

        smethod_6(A_0, class3, class4);
        class4.method_4();
        Table table = smethod_3(A_0, class3, class4);

        if (A_1.LastChild is Table)
        {
            A_1.method_13(smethod_2(A_0.method_9()));
        }
        A_1.method_13(table);
    }
Exemplo n.º 4
0
    internal static void smethod_1(Class857 A_0, Class43 A_1)
    {
        Class98 class2 = (Class98)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("唱䘳圵䠷刹唻崽", 12), A_0.method_20(), true);

        if ((class2 != null) && (class2.method_45() != null))
        {
            class2.method_45().method_37(A_1);
        }
    }
Exemplo n.º 5
0
 private static void smethod_18(Class857 A_0, Paragraph A_1, Class97 A_2, DocumentObject A_3)
 {
     int num = 9;
     string str = A_0.method_16();
     Class396 class2 = A_0.method_11();
     while (class2.method_19())
     {
         A_0.method_4(class2);
     }
     smethod_8(A_0, A_1, BookmarkStart.b("尮䄰刲嬴", num), A_2, A_3);
     A_0.method_17(str);
 }
Exemplo n.º 6
0
    internal static Class108 smethod_10(Class857 A_0)
    {
        int     num    = 0;
        Class91 class2 = A_0.method_13().method_2(A_0.method_16(), null, A_0.method_20(), true);

        if (class2 is Class92)
        {
            return(A_0.method_14().method_0(BookmarkStart.b("甥尧䬩䈫䨭儯䀱倳", num)));
        }
        Class93 class3 = (Class93)class2;
        string  str    = (class3 != null) ? class3.method_6() : A_0.method_26();

        return(smethod_11(A_0, A_0.method_14(), str));
    }
Exemplo n.º 7
0
    private static bool smethod_7(Class857 A_0, Class108 A_1)
    {
        Class108 class2 = null;
        Class91  class3 = A_0.method_13().method_2(A_0.method_16(), null, A_0.method_20(), true);

        if (!(class3 is Class92))
        {
            class2 = smethod_11(A_0, A_0.method_14(), A_0.method_26());
        }
        bool flag  = ((class3 != null) && !(class3 is Class92)) && Class567.smethod_16(((Class93)class3).method_6());
        bool flag2 = (A_1.method_0() != A_0.method_26()) && (A_0.method_26() != null);

        if (!flag)
        {
            return(false);
        }
        return(((flag2 || A_0.method_34()) || ((class2 == null) || !A_1.method_8().SectPr.Equals(class2.method_8().SectPr))) || ((class3 is Class97) && ((Class97)class3).method_33()));
    }
Exemplo n.º 8
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);
        }
    }
Exemplo n.º 9
0
    internal static void smethod_0(Class857 A_0, Class108 A_1)
    {
        int     num     = 15;
        Section section = A_1.method_8().Clone();

        section.SectPr.method_57(SectionBreakType.NoBreak);
        smethod_1(A_0, section.SectPr);
        Class95 class2 = (Class95)A_0.method_13().method_3(A_0.method_16(), BookmarkStart.b("䘴制娸伺吼倾⽀", 15), A_0.method_20());

        A_0.method_9().Settings.method_5().method_14((class2 != null) && class2.method_14());
        if ((class2 != null) && (class2.method_12() != null))
        {
            class2.method_12().method_37(section.SectPr);
        }
        A_0.method_29().Push(section);
        A_0.method_31(true);
        Class574.smethod_0(A_0, BookmarkStart.b("䘴制娸伺吼倾⽀", num), section.Body);
        A_0.method_33(true);
        A_0.method_29().Pop();
    }
Exemplo n.º 10
0
    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);
    }
Exemplo n.º 11
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);
        }
    }
Exemplo n.º 12
0
    internal static void smethod_0(Class857 A_0, Class975 A_1, Class106 A_2, bool A_3)
    {
        Class571 class2 = new Class571();

        A_0.method_17(null);
        smethod_2(A_0, class2);
        Class103 class3 = (Class103)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("別䤧䠩䀫䬭ᴯ䀱嬳䄵", 0), A_0.method_20(), true);

        if ((class3 != null) && (class3.method_12() != null))
        {
            class3.method_12().method_37(class2.method_2());
        }
        A_1.Add(class2);
        smethod_3(A_0, A_2, class2);
        if (A_2 != null)
        {
            class2.method_2().LeftIndent = (float)A_2.method_18().method_0().method_0();
        }
        if (A_3)
        {
            class2.method_2().SetAttr(0xfc8, true);
        }
        A_1.method_6(Math.Max(A_1.method_5(), class2.Count));
    }
Exemplo n.º 13
0
    internal static DocumentObject smethod_4(Class857 A_0, Class108 A_1, DocumentObject A_2)
    {
        int num = 0x10;

        if (smethod_8(A_0) && ((A_2 == null) || (A_2 is Body)))
        {
            bool flag2;
            if (((A_2 is TableCell) || (A_2 is TextBox)) || (A_2 is HeaderFooter))
            {
                return(A_2);
            }
            Section lastSection = A_0.method_9().LastSection;
            bool    flag        = smethod_7(A_0, A_1);
            if ((flag2 = ((A_0.method_32() || A_0.method_30()) || flag) || (A_0.method_9().Sections.Count == 0)) || ((A_2 == null) && (A_0.method_29().Count == 0)))
            {
                if (A_0.method_29().Count == 0)
                {
                    if (flag2)
                    {
                        lastSection = A_1.method_8();
                        A_0.method_9().Sections.Add(lastSection);
                    }
                }
                else
                {
                    Section section2 = (Section)A_0.method_29().Peek();
                    lastSection = section2.Clone();
                    A_1.method_8().SectPr.method_37(lastSection.SectPr);
                    smethod_5((Class17)section2.SectPr.Clone(), lastSection.SectPr);
                    A_0.method_9().Sections.Add(lastSection);
                }
                Section section3 = (Section)A_0.method_9().GetChildElements(1, 1)[0];
                if ((flag && (((A_0.method_38() == null) || A_0.method_38().method_10()) || (section3.Body.ChildObjects.Count != 0))) && bool_0)
                {
                    lastSection.SectPr.method_57(SectionBreakType.NewPage);
                }
                Class91 class2 = A_0.method_13().method_2(A_0.method_16(), null, A_0.method_20(), true);
                if (!(class2 is Class92))
                {
                    Class93 class3 = (Class93)class2;
                    A_0.method_27((class3 != null) ? class3.method_6() : BookmarkStart.b("攵䰷嬹刻娽ℿぁ⁃", num));
                    A_0.method_35((((A_0.method_16() != BookmarkStart.b("攵䰷嬹刻娽ℿぁ⁃", num)) && (class3 != null)) && (class3 is Class97)) && Class567.smethod_16(class3.method_6()));
                }
            }
            smethod_6(A_0.method_9());
            A_0.method_33(false);
            A_0.method_31(false);
            foreach (Paragraph paragraph2 in A_0.method_36())
            {
                if (paragraph2.ParentObject != lastSection.Body)
                {
                    lastSection.Body.method_13(paragraph2);
                }
            }
            A_0.method_36().Clear();
            return(lastSection.Body);
        }
        if (A_2 != null)
        {
            foreach (Paragraph paragraph in A_0.method_36())
            {
                if (paragraph.Owner == null)
                {
                    A_2.method_13(paragraph);
                }
            }
        }
        return(A_2);
    }
Exemplo n.º 14
0
    internal static void smethod_0(Class857 A_0, DocumentObject A_1, Class101 A_2)
    {
        int      num    = 6;
        Class396 class2 = A_0.method_11();
        int      num2   = smethod_1(A_0);

        if (A_0.method_24() == -1)
        {
            switch (num2)
            {
            case 1:
                A_0.method_43(true);
                break;

            case 0:
                A_0.method_43(false);
                break;
            }
        }
        else
        {
            A_0.method_43(true);
        }
        A_0.method_25(A_0.method_24() + 1);
        string   str2     = A_0.method_16();
        Document document = A_0.method_9();

        if ((A_2 == null) || ((str2 != null) && (str2 != A_2.method_0())))
        {
            A_2 = A_0.method_13().method_3(str2, null, A_0.method_20()) as Class101;
            A_2.method_21().Name = str2;
            if (document.ListStyles.FindByName(str2) == null)
            {
                document.ListStyles.Add(A_2.method_21());
            }
            else if (num2 != 1)
            {
                Class12 class3 = null;
                string  str3   = BookmarkStart.b("怫䠭弯愱䀳伵吷弹挻", num) + Guid.NewGuid();
                if (document.ListOverrides.method_35(str3) == null)
                {
                    int count = document.ListOverrides.Count;
                    class3 = new Class12(document, count + 1)
                    {
                        Name = str3
                    };
                    document.ListOverrides.method_34(class3);
                    A_2.method_28(str3);
                }
            }
        }
        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_018A;
                    }
                    smethod_2(A_0, A_1, A_2);
                }
                else
                {
                    smethod_3(A_0, A_1, BookmarkStart.b("䀫䜭䌯䘱ᤳ帵崷嬹堻嬽㈿", num), A_2);
                }
                goto Label_0190;
            }
Label_018A:
            class2.vmethod_1();
Label_0190:
            A_0.method_43(true);
        }
        A_0.method_25(A_0.method_24() - 1);
        if (A_0.method_24() == -1)
        {
            A_0.method_43(false);
        }
    }
Exemplo n.º 15
0
 internal static void smethod_8(Class857 A_0, Paragraph A_1, string A_2, Class97 A_3, DocumentObject A_4)
 {
     int num = 14;
     Class396 class2 = A_0.method_11();
     string str = (A_2 == BookmarkStart.b("䜳䘵夷吹", 14)) ? BookmarkStart.b("䀳匵䀷丹", num) : BookmarkStart.b("䐳圵䨷嬹嬻䰽ℿ㉁ⱃ", num);
     Class96 class3 = (Class96) A_0.method_13().method_2(A_0.method_16(), str, A_0.method_20(), true);
     if (class3 == null)
     {
         class3 = (Class96) A_0.method_13().method_2(A_0.method_16(), str, A_0.method_20(), false);
     }
     CharacterFormat format = new CharacterFormat();
     if (((str == BookmarkStart.b("䀳匵䀷丹", num)) && (A_3 != null)) && (A_3.method_13() != null))
     {
         format.method_73(A_3.method_13());
     }
     Style style = null;
     if (class3 != null)
     {
         if (class3.method_13() != null)
         {
             format.method_73(class3.method_13());
         }
         if ((str == BookmarkStart.b("䀳匵䀷丹", num)) && Class567.smethod_16(class3.method_8()))
         {
             style = (Style) A_0.method_9().Styles[class3.method_8()];
         }
     }
     A_0.method_41(true);
     while (class2.method_10(A_2, XmlDocumentTextHandling.TextAndSignificantAndIgnorable))
     {
         if (!Class857.smethod_10(A_0, A_1, format, style))
         {
             string key = class2.method_1();
             if (key != null)
             {
                 int num2;
                 if (Class1160.dictionary_229 == null)
                 {
                     Dictionary<string, int> dictionary1 = new Dictionary<string, int>(12);
                     dictionary1.Add("", 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_229 = dictionary1;
                 }
                 if (Class1160.dictionary_229.TryGetValue(key, out num2))
                 {
                     switch (num2)
                     {
                         case 0:
                         {
                             smethod_23(A_0, A_1, format, style);
                             continue;
                         }
                         case 1:
                         {
                             smethod_16(A_0, A_1, format, style);
                             continue;
                         }
                         case 2:
                         {
                             smethod_17(A_0, A_1, format, style);
                             continue;
                         }
                         case 3:
                         {
                             smethod_12(A_0, A_1, format, Class816.string_6, style);
                             continue;
                         }
                         case 4:
                         {
                             smethod_9(A_0, A_1);
                             continue;
                         }
                         case 5:
                         {
                             smethod_18(A_0, A_1, A_3, A_4);
                             A_0.method_41(true);
                             continue;
                         }
                         case 6:
                         {
                             smethod_19(A_0, A_1, format);
                             A_0.method_41(true);
                             continue;
                         }
                         case 7:
                         {
                             smethod_21(A_0, A_1, format);
                             A_0.method_41(true);
                             continue;
                         }
                         case 8:
                         {
                             A_1.method_13(new BookmarkStart(A_0.method_9(), class2.method_12(BookmarkStart.b("娳圵唷弹", num), null)));
                             A_1.method_13(new BookmarkEnd(A_0.method_9(), class2.method_12(BookmarkStart.b("娳圵唷弹", num), null)));
                             A_0.method_41(true);
                             continue;
                         }
                         case 9:
                         {
                             A_1.method_13(new BookmarkStart(A_0.method_9(), class2.method_12(BookmarkStart.b("娳圵唷弹", num), null)));
                             A_0.method_41(true);
                             continue;
                         }
                         case 10:
                         {
                             A_1.method_13(new BookmarkEnd(A_0.method_9(), class2.method_12(BookmarkStart.b("娳圵唷弹", num), null)));
                             A_0.method_41(true);
                             continue;
                         }
                         case 11:
                         {
                             smethod_10(A_0, A_1, format, style);
                             continue;
                         }
                     }
                 }
             }
             if (Class567.smethod_16(Class857.string_4) && !smethod_27(A_1.Text))
             {
                 smethod_12(A_0, A_1, format, BookmarkStart.b("ᐳ", num), style);
                 Class857.string_4 = "";
             }
             if (Class797.smethod_0(A_0, A_1, format, style, A_3, A_4))
             {
                 A_0.method_41(true);
             }
             else
             {
                 smethod_8(A_0, A_1, class2.method_1(), A_3, A_4);
             }
         }
         else
         {
             A_0.method_41(true);
         }
     }
     if (((class3 != null) && (!A_1.HasChildElements || bool_0)) && ((class3.method_13() != null) && ((A_2 == BookmarkStart.b("䐳", num)) || (A_2 == BookmarkStart.b("尳", num)))))
     {
         A_1.BreakCharacterFormat.method_25(class3.method_13());
     }
 }
Exemplo n.º 16
0
 internal static void smethod_1(Class857 A_0, string A_1, DocumentObject A_2)
 {
     Paragraph paragraph;
     int num = 12;
     Class396 class2 = A_0.method_11();
     A_0.method_17(null);
     while (class2.method_19())
     {
         smethod_7(A_0);
     }
     class2.method_8().MoveToElement();
     Class108 class6 = Class574.smethod_10(A_0);
     if (!Class576.smethod_1(class2))
     {
         A_2 = Class574.smethod_4(A_0, class6, A_2);
     }
     Class97 class4 = (Class97) A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("䈱唳䐵夷崹主弽〿⩁", num), A_0.method_20(), true);
     if ((A_0.method_36().Count > 0) && (A_2 is Body))
     {
         paragraph = (Paragraph) A_0.method_36()[A_0.method_36().Count - 1];
         A_0.method_36().RemoveAt(A_0.method_36().Count - 1);
     }
     else
     {
         paragraph = new Paragraph(A_0.method_9());
         if (A_2 is ShapeObject)
         {
             (A_2 as ShapeObject).InternerTextbox.method_13(paragraph);
         }
         else if (A_2 is Footnote)
         {
             (A_2 as Footnote).TextBody.method_13(paragraph);
         }
         else if (A_2 is Comment)
         {
             (A_2 as Comment).Body.method_13(paragraph);
         }
         else
         {
             A_2.method_13(paragraph);
         }
     }
     if ((A_0.method_38() != null) && !A_0.method_38().method_10())
     {
         paragraph.method_18(new FieldMark(A_0.method_9(), new CharacterFormat(A_0.method_9()), FieldMarkType.FieldSeparator), paragraph.FirstChild);
         paragraph.method_17(new FieldMark(A_0.method_9(), new CharacterFormat(A_0.method_9()), FieldMarkType.FieldSeparator), paragraph.method_17(new TextRange(A_0.method_9(), string.Format(BookmarkStart.b("䤱г䬵", num), A_0.method_38().method_8()), new CharacterFormat(A_0.method_9())), paragraph.FirstChild));
         A_0.method_38().method_11(true);
     }
     if (A_1 == BookmarkStart.b("娱", num))
     {
         smethod_6(A_0, paragraph);
     }
     else
     {
         paragraph.Format.SetAttr(0x500, (byte) 9);
     }
     Class857.string_4 = "";
     smethod_13(A_0, paragraph, class4);
     smethod_8(A_0, paragraph, A_1, class4, A_2);
     smethod_14(A_0, paragraph, class4);
     if (class4 == null)
     {
         Style style2 = (Style) A_0.method_9().Styles[(A_0.method_16() == null) ? BookmarkStart.b("愱䀳圵嘷帹崻䰽␿", num) : A_0.method_16()];
         if (style2 != null)
         {
             paragraph.ApplyStyle(style2.Name);
         }
     }
     else
     {
         if (class4.method_15() != null)
         {
             class4.method_15().CopyPropertiesTo(paragraph.Format);
             paragraph.Format.Borders.IsDefault = class4.method_15().Borders.IsDefault;
         }
         if (class4.method_13() != null)
         {
             CharacterFormat.smethod_5(class4.method_13(), paragraph.BreakCharacterFormat);
         }
         if (Class567.smethod_16(class4.method_8()))
         {
             Style style = (Style) A_0.method_9().Styles[class4.method_8()];
             if ((style != null) && (style.ParaPr != null))
             {
                 paragraph.method_65(style as ParagraphStyle);
                 smethod_4(style.ParaPr.Tabs, paragraph.Format.Tabs);
             }
         }
         if (Class567.smethod_16(class4.method_10()))
         {
             Class101 class3 = A_0.method_13().method_3(class4.method_10(), null, A_0.method_20()) as Class101;
             class3.method_21().Name = class4.method_10();
             if (A_0.method_9().ListStyles.FindByName(class4.method_10()) == null)
             {
                 A_0.method_9().ListStyles.Add(class3.method_21());
             }
             paragraph.ListFormat.ApplyStyle(class3.method_21().Name);
         }
         if ((paragraph.IsInCell && (((TableCell) paragraph.OwnerTextBody).Paragraphs[0] == paragraph)) && (class4.method_19() != TextOrientation.Horizontal))
         {
             ((TableCell) paragraph.OwnerTextBody).CellFormat.SetAttr(0xbea, class4.method_19());
         }
         if (paragraph.method_1() == null)
         {
             smethod_2(paragraph, class4);
         }
     }
     if ((paragraph.Format.OutlineLevel != OutlineLevel.Body) && (A_0.method_65() != null))
     {
         Class101 class5 = A_0.method_65();
         int outlineLevelEx = paragraph.Format.OutlineLevelEx;
         if (((class5 != null) && class5.hashtable_0.ContainsKey(outlineLevelEx)) && ((bool) class5.hashtable_0[outlineLevelEx]))
         {
             paragraph.ListFormat.ListLevelNumber = outlineLevelEx - 1;
             paragraph.ListFormat.ApplyStyle(A_0.method_65().method_21().Name);
         }
     }
     smethod_5(paragraph, class4);
     smethod_3(paragraph);
 }