Пример #1
0
    internal static ListPatternType smethod_12(FootnoteNumberFormat A_0)
    {
        switch (A_0)
        {
        case FootnoteNumberFormat.UpperCaseRoman:
            return(ListPatternType.UpRoman);

        case FootnoteNumberFormat.LowerCaseRoman:
            return(ListPatternType.LowRoman);

        case FootnoteNumberFormat.UpperCaseLetter:
            return(ListPatternType.UpLetter);

        case FootnoteNumberFormat.LowerCaseLetter:
            return(ListPatternType.LowLetter);

        case FootnoteNumberFormat.Chicago:
            return(ListPatternType.Chicago);

        case FootnoteNumberFormat.DecimalFullWidth:
            return(ListPatternType.DecimalFullWidth);

        case FootnoteNumberFormat.DecimalEnclosedCircleChinese:
            return(ListPatternType.DecimalEnclosedCircleChinese);

        case FootnoteNumberFormat.IdeographEnclosedCircle:
            return(ListPatternType.IdeographEnclosedCircle);

        case FootnoteNumberFormat.IdeographTraditional:
            return(ListPatternType.IdeographTraditional);

        case FootnoteNumberFormat.IdeographZodiac:
            return(ListPatternType.IdeographZodiac);

        case FootnoteNumberFormat.ChineseLegalSimplified:
            return(ListPatternType.ChineseLegalSimplified);

        case FootnoteNumberFormat.ChineseCountingThousand:
            return(ListPatternType.ChineseCountingThousand);

        case FootnoteNumberFormat.Hebrew1:
            return(ListPatternType.Hebrew1);

        case FootnoteNumberFormat.ArabicAlpha:
            return(ListPatternType.ArabicAlpha);

        case FootnoteNumberFormat.Hebrew2:
            return(ListPatternType.Hebrew2);

        case FootnoteNumberFormat.ArabicAbjad:
            return(ListPatternType.ArabicAbjad);

        case FootnoteNumberFormat.None:
            return(ListPatternType.None);
        }
        return(ListPatternType.Arabic);
    }
Пример #2
0
        internal static string smethod_2(int A_0, FootnoteNumberFormat A_1)
        {
            string str = string.Empty;
            FootnoteNumberFormat format = A_1;

            if (format <= FootnoteNumberFormat.DecimalFullWidth)
            {
                switch (format)
                {
                case FootnoteNumberFormat.Arabic:
                    return(A_0.ToString());

                case FootnoteNumberFormat.UpperCaseRoman:
                    return(smethod_5(A_0).ToUpper());

                case FootnoteNumberFormat.LowerCaseRoman:
                    return(smethod_5(A_0).ToLower());

                case FootnoteNumberFormat.UpperCaseLetter:
                    return(smethod_6(A_0).ToUpper());

                case FootnoteNumberFormat.LowerCaseLetter:
                    return(smethod_6(A_0).ToLower());

                case (FootnoteNumberFormat.LowerCaseLetter | FootnoteNumberFormat.UpperCaseRoman):
                case (FootnoteNumberFormat.LowerCaseLetter | FootnoteNumberFormat.LowerCaseRoman):
                case (FootnoteNumberFormat.LowerCaseLetter | FootnoteNumberFormat.UpperCaseLetter):
                case ((FootnoteNumberFormat)8):
                    return(str);

                case FootnoteNumberFormat.Chicago:
                {
                    Class495 class9 = new Class495();
                    return(class9.method_5(A_0.ToString()));
                }

                case FootnoteNumberFormat.DecimalFullWidth:
                {
                    Class495 class6 = new Class495();
                    return(class6.method_10(A_0.ToString()));
                }
                }
                return(str);
            }
            switch (format)
            {
            case FootnoteNumberFormat.DecimalEnclosedCircleChinese:
            {
                Class495 class8 = new Class495();
                return(class8.method_8(A_0.ToString()));
            }

            case FootnoteNumberFormat.IdeographEnclosedCircle:
            {
                Class495 class4 = new Class495();
                return(class4.method_9(A_0.ToString()));
            }

            case FootnoteNumberFormat.IdeographTraditional:
            {
                Class495 class2 = new Class495();
                return(class2.method_6(A_0.ToString()));
            }

            case FootnoteNumberFormat.IdeographZodiac:
            {
                Class495 class7 = new Class495();
                return(class7.method_7(A_0.ToString()));
            }

            case FootnoteNumberFormat.ChineseLegalSimplified:
            {
                Class495 class3 = new Class495();
                class3.method_1(DigitType.ChineseLegalSimplified);
                return(class3.method_2(A_0.ToString()));
            }

            case FootnoteNumberFormat.ChineseCountingThousand:
            {
                Class495 class5 = new Class495();
                class5.method_1(DigitType.ChineseCountingThousand);
                return(class5.method_2(A_0.ToString()));
            }

            case ((FootnoteNumberFormat)40):
            case ((FootnoteNumberFormat)0x29):
            case ((FootnoteNumberFormat)0x2a):
            case ((FootnoteNumberFormat)0x2b):
            case ((FootnoteNumberFormat)0x2c):
            case FootnoteNumberFormat.Hebrew1:
            case FootnoteNumberFormat.ArabicAlpha:
            case FootnoteNumberFormat.Hebrew2:
            case FootnoteNumberFormat.ArabicAbjad:
                return(str);
            }
            return(str);
        }
 internal void method_53(FootnoteNumberFormat A_0)
 {
     this.method_52(1, A_0);
 }
Пример #4
0
 internal void method_153(FootnoteNumberFormat A_0)
 {
     this.method_138().NumberFormat = A_0;
 }