コード例 #1
0
 private static bool smethod_9(Class412 A_0, Class572 A_1)
 {
     if ((!smethod_10(A_0.method_0(), A_1.method_2().method_0(), A_1.method_2().method_4()) && !smethod_10(A_0.method_2(), A_1.method_2().method_2(), A_1.method_2().method_6())) && !smethod_10(A_0.method_4(), A_1.method_0().method_0(), A_1.method_0().method_4()))
     {
         return(smethod_10(A_0.method_6(), A_1.method_0().method_2(), A_1.method_0().method_6()));
     }
     return(true);
 }
コード例 #2
0
    private static void smethod_2(ParagraphFormat A_0, Class97 A_1, bool A_2)
    {
        Class852 class2 = A_1.method_37();
        Class412 class3 = A_1.method_39();
        Class572 class4 = A_1.method_35();

        if ((class2.method_0() != null) || (class3.method_0() != 0.0))
        {
            Class1031 class7 = smethod_4(class2.method_0(), class3.method_0(), A_2);
            smethod_3(A_0.Borders.Top, class7);
        }
        if (class4.method_2().method_4())
        {
            A_0.SetAttr(0x4b0, (float)class4.method_2().method_0());
        }
        if ((class2.method_2() != null) || (class3.method_2() != 0.0))
        {
            Class1031 class6 = smethod_4(class2.method_2(), class3.method_2(), A_2);
            smethod_3(A_0.Borders.Bottom, class6);
        }
        if (class4.method_2().method_6())
        {
            A_0.SetAttr(0x4c4, (float)class4.method_2().method_2());
        }
        if ((class2.method_4() != null) || (class3.method_4() != 0.0))
        {
            Class1031 class8 = smethod_4(class2.method_4(), class3.method_4(), A_2);
            smethod_3(A_0.Borders.Left, class8);
        }
        if (class4.method_0().method_4())
        {
            A_0.SetAttr(0x488, (float)class4.method_0().method_0());
        }
        if ((class2.method_6() != null) || (class3.method_6() != 0.0))
        {
            Class1031 class5 = smethod_4(class2.method_6(), class3.method_6(), A_2);
            smethod_3(A_0.Borders.Right, class5);
        }
        if (class4.method_0().method_6())
        {
            A_0.SetAttr(0x47e, (float)class4.method_0().method_2());
        }
    }
コード例 #3
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();
        }
    }
コード例 #4
0
    private static void smethod_7(Class17 A_0, Class92 A_1)
    {
        Class852 class2 = A_1.method_8();
        Class412 class3 = A_1.method_10();
        Class572 class4 = A_1.method_6();

        if (smethod_9(class3, class4))
        {
            A_0.method_95(PageBorderOffsetFrom.PageEdge);
        }
        smethod_8(A_0, A_1, 2, 0x8fc, class2.method_0(), class3.method_0(), class4.method_2().method_0(), class4.method_2().method_4());
        smethod_8(A_0, A_1, 3, 0x906, class2.method_2(), class3.method_2(), class4.method_2().method_2(), class4.method_2().method_6());
        smethod_8(A_0, A_1, 1, 0x8e8, class2.method_4(), class3.method_4(), class4.method_0().method_0(), class4.method_0().method_4());
        smethod_8(A_0, A_1, 4, 0x8f2, class2.method_6(), class3.method_6(), class4.method_0().method_2(), class4.method_0().method_6());
    }
コード例 #5
0
    private static void smethod_3(Class43 A_0, Class97 A_1, bool A_2)
    {
        Class852 class2 = A_1.method_37();
        Class412 class3 = A_1.method_39();

        A_1.method_35();
        if (((class2.method_0() != null) && (class2.method_0().method_2() != BorderStyle.None)) || (A_2 || (class3.method_0() != 0.0)))
        {
            Class413.smethod_3(A_0.method_58().Top, Class472.smethod_1(class2.method_0(), class3.method_0(), 0));
        }
        if (((class2.method_2() != null) && (class2.method_2().method_2() != BorderStyle.None)) || (A_2 || (class3.method_2() != 0.0)))
        {
            Class413.smethod_3(A_0.method_58().Bottom, Class472.smethod_1(class2.method_2(), class3.method_2(), 0));
        }
        if (((class2.method_4() != null) && (class2.method_4().method_2() != BorderStyle.None)) || (A_2 || (class3.method_4() != 0.0)))
        {
            Class413.smethod_3(A_0.method_58().Left, Class472.smethod_1(class2.method_4(), class3.method_4(), 0));
        }
        if (((class2.method_6() != null) && (class2.method_6().method_2() != BorderStyle.None)) || (A_2 || (class3.method_6() != 0.0)))
        {
            Class413.smethod_3(A_0.method_58().Right, Class472.smethod_1(class2.method_6(), class3.method_6(), 0));
        }
    }