Esempio n. 1
0
        /**
         * Sets the character properties of the list numbers.
         *
         * @param level the level number that the properties should apply to.
         * @param chp The character properties.
         */
        public void SetLevelNumberProperties(int level, CharacterProperties chp)
        {
            ListLevel           listLevel  = _listData.GetLevel(level);
            int                 styleIndex = _listData.GetLevelStyle(level);
            CharacterProperties base1      = _styleSheet.GetCharacterStyle(styleIndex);

            byte[] grpprl = CharacterSprmCompressor.CompressCharacterProperty(chp, base1);
            listLevel.SetNumberProperties(grpprl);
        }