示例#1
0
    private static void smethod_3(CellFormat A_0, Class100 A_1)
    {
        Class852 class2 = A_1.method_37();
        Class412 class3 = A_1.method_39();

        if (class2.method_0() != null)
        {
            smethod_4(A_0.Borders.Top, Class472.smethod_2(class2.method_0()));
        }
        if (class3.method_0() != 0.0)
        {
            A_0.SamePaddingsAsTable = false;
            A_0.Paddings.Top        = (float)class3.method_0();
        }
        if (class2.method_2() != null)
        {
            smethod_4(A_0.Borders.Bottom, Class472.smethod_2(class2.method_2()));
        }
        if (class3.method_2() != 0.0)
        {
            A_0.SamePaddingsAsTable = false;
            A_0.Paddings.Bottom     = (float)class3.method_2();
        }
        if (class2.method_4() != null)
        {
            smethod_4(A_0.Borders.Left, Class472.smethod_2(class2.method_4()));
        }
        if (class3.method_4() != 0.0)
        {
            A_0.SamePaddingsAsTable = false;
            A_0.Paddings.Left       = (float)class3.method_4();
        }
        if (class2.method_6() != null)
        {
            smethod_4(A_0.Borders.Right, Class472.smethod_2(class2.method_6()));
        }
        if (class3.method_6() != 0.0)
        {
            A_0.SamePaddingsAsTable = false;
            A_0.Paddings.Right      = (float)class3.method_6();
        }
    }
示例#2
0
    internal static void smethod_2(Class857 A_0, Class100 A_1)
    {
        int        num    = 8;
        Class396   class2 = A_0.method_11();
        CellFormat format = new CellFormat();

        while (class2.method_19())
        {
            string str;
            if ((!Class857.smethod_9(class2, A_1.method_35()) && !Class857.smethod_2(class2, A_1.method_39())) && (!Class857.smethod_1(class2, A_1.method_37()) && ((str = class2.method_1()) != null)))
            {
                if (str != BookmarkStart.b("夭䈯嬱䀳張嘷崹ᄻ匽⼿♁⅃", num))
                {
                    if (str != BookmarkStart.b("䤭尯䬱䐳帵ᔷ唹主圽┿ⱁぃ❅㱇⍉⍋⁍絏⑑ㅓ⑕ⱗ㍙㽛㽝౟", num))
                    {
                        if (str != BookmarkStart.b("堭唯䀱䀳張嬷嬹倻ጽℿ⹁ⵃⅅ♇", num))
                        {
                            if (!(str == BookmarkStart.b("䰭儯儱弳儵䨷唹䤻倽␿潁❃⥅⑇╉㹋", num)))
                            {
                                if (str == BookmarkStart.b("夭䈯匱䐳ᬵ圷䨹䠻圽⼿ⱁ", num))
                                {
                                    format.SetAttr(0xc6c, class2.method_3() == BookmarkStart.b("夭䈯匱䐳", num));
                                }
                            }
                            else
                            {
                                format.SetAttr(0xc62, Class576.smethod_62(class2.method_3(), (Class16)format.method_31(0xc62)));
                            }
                        }
                        else
                        {
                            format.SetAttr(0xbf4, Class922.smethod_48(class2.method_3()));
                        }
                    }
                    else if (class2.method_3() == BookmarkStart.b("ḭ", num))
                    {
                        format.SetAttr(0xbea, TextOrientation.Upward);
                    }
                }
                else if (Class922.smethod_37(class2.method_3()) != TextOrientation.Horizontal)
                {
                    format.SetAttr(0xbea, Class922.smethod_37(class2.method_3()));
                }
            }
        }
        smethod_3(format, A_1);
        if (format.Count > 0)
        {
            A_1.method_46(format);
        }
    }