Ejemplo n.º 1
0
    private static void smethod_0(Class422 A_0, CharacterFormat A_1)
    {
        Document document = A_0.method_15();

        if (A_1.FontName != null)
        {
            Form4 form = new Form4(document, A_1.FontName);
            A_0.method_107().method_11(form);
        }
        if (A_1.FontNameAscii != null)
        {
            Form4 form2 = new Form4(document, A_1.FontNameAscii);
            A_0.method_107().method_11(form2);
        }
        if (A_1.FontNameFarEast != null)
        {
            Form4 form5 = new Form4(document, A_1.FontNameFarEast);
            A_0.method_107().method_11(form5);
        }
        if (A_1.FontNameBidi != null)
        {
            Form4 form4 = new Form4(document, A_1.FontNameBidi);
            A_0.method_107().method_11(form4);
        }
        if (A_1.FontNameNonFarEast != null)
        {
            Form4 form3 = new Form4(document, A_1.FontNameNonFarEast);
            A_0.method_107().method_11(form3);
        }
    }
Ejemplo n.º 2
0
    internal static string smethod_0(Class422 A_0, Section A_1)
    {
        int num   = 9;
        int index = A_0.method_15().Sections.IndexOf(A_1);

        if (index != 0)
        {
            return(string.Format(BookmarkStart.b("戮倰䀲䄴制䬸欺尼堾⑀㡂畄㩆", num), index));
        }
        if ((A_0.method_23() != OpenDocumentWritingStage.ContentAutomaticStyles) && (A_0.method_23() != OpenDocumentWritingStage.StylesAutomaticStyles))
        {
            return(BookmarkStart.b("簮䔰刲嬴匶堸䤺夼", num));
        }
        return(null);
    }