private CT_Lvl NumberingLevel(int level, ST_NumberFormat numFmt, string text, string font, ST_Jc jc, string size) { CT_Lvl cT_Lvl = new CT_Lvl(); cT_Lvl.Ilvl_Attr = level; cT_Lvl.Start = new CT_DecimalNumber { Val_Attr = 1 }; cT_Lvl.NumFmt = new CT_NumFmt { Val_Attr = numFmt }; cT_Lvl.LvlText = new CT_LevelText { Val_Attr = text }; cT_Lvl.LvlJc = new CT_Jc { Val_Attr = jc }; cT_Lvl.RPr = new CT_RPr { RFonts = new CT_Fonts { Ascii_Attr = font, EastAsia_Attr = font, HAnsi_Attr = font, Cs_Attr = font }, Sz = new CT_HpsMeasure { Val_Attr = size } }; return(cT_Lvl); }
private CT_Lvl NumberingLevel(int level, ST_NumberFormat numFmt, string text, string font, ST_Jc jc, string size) { return(new CT_Lvl { Ilvl_Attr = level, Start = new CT_DecimalNumber { Val_Attr = 1 }, NumFmt = new CT_NumFmt { Val_Attr = numFmt }, LvlText = new CT_LevelText { Val_Attr = text }, LvlJc = new CT_Jc { Val_Attr = jc }, RPr = new CT_RPr { RFonts = new CT_Fonts { Ascii_Attr = font, EastAsia_Attr = font, HAnsi_Attr = font, Cs_Attr = font }, Sz = new CT_HpsMeasure { Val_Attr = size } } }); }
static ST_NumberFormat() { _decimal = new ST_NumberFormat("decimal"); upperRoman = new ST_NumberFormat("upperRoman"); lowerRoman = new ST_NumberFormat("lowerRoman"); upperLetter = new ST_NumberFormat("upperLetter"); lowerLetter = new ST_NumberFormat("lowerLetter"); ordinal = new ST_NumberFormat("ordinal"); cardinalText = new ST_NumberFormat("cardinalText"); ordinalText = new ST_NumberFormat("ordinalText"); hex = new ST_NumberFormat("hex"); chicago = new ST_NumberFormat("chicago"); ideographDigital = new ST_NumberFormat("ideographDigital"); japaneseCounting = new ST_NumberFormat("japaneseCounting"); aiueo = new ST_NumberFormat("aiueo"); iroha = new ST_NumberFormat("iroha"); decimalFullWidth = new ST_NumberFormat("decimalFullWidth"); decimalHalfWidth = new ST_NumberFormat("decimalHalfWidth"); japaneseLegal = new ST_NumberFormat("japaneseLegal"); japaneseDigitalTenThousand = new ST_NumberFormat("japaneseDigitalTenThousand"); decimalEnclosedCircle = new ST_NumberFormat("decimalEnclosedCircle"); decimalFullWidth2 = new ST_NumberFormat("decimalFullWidth2"); aiueoFullWidth = new ST_NumberFormat("aiueoFullWidth"); irohaFullWidth = new ST_NumberFormat("irohaFullWidth"); decimalZero = new ST_NumberFormat("decimalZero"); bullet = new ST_NumberFormat("bullet"); ganada = new ST_NumberFormat("ganada"); chosung = new ST_NumberFormat("chosung"); decimalEnclosedFullstop = new ST_NumberFormat("decimalEnclosedFullstop"); decimalEnclosedParen = new ST_NumberFormat("decimalEnclosedParen"); decimalEnclosedCircleChinese = new ST_NumberFormat("decimalEnclosedCircleChinese"); ideographEnclosedCircle = new ST_NumberFormat("ideographEnclosedCircle"); ideographTraditional = new ST_NumberFormat("ideographTraditional"); ideographZodiac = new ST_NumberFormat("ideographZodiac"); ideographZodiacTraditional = new ST_NumberFormat("ideographZodiacTraditional"); taiwaneseCounting = new ST_NumberFormat("taiwaneseCounting"); ideographLegalTraditional = new ST_NumberFormat("ideographLegalTraditional"); taiwaneseCountingThousand = new ST_NumberFormat("taiwaneseCountingThousand"); taiwaneseDigital = new ST_NumberFormat("taiwaneseDigital"); chineseCounting = new ST_NumberFormat("chineseCounting"); chineseLegalSimplified = new ST_NumberFormat("chineseLegalSimplified"); chineseCountingThousand = new ST_NumberFormat("chineseCountingThousand"); koreanDigital = new ST_NumberFormat("koreanDigital"); koreanCounting = new ST_NumberFormat("koreanCounting"); koreanLegal = new ST_NumberFormat("koreanLegal"); koreanDigital2 = new ST_NumberFormat("koreanDigital2"); vietnameseCounting = new ST_NumberFormat("vietnameseCounting"); russianLower = new ST_NumberFormat("russianLower"); russianUpper = new ST_NumberFormat("russianUpper"); none = new ST_NumberFormat("none"); numberInDash = new ST_NumberFormat("numberInDash"); hebrew1 = new ST_NumberFormat("hebrew1"); hebrew2 = new ST_NumberFormat("hebrew2"); arabicAlpha = new ST_NumberFormat("arabicAlpha"); arabicAbjad = new ST_NumberFormat("arabicAbjad"); hindiVowels = new ST_NumberFormat("hindiVowels"); hindiConsonants = new ST_NumberFormat("hindiConsonants"); hindiNumbers = new ST_NumberFormat("hindiNumbers"); hindiCounting = new ST_NumberFormat("hindiCounting"); thaiLetters = new ST_NumberFormat("thaiLetters"); thaiNumbers = new ST_NumberFormat("thaiNumbers"); thaiCounting = new ST_NumberFormat("thaiCounting"); bahtText = new ST_NumberFormat("bahtText"); dollarText = new ST_NumberFormat("dollarText"); custom = new ST_NumberFormat("custom"); }