Beispiel #1
0
    private static void smethod_8(Class1054 A_0, Class398 A_1, OoxmlCompliance A_2)
    {
        int num = 0;

        A_1.method_24(BookmarkStart.b("儥ሧ帩丫䈭振䘱䴳娵崷", 0), A_0.string_0);
        A_1.method_24(BookmarkStart.b("儥ሧ帩丫䈭振䘱䴳娵崷根医䤽ȿ⍁⩃≅ᭇ⍉㙋⭍", 0), A_0.string_1);
        A_1.method_24(BookmarkStart.b("儥ሧ帩丫䈭振䘱䴳娵崷礹医刽ȿ⍁⩃≅ᭇ⍉㙋⭍", 0), A_0.string_2);
        if (A_0.bool_6 && (A_2 != OoxmlCompliance.Ecma376_2006))
        {
            A_1.method_24(BookmarkStart.b("儥ሧ帩丫䈭猯匱䐳䈵儷唹刻", num), A_0.string_23);
            A_1.method_24(BookmarkStart.b("儥ሧ帩丫䈭琯圱䜳唵䨷匹䰻䨽⤿ⵁ⩃", num), A_0.string_24);
        }
        if (A_0.bool_0)
        {
            A_1.method_33(BookmarkStart.b("儥ሧ帩丫䈭䀯戱䘳", num), new object[] {
                BookmarkStart.b("儥ሧ䘩䤫䠭䐯琱䘳夵唷渹夻䘽㐿", num), A_0.string_4, BookmarkStart.b("儥ሧ堩䔫䤭堯䘱爳䐵圷圹栻嬽㠿㙁", num), A_0.string_6, BookmarkStart.b("儥ሧ帩䌫席瘯䀱嬳嬵氷弹䐻䨽", num), A_0.string_3, BookmarkStart.b("儥ሧ䠩䌫娭䐯崱夳瀵䨷唹儻樽┿㩁ぃ", num), A_0.string_5, BookmarkStart.b("儥ሧ尩䤫尭䐯猱娳唵倷唹主", num), A_0.string_7, BookmarkStart.b("儥ሧ䈩䌫尭䨯猱娳唵倷唹主", num), A_0.string_8, BookmarkStart.b("儥ሧ帩丫䈭䀯樱朳䘵崷夹", num), A_0.string_9, BookmarkStart.b("儥ሧ帩丫䈭䀯樱", num), A_0.string_10,
                BookmarkStart.b("儥ሧ帩丫䈭䀯欱朳䘵崷夹", num), A_0.string_11, BookmarkStart.b("儥ሧ帩丫䈭䀯欱", num), A_0.string_12
            });
        }
        if (!A_0.bool_1)
        {
            A_1.method_24(BookmarkStart.b("儥ሧ帩丫䈭缯䐱儳䐵吷嬹䰻", num), A_0.bool_6 ? BookmarkStart.b("䠥䴧尩䤫尭", num) : BookmarkStart.b("栥䴧尩䤫尭", num));
        }
        if (A_0.bool_2)
        {
            A_1.method_10(BookmarkStart.b("儥ሧ䠩䔫䨭夯搱崳䔵䴷嬹倻", num));
        }
    }
Beispiel #2
0
    internal static void smethod_4(ShapeBase A_0, Class398 A_1)
    {
        int     num     = 11;
        Class43 shapePr = A_0.ShapePr;
        string  str2    = shapePr.HasKey(0x1001) ? Class1085.smethod_72((TextWrappingStyle)shapePr[0x1001]) : "";

        if (A_0.ShapePr.HasKey(0x1001))
        {
            string str4 = Class417.smethod_16(A_0.HorizontalOrigin);
            if (str4 == BookmarkStart.b("䔰嘲䴴䌶", num))
            {
                str4 = "";
            }
            string str = Class417.smethod_14(A_0.VerticalOrigin);
            if (str == BookmarkStart.b("䔰嘲䴴䌶", num))
            {
                str = "";
            }
            string str3 = shapePr.HasKey(0x1002) ? Class1085.smethod_56(A_0.TextWrappingType) : "";
            if (A_0.IsInline)
            {
                if ((str4 == BookmarkStart.b("到嬲吴䔶", num)) && (str == BookmarkStart.b("崰娲嬴制", num)))
                {
                    A_1.method_4(BookmarkStart.b("䘰ȲԴശ丸䤺尼伾", num));
                    A_1.method_36(BookmarkStart.b("䔰䨲䔴制", num), str2);
                    A_1.method_5();
                }
            }
            else if (Class567.smethod_16(str2))
            {
                A_1.method_4(BookmarkStart.b("䘰ȲԴശ丸䤺尼伾", num));
                A_1.method_36(BookmarkStart.b("䔰䨲䔴制", num), str2);
                A_1.method_36(BookmarkStart.b("䈰娲儴制", num), str3);
                A_1.method_5();
            }
            else if (Class567.smethod_16(str4) || Class567.smethod_16(str))
            {
                A_1.method_4(BookmarkStart.b("䘰ȲԴശ丸䤺尼伾", num));
                A_1.method_36(BookmarkStart.b("䈰娲儴制", num), str3);
                if (smethod_5(str4))
                {
                    A_1.method_36(BookmarkStart.b("倰崲嘴弶嘸䤺䔼", num), str4);
                }
                if (smethod_5(str))
                {
                    A_1.method_36(BookmarkStart.b("倰崲嘴弶嘸䤺䐼", num), str);
                }
                A_1.method_5();
            }
        }
        if (A_0.AnchorLocked)
        {
            A_1.method_10(BookmarkStart.b("䘰ȲԴശ堸唺帼圾⹀ㅂ⥄⡆⩈⁊", num));
        }
    }
Beispiel #3
0
    private static void smethod_5(Class1054 A_0, RowFormat A_1, Class398 A_2, bool A_3, Interface52 A_4, OoxmlCompliance A_5, bool A_6)
    {
        int num = 12;

        if ((A_0.int_0 > 0) || ((A_1 != null) && (A_1.HasDeleteRevision || A_1.HasInsertRevision)))
        {
            if (A_6)
            {
                A_2.method_4(BookmarkStart.b("䔱ำ䈵䨷樹主", num));
            }
            if (A_0.int_2 != 0)
            {
                A_2.method_24(BookmarkStart.b("䔱ำ儵䨷匹堻簽┿⑁⭃㑅ⵇ", num), Class1041.smethod_8(A_0.int_2));
            }
            if (A_0.int_4 > 0)
            {
                A_2.method_24(BookmarkStart.b("䔱ำ儵䨷匹堻缽☿㙁⅃㑅", num), Class1041.smethod_8(A_0.int_4));
            }
            if (A_0.int_3 > 0)
            {
                A_2.method_48(BookmarkStart.b("䔱ำ䄵稷弹娻儽㈿❁", num), Class1041.smethod_8(A_0.int_3));
            }
            if (A_0.int_5 > 0)
            {
                A_2.method_48(BookmarkStart.b("䔱ำ䄵礷尹䠻嬽㈿", num), Class1041.smethod_8(A_0.int_5));
            }
            if (A_0.bool_5)
            {
                A_2.method_10(BookmarkStart.b("䔱ำ帵儷帹堻嬽⸿", num));
            }
            if (!A_0.bool_4)
            {
                A_2.method_10(BookmarkStart.b("䔱ำ唵夷吹䠻洽〿⹁ⵃ㉅", num));
            }
            A_2.method_33(BookmarkStart.b("䔱ำ䈵䨷爹夻圽✿⩁ぃ", num), new object[] { A_0.bool_6?BookmarkStart.b("䔱ำ帵樷伹倻嬽", num) : BookmarkStart.b("䔱ำ帵ᔷ䠹䤻刽┿", num), A_0.string_22, BookmarkStart.b("䔱ำ䀵夷嘹", num), A_0.string_21 });
            if (A_0.bool_3)
            {
                A_2.method_10(BookmarkStart.b("䔱ำ䈵娷嘹琻嬽ℿ♁⅃㑅", num));
            }
            A_2.method_48(BookmarkStart.b("䔱ำ䈵娷嘹缻嬽ⰿ⹁ᝃ㙅⥇⥉╋⁍㝏", num), A_0.string_14);
            A_2.method_24(BookmarkStart.b("䔱ำ尵嬷", num), A_0.string_13);
            smethod_7(BookmarkStart.b("䔱ำ䈵䨷樹主紽⠿⍁⩃ⅅⵇ", num), A_1, A_2, A_3, A_4, A_5, A_4.imethod_2());
            if (A_1 != null)
            {
                if (A_1.HasDeleteRevision)
                {
                    A_2.vmethod_6(A_1.DeleteRevision, A_4.imethod_6());
                    A_2.vmethod_8();
                }
                if (A_1.HasInsertRevision)
                {
                    A_2.vmethod_6(A_1.InsertRevision, A_4.imethod_6());
                    A_2.vmethod_8();
                }
            }
            if (A_6)
            {
                A_2.method_5();
            }
        }
    }
Beispiel #4
0
    private static void smethod_1(AttrCollection A_0, Interface52 A_1)
    {
        int      num          = 14;
        bool     flag         = A_1.imethod_2();
        Class398 class2       = A_1.imethod_1();
        Class15  class3       = null;
        object   obj2         = null;
        object   obj3         = null;
        object   obj4         = null;
        string   str          = null;
        string   str2         = null;
        Border   top          = null;
        Border   left         = null;
        Border   bottom       = null;
        Border   right        = null;
        Border   diagonalDown = null;
        Border   diagonalUp   = null;
        Border   horizontal   = null;
        Border   vertical     = null;
        Class16  class4       = null;
        object   obj5         = null;
        string   str3         = null;
        string   str4         = null;
        string   str5         = null;
        string   str6         = null;
        string   str7         = null;
        object   obj6         = null;
        string   str8         = null;
        object   obj7         = null;
        object   obj8         = null;

        for (int i = 0; i < A_0.Count; i++)
        {
            int    num3 = A_0.method_18(i);
            object obj9 = A_0.method_19(i);
            int    num4 = num3;
            if (num4 <= 0xbea)
            {
                if (num4 <= 0xbc6)
                {
                    switch (num4)
                    {
                    case 1:
                        top          = (obj9 as Borders).Top;
                        left         = (obj9 as Borders).Left;
                        bottom       = (obj9 as Borders).Bottom;
                        right        = (obj9 as Borders).Right;
                        diagonalDown = (obj9 as Borders).DiagonalDown;
                        diagonalUp   = (obj9 as Borders).DiagonalUp;
                        horizontal   = (obj9 as Borders).Horizontal;
                        vertical     = (obj9 as Borders).Vertical;
                        break;

                    case 2:
                        str3 = ((obj9 as Paddings).Top >= 0f) ? A_1.imethod_1().method_23((obj9 as Paddings).Top, 20f).ToString() : BookmarkStart.b("г", num);
                        str4 = ((obj9 as Paddings).Left >= 0f) ? A_1.imethod_1().method_23((obj9 as Paddings).Left, 20f).ToString() : BookmarkStart.b("Գص7", num);
                        str5 = ((obj9 as Paddings).Bottom >= 0f) ? A_1.imethod_1().method_23((obj9 as Paddings).Bottom, 20f).ToString() : BookmarkStart.b("г", num);
                        str6 = ((obj9 as Paddings).Right >= 0f) ? A_1.imethod_1().method_23((obj9 as Paddings).Right, 20f).ToString() : BookmarkStart.b("Գص7", num);
                        break;

                    case 6:
                        obj4 = class2.method_23(obj9, 50f);
                        break;

                    case 0xbc4:
                        obj3 = class2.method_23(obj9, 20f);
                        break;

                    case 0xbc6:
                        obj2 = (FtsWidth)obj9;
                        break;
                    }
                }
                else if (num4 <= 0xbd6)
                {
                    switch (num4)
                    {
                    case 0xbcc:
                        class3 = (Class15)obj9;
                        break;

                    case 0xbd6:
                        str2 = Class859.smethod_5((CellMerge)obj9);
                        break;
                    }
                }
                else if (num4 != 0xbe0)
                {
                    if ((num4 == 0xbea) && (((TextDirection)obj9) != TextDirection.TopToBottom))
                    {
                        str7 = Class417.smethod_39((TextDirection)obj9, flag);
                    }
                }
                else
                {
                    str = Class859.smethod_5((CellMerge)obj9);
                }
            }
            else if (num4 <= 0xc6c)
            {
                switch (num4)
                {
                case 0xbf4:
                {
                    if (((VerticalAlignment)obj9) != VerticalAlignment.Top)
                    {
                        str8 = Class859.smethod_7((VerticalAlignment)obj9);
                    }
                    continue;
                }

                case 0xc62:
                {
                    class4 = (Class16)obj9;
                    continue;
                }
                }
                if ((num4 == 0xc6c) && !((bool)obj9))
                {
                    obj5 = true;
                }
            }
            else if (num4 <= 0xc94)
            {
                if (num4 == 0xc76)
                {
                    if ((bool)obj9)
                    {
                        obj6 = true;
                    }
                }
                else if ((num4 == 0xc94) && ((bool)obj9))
                {
                    obj7 = true;
                }
            }
            else
            {
                switch (num4)
                {
                case 0xf3c:
                    obj8 = (short)obj9;
                    break;
                }
            }
        }
        if (((obj3 != null) || (obj4 != null)) && (obj2 != null))
        {
            if (((WidthType)obj2) == WidthType.Percentage)
            {
                class3 = new Class15((FtsWidth)obj2, (short)((int)obj4));
                class2.method_53(BookmarkStart.b("䌳వ䰷夹欻", num), class3);
            }
            else if (((WidthType)obj2) == WidthType.Twip)
            {
                class3 = new Class15((FtsWidth)obj2, (short)((int)obj3));
                class2.method_53(BookmarkStart.b("䌳వ䰷夹欻", num), class3);
            }
        }
        else if (class3 != null)
        {
            class2.method_53(BookmarkStart.b("䌳వ䰷夹欻", num), class3);
        }
        if (((str != BookmarkStart.b("䘳匵䬷丹崻䰽㐿", num)) && (obj8 != null)) && (((short)obj8) > 1))
        {
            class2.method_22(BookmarkStart.b("䌳వ強䠹唻娽ጿ㉁╃⡅", num), obj8);
        }
        string str9 = flag ? BookmarkStart.b("䌳వ倷眹夻䰽✿❁", num) : BookmarkStart.b("䌳వ倷圹夻䰽✿❁", num);

        if (str == BookmarkStart.b("圳夵嘷丹唻倽㔿❁", num))
        {
            class2.method_10(str9);
        }
        else
        {
            class2.method_24(str9, str);
        }
        string str10 = flag ? BookmarkStart.b("䌳వ丷眹夻䰽✿❁", num) : BookmarkStart.b("䌳వ丷圹夻䰽✿❁", num);

        if (str2 == BookmarkStart.b("圳夵嘷丹唻倽㔿❁", num))
        {
            class2.method_10(str10);
        }
        else
        {
            class2.method_24(str10, str2);
        }
        class2.method_46(BookmarkStart.b("䌳వ䰷夹縻儽㈿♁⅃㑅㭇", num), flag, new object[] { BookmarkStart.b("䌳వ䰷唹䰻", num), top, BookmarkStart.b("䌳వ吷弹娻䨽", num), left, BookmarkStart.b("䌳వ娷唹䠻䨽⼿⽁", num), bottom, BookmarkStart.b("䌳వ䨷匹嬻嘽㐿", num), right, BookmarkStart.b("䌳వ儷吹伻圽␿❁ృ", num), horizontal, BookmarkStart.b("䌳వ儷吹伻圽␿❁ቃ", num), vertical, BookmarkStart.b("䌳వ䰷嘹฻尽㈿", num), diagonalDown, BookmarkStart.b("䌳వ䰷䠹฻尽ⰿ", num), diagonalUp });
        class2.vmethod_4(class4);
        class2.method_22(BookmarkStart.b("䌳వ嘷唹欻䰽ℿ㉁", num), obj5);
        if (!(A_0.OwnerBase is TableCell) || !(A_0.OwnerBase as TableCell).CellFormat.SamePaddingsAsTable)
        {
            class2.method_50(BookmarkStart.b("䌳వ䰷夹焻弽㈿", num), str3, str4, str5, str6);
        }
        class2.method_24(flag ? BookmarkStart.b("䌳వ䰷弹䐻䨽п⭁㙃⍅⭇㹉╋⅍㹏", num) : BookmarkStart.b("䌳వ䰷弹䐻䨽ؿ⹁⭃ㅅ", num), str7);
        class2.method_22(BookmarkStart.b("䌳వ䰷夹稻圽㐿ᙁ⅃㹅㱇", num), obj6);
        class2.method_24(BookmarkStart.b("䌳వ丷笹倻圽✿ⱁ", num), str8);
        class2.method_22(BookmarkStart.b("䌳వ倷匹堻嬽ി⍁㙃ⵅ", num), obj7);
    }