Пример #1
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));
    }
Пример #2
0
    private static void smethod_1(Class857 A_0)
    {
        int num = 0x10;

        A_0.method_6(false, true);
        while (A_0.method_11().method_9(BookmarkStart.b("吵圷帹䔻", num)))
        {
            string str;
            if (((str = A_0.method_11().method_1()) != null) && (str == BookmarkStart.b("䈵崷䈹䠻", num)))
            {
                smethod_2(A_0);
            }
            else
            {
                A_0.method_11().vmethod_1();
            }
        }
        if (A_0.method_36().Count > 0)
        {
            Section lastSection = A_0.method_9().LastSection;
            if (lastSection == null)
            {
                lastSection = A_0.method_14().method_0(BookmarkStart.b("攵䰷嬹刻娽ℿぁ⁃", num)).method_8().Clone();
                A_0.method_9().Sections.Add(lastSection);
            }
            foreach (Paragraph paragraph in A_0.method_36())
            {
                if (paragraph.Owner == null)
                {
                    lastSection.Body.method_13(paragraph);
                }
            }
        }
    }
Пример #3
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()));
    }
Пример #4
0
    internal static void smethod_0(Class857 A_0)
    {
        int      num    = 2;
        Class396 class2 = A_0.method_11();

        while (class2.method_9(BookmarkStart.b("䔧䬩弫娭唯䀱ᤳ䔵䰷䌹倻嬽㌿", num)))
        {
            string str;
            if (((str = class2.method_1()) != null) && (str == BookmarkStart.b("䔧䬩弫娭唯䀱ᤳ䘵夷崹夻", num)))
            {
                Class1142.smethod_0(A_0);
            }
            else
            {
                class2.vmethod_1();
            }
        }
        smethod_1(A_0.method_14());
    }
Пример #5
0
    internal static void smethod_0(Class857 A_0)
    {
        Class108 class2 = new Class108();

        smethod_5(A_0, class2);
        Class92 class3 = A_0.method_13().method_2(class2.method_4(), null, A_0.method_20(), true) as Class92;

        if ((class3 != null) && (class3.method_4() != null))
        {
            class2.method_9(new Section(A_0.method_9()));
            smethod_1(class2.method_8(), class3.method_4());
        }
        else
        {
            class2.method_9(new Section(A_0.method_9()));
        }
        A_0.method_14().Add(class2);
        smethod_6(A_0, class2);
    }
Пример #6
0
    private static int smethod_4(Class857 A_0, Class106 A_1, Class975 A_2)
    {
        int      num    = 0;
        Class108 class2 = Class574.smethod_11(A_0, A_0.method_14(), A_0.method_26());

        if (class2 != null)
        {
            int num2 = Class969.smethod_31((double)class2.method_8().PageSetup.ClientWidth);
            int num3 = 0;
            int num4 = 0;
            if (A_1 == null)
            {
                return(num);
            }
            int num5 = (A_1.method_16() == -2147483648) ? num2 : A_1.method_16();
            foreach (Class94 class3 in A_1.method_20())
            {
                if (class3.method_12() == -2147483648)
                {
                    num3++;
                }
                else
                {
                    num4 += class3.method_12();
                }
            }
            if (A_2.method_5() > A_1.method_20().Count)
            {
                num3 += A_2.method_5() - A_1.method_20().Count;
            }
            if (num3 > 0)
            {
                num = (num5 - num4) / num3;
            }
        }
        return(num);
    }