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
    private static void smethod_2(Class857 A_0, DocumentObject A_1)
    {
        int      num    = 7;
        Class396 class2 = A_0.method_11();

        while (class2.method_9(A_0.method_38().method_0()))
        {
            if (class2.method_1() == A_0.method_38().method_12())
            {
                smethod_3(A_0, A_1);
            }
            else
            {
                if (class2.method_1() == BookmarkStart.b("䐬䄮唰嘲䴴ᨶ嬸吺夼䘾", num))
                {
                    Class574.smethod_0(A_0, BookmarkStart.b("䐬䄮唰嘲䴴ᨶ嬸吺夼䘾", num), A_1);
                    continue;
                }
                class2.vmethod_1();
            }
        }
        A_0.method_17(A_0.method_11().method_12(BookmarkStart.b("帬嬮䠰弲倴ᨶ圸娺值娾", num), BookmarkStart.b("縬嬮倰崲儴嘶䬸强", num)));
        Class108 class3 = Class574.smethod_10(A_0);

        A_1 = Class574.smethod_4(A_0, class3, A_1);
    }
Exemplo n.º 3
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.º 4
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.º 5
0
    private static void smethod_2(Class857 A_0, Class43 A_1)
    {
        int num = 0x11;

        A_0.method_17(null);
        Class396 class2 = A_0.method_11();

        while (class2.method_19())
        {
            string str;
            if ((!Class857.smethod_7(A_0, A_1) && !Class857.smethod_6(A_0, A_1)) && (!A_0.method_2(class2, A_1) && ((str = class2.method_1()) != null)))
            {
                int num2;
                if (Class1160.dictionary_44 == 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_44 = dictionary1;
                }
                if (Class1160.dictionary_44.TryGetValue(str, out num2))
                {
                }
            }
        }
    }
Exemplo n.º 6
0
    private static int smethod_1(Class857 A_0)
    {
        int num = 3;

        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))
            {
                if (!(str == BookmarkStart.b("䨨䐪䌬嬮堰崲䀴制ᐸ唺䠼刾⍀♂㝄⹆❈ⱊ", num)))
                {
                    if (str == BookmarkStart.b("䨨䐪䌬嬮堰崲䀴制ᐸ场吼䰾㕀", num))
                    {
                        num2 = 1;
                    }
                }
                else
                {
                    num2 = (class2.method_3() == BookmarkStart.b("崨太堬䨮", num)) ? 1 : 0;
                }
            }
        }
        return(num2);
    }
Exemplo n.º 7
0
    internal static double smethod_0(Class857 A_0, DocumentObject A_1, ShapeObject A_2)
    {
        A_0.method_17(null);
        double num = smethod_1(A_0, A_2);

        smethod_2(A_0, A_2);
        A_0.method_7(A_1, A_2);
        return(num);
    }
Exemplo n.º 8
0
    internal static void smethod_0(Class857 A_0, DocumentObject A_1, CharacterFormat A_2, Style A_3)
    {
        A_0.method_17(null);
        Class977 class2 = smethod_1(A_0);

        smethod_2(A_0);
        if (class2 is Class978)
        {
            Class797.smethod_7(A_0, A_1, class2 as Class978, A_2, A_3);
        }
    }
Exemplo n.º 9
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.º 10
0
    internal static void smethod_0(Class857 A_0, DocumentObject A_1, ShapeObject A_2)
    {
        A_0.method_17(null);
        string str = A_0.method_11().method_1();

        smethod_1(A_0, A_2, str);
        smethod_2(A_0, A_2, str);
        if ((A_1 == null) || !A_1.ChildObjects.Contains(A_2))
        {
            A_0.method_7(A_1, A_2);
        }
    }
Exemplo n.º 11
0
    internal static void smethod_1(Class857 A_0, string A_1, DocumentObject A_2, Class106 A_3)
    {
        int      num    = 0x10;
        Class396 class2 = A_0.method_11();

        while (class2.method_9(A_1))
        {
            A_0.method_17(class2.method_12(BookmarkStart.b("䔵䰷䌹倻嬽洿ⱁ╃⭅ⵇ", num), BookmarkStart.b("攵䰷嬹刻娽ℿぁ⁃", num)));
            Class108 class3 = smethod_10(A_0);
            A_2 = smethod_4(A_0, class3, A_2);
            if (!smethod_3(A_0, A_2, A_3, class3))
            {
                class2.vmethod_1();
            }
        }
    }
Exemplo n.º 12
0
    private static void smethod_2(Class857 A_0, Class43 A_1)
    {
        int num = 10;

        A_0.method_17(null);
        Class396 class2 = A_0.method_11();
        string   str    = "";

        while (class2.method_19())
        {
            string str2;
            if (((!Class857.smethod_7(A_0, A_1) && !Class857.smethod_6(A_0, A_1)) && (!A_0.method_2(class2, A_1) && ((str2 = class2.method_1()) != null))) && (!(str2 == BookmarkStart.b("匯崱䘳堵崷䠹ᄻ䰽ℿ♁ⵃ㍅㭇", num)) && (str2 == BookmarkStart.b("䐯䀱唳堵䬷尹医䰽ⴿ", num))))
            {
                str = class2.method_3();
            }
        }
        Class857.smethod_4(A_1, str);
    }
Exemplo n.º 13
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.º 14
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.º 15
0
    private void method_2(Class857 A_0)
    {
        int num = 13;

        A_0.method_17(null);
        Class396 class2 = A_0.method_11();
        string   str    = "";

        while (class2.method_19())
        {
            string str2;
            if ((!A_0.method_2(A_0.method_11(), this.class43_0) && !Class857.smethod_7(A_0, this.class43_0)) && (!Class857.smethod_6(A_0, this.class43_0) && ((str2 = class2.method_1()) != null)))
            {
                if (str2 != BookmarkStart.b("圲", num))
                {
                    if (!(str2 == BookmarkStart.b("䔲尴制丸示刼䜾", num)))
                    {
                        if (str2 == BookmarkStart.b("䜲䜴嘶圸䠺嬼倾㍀⹂", num))
                        {
                            str = class2.method_3();
                        }
                    }
                    else
                    {
                        Class857.smethod_12(A_0, class2.method_3(), false, false, this.class43_0);
                    }
                }
                else
                {
                    this.method_3(class2.method_3());
                    this.method_5();
                }
            }
        }
        Class857.smethod_4(this.class43_0, str);
    }
Exemplo n.º 16
0
    internal static void smethod_2(Class857 A_0, Class43 A_1)
    {
        int num = 11;

        A_0.method_17(null);
        Class396 class2 = A_0.method_11();
        double   num2   = 0.0;
        double   num3   = 0.0;
        double   num4   = 0.0;
        double   num5   = 0.0;
        string   str    = "";

        while (class2.method_19())
        {
            string str2;
            if ((!Class857.smethod_7(A_0, A_1) && !Class857.smethod_6(A_0, A_1)) && ((str2 = class2.method_1()) != null))
            {
                if (str2 != BookmarkStart.b("䔰䨲䔴制", num))
                {
                    if (str2 != BookmarkStart.b("䤰Ȳ", num))
                    {
                        if (str2 != BookmarkStart.b("䠰Ȳ", num))
                        {
                            if (str2 != BookmarkStart.b("䤰IJ", num))
                            {
                                if (!(str2 == BookmarkStart.b("䠰IJ", num)))
                                {
                                    if (str2 == BookmarkStart.b("䔰䄲吴夶䨸崺刼䴾ⱀ", num))
                                    {
                                        str = class2.method_3();
                                    }
                                }
                                else
                                {
                                    num5 = Class576.smethod_41(class2.method_3());
                                }
                            }
                            else
                            {
                                num4 = Class576.smethod_41(class2.method_3());
                            }
                        }
                        else
                        {
                            num3 = Class576.smethod_41(class2.method_3());
                        }
                    }
                    else
                    {
                        num2 = Class576.smethod_41(class2.method_3());
                    }
                }
                else
                {
                    A_1.SetAttr(0x103b, Class922.smethod_9(class2.method_3()));
                }
            }
        }
        Class857.smethod_4(A_1, str);
        smethod_3(A_1, num2, num3, num4, num5);
    }
Exemplo n.º 17
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);
 }