internal static FootnoteNumberFormat smethod_13(ListPatternType A_0) { switch (A_0) { case ListPatternType.UpRoman: return(FootnoteNumberFormat.UpperCaseRoman); case ListPatternType.LowRoman: return(FootnoteNumberFormat.LowerCaseRoman); case ListPatternType.UpLetter: return(FootnoteNumberFormat.UpperCaseLetter); case ListPatternType.LowLetter: return(FootnoteNumberFormat.LowerCaseLetter); case ListPatternType.Chicago: return(FootnoteNumberFormat.Chicago); case ListPatternType.DecimalFullWidth: return(FootnoteNumberFormat.DecimalFullWidth); case ListPatternType.DecimalEnclosedCircleChinese: return(FootnoteNumberFormat.DecimalEnclosedCircleChinese); case ListPatternType.IdeographEnclosedCircle: return(FootnoteNumberFormat.IdeographEnclosedCircle); case ListPatternType.IdeographTraditional: return(FootnoteNumberFormat.IdeographTraditional); case ListPatternType.IdeographZodiac: return(FootnoteNumberFormat.IdeographZodiac); case ListPatternType.ChineseLegalSimplified: return(FootnoteNumberFormat.ChineseLegalSimplified); case ListPatternType.ChineseCountingThousand: return(FootnoteNumberFormat.ChineseCountingThousand); case ListPatternType.Hebrew1: return(FootnoteNumberFormat.Hebrew1); case ListPatternType.ArabicAlpha: return(FootnoteNumberFormat.ArabicAlpha); case ListPatternType.Hebrew2: return(FootnoteNumberFormat.Hebrew2); case ListPatternType.ArabicAbjad: return(FootnoteNumberFormat.ArabicAbjad); case ListPatternType.None: return(FootnoteNumberFormat.None); } return(FootnoteNumberFormat.Arabic); }
internal static ListLevel smethod_4(int A_0, int A_1, ListPatternType A_2, ListNumberAlignment A_3, ListStyle A_4) { ListLevel level = A_4.Document.CreateListLevelImpl(A_4); level.int_6 = 1; level.listPatternType_0 = A_2; level.listNumberAlignment_0 = A_3; level.NumberPrefix = string.Empty; level.NumberSufix = BookmarkStart.b("ᠵ", 0x10); level.paragraphFormat_0.LeftIndent = A_0 + 18f; level.paragraphFormat_0.FirstLineIndent = -18f; level.characterFormat_0.FontName = BookmarkStart.b("戵儷圹夻䴽怿ు⅃ㅅ桇ᡉ⍋⍍ㅏ㱑", 0x10); return(level); }
private string method_8(int A_0, LocaleIDs A_1, bool A_2) { string str2; Class495 class7; int num = 5; ListPatternType type = this.listPatternType_0; if (type > ListPatternType.LeadingZero) { switch (type) { case ListPatternType.DecimalEnclosedCircleChinese: goto Label_044D; case ListPatternType.IdeographTraditional: { Class495 class6 = new Class495(); class6.method_1(DigitType.Traditional); string str8 = class6.method_2((A_0 + 1).ToString()); if (!A_2) { return(str8); } return(this.string_20 + str8 + this.string_21); } case ListPatternType.IdeographZodiac: { Class495 class8 = new Class495(); class8.method_1(DigitType.Zodiac); string str9 = class8.method_2((A_0 + 1).ToString()); if (!A_2) { return(str9); } return(this.string_20 + str9 + this.string_21); } case ListPatternType.IdeographLegalTraditional: { Class495 class3 = new Class495(); class3.method_1(DigitType.IdeographLegalTraditional); string str5 = class3.method_2((A_0 + 1).ToString()); if (!A_2) { return(str5); } return(this.string_20 + str5 + this.string_21); } case ListPatternType.TaiwaneseCountingThousand: { Class495 class5 = new Class495(); class5.method_1(DigitType.TaiwaneseCountingThousand); string str4 = class5.method_2((A_0 + 1).ToString()); if (!A_2) { return(str4); } return(this.string_20 + str4 + this.string_21); } case ListPatternType.ChineseLegalSimplified: { Class495 class9 = new Class495(); class9.method_1(DigitType.ChineseLegalSimplified); string str6 = class9.method_2((A_0 + 1).ToString()); if (!A_2) { return(str6); } return(this.string_20 + str6 + this.string_21); } case ListPatternType.ChineseCountingThousand: { Class495 class2 = new Class495(); class2.method_1(DigitType.ChineseCountingThousand); string str = class2.method_2((A_0 + 1).ToString()); if (!A_2) { return(str); } return(this.string_20 + str + this.string_21); } case ListPatternType.None: if (!A_2) { return(string.Empty); } if (this.string_20 == null) { if ((this.string_20 == null) && (this.string_21 == null)) { return(this.LevelText); } return(string.Empty); } return(this.string_20 + this.string_21); case ListPatternType.CustomType: str2 = string.Empty; if (this.class496_0.method_0() != ListPatternFormat.LeadingTwoZero) { if (this.class496_0.method_0() == ListPatternFormat.LeadingThreedZero) { str2 = BookmarkStart.b("ᬪᴬἮ0", num); } else if (this.class496_0.method_0() == ListPatternFormat.LeadingFourZero) { str2 = BookmarkStart.b("ᬪᴬἮİȲ", num); } } else { str2 = BookmarkStart.b("ᬪᴬḮ", num); } goto Label_0406; } goto Label_057B; } switch (type) { case ListPatternType.Arabic: { if (this.NoPlaceholder) { if (!A_2) { return(""); } return(this.string_20 + this.string_21); } if (!A_2) { int num13 = A_0 + 1; return(num13.ToString()); } int num12 = A_0 + 1; return(this.string_20 + num12.ToString() + this.string_21); } case ListPatternType.UpRoman: if (!A_2) { return(smethod_5(A_0 + 1).ToUpper()); } return(this.string_20 + smethod_5(A_0 + 1).ToUpper() + this.string_21); case ListPatternType.LowRoman: if (!A_2) { return(smethod_5(A_0 + 1).ToLower()); } return(this.string_23 + smethod_5(A_0 + 1).ToLower() + this.string_22); case ListPatternType.UpLetter: if (!A_2) { return(smethod_6(A_0 + 1).ToUpper()); } return(this.string_23 + smethod_6(A_0 + 1).ToUpper() + this.string_22); case ListPatternType.LowLetter: if (!A_2) { if (!this.NoPlaceholder) { return(smethod_6(A_0 + 1).ToLower()); } return(""); } if (this.NoPlaceholder) { return(this.string_20 + this.string_21); } return(this.string_20 + smethod_6(A_0 + 1).ToLower() + this.string_21); case ListPatternType.Ordinal: if (!A_2) { return(this.method_12(A_0 + 1)); } return(this.string_23 + this.method_12(A_0 + 1) + (string.IsNullOrEmpty(this.string_21) ? this.string_22 : this.string_21)); case ListPatternType.CardinalText: if (!A_2) { return(this.method_11(A_0 + 1)); } return(this.string_23 + this.method_11(A_0 + 1) + (string.IsNullOrEmpty(this.string_21) ? this.string_22 : this.string_21)); case ListPatternType.OrdinalText: if (!A_2) { return(this.method_15(A_0 + 1, A_1)); } return(this.string_23 + this.method_15(A_0 + 1, A_1) + (string.IsNullOrEmpty(this.string_21) ? this.string_22 : this.string_21)); case ListPatternType.JapaneseCounting: { Class495 class4 = new Class495(); class4.method_1(DigitType.JapaneseCounting); string str7 = class4.method_2((A_0 + 1).ToString()); if (!A_2) { return(str7); } return(this.string_20 + str7 + this.string_21); } case ListPatternType.DecimalEnclosedCircle: goto Label_044D; case ListPatternType.LeadingZero: { if (!A_2) { int num17 = A_0 + 1; return(((A_0 < 9) ? BookmarkStart.b("ᬪ", num) : "") + num17.ToString()); } if (A_0 < 9) { int num5 = A_0 + 1; return(this.string_20 + BookmarkStart.b("ᬪ", num) + num5.ToString() + this.string_21); } int num3 = A_0 + 1; return(this.string_20 + num3.ToString() + this.string_21); } default: goto Label_057B; } Label_0406: if (A_2) { int num7 = A_0 + 1; return(this.string_20 + this.method_9(str2, num7.ToString()) + this.string_21); } int num16 = A_0 + 1; return(this.method_9(BookmarkStart.b("ᬪᴬἮİȲ", num), num16.ToString())); Label_044D: class7 = new Class495(); string str3 = class7.method_8((A_0 + 1).ToString()); if (A_2) { return(this.string_20 + str3 + this.string_21); } return(str3); Label_057B: if (A_2) { int num6 = A_0 + 1; return(this.string_23 + num6.ToString() + this.string_22); } int num18 = A_0 + 1; return(num18.ToString()); }
internal void method_3(ListPatternType A_0) { this.listPatternType_0 = A_0; }