Пример #1
0
        protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
        {
            int num = 0x13;

            base.WriteXmlAttributes(writer);
            writer.WriteValue(BookmarkStart.b("瀸唺夼娾⽀㝂", 0x13), this.TextPosition);
            writer.WriteValue(BookmarkStart.b("椸䤺堼夾ᅀ≂ㅄ㍆ⱈ㥊⍌", 0x13), this.NumberPrefix);
            writer.WriteValue(BookmarkStart.b("樸为嬼漾⁀㝂ㅄ≆㭈╊", 0x13), this.NumberSufix);
            writer.WriteValue(BookmarkStart.b("笸为儼匾⑀㝂ᕄ♆㵈㽊⡌㵎㽐", 0x13), this.BulletCharacter);
            writer.WriteValue(BookmarkStart.b("椸娺䤼䬾⑀ㅂ⭄ፆえ㭊⡌", 0x13), this.PatternType);
            writer.WriteValue(BookmarkStart.b("椸䤺堼䤾ᅀ≂ㅄ㍆ⱈ㥊⍌", 0x13), this.UsePrevLevelPattern);
            writer.WriteValue(BookmarkStart.b("樸伺尼䴾㕀ɂㅄ", 0x13), this.StartAt);
            ListStyle ownerListStyle = this.OwnerListStyle;

            if ((ownerListStyle != null) && (ownerListStyle.ListType == ListType.Numbered))
            {
                writer.WriteValue(BookmarkStart.b("眸为值崾⑀ㅂф⭆⁈ⱊ⍌", num), this.NumberAlignment);
            }
            writer.WriteValue(BookmarkStart.b("瀸䠺焼娾♀≂⥄", num), this.IsLegalStyleNumbering);
            writer.WriteValue(BookmarkStart.b("缸吺儼匾⹀㑂ل⽆⡈㥊ⱌⱎ═㙒❔", num), this.FollowCharacter);
            writer.WriteValue(BookmarkStart.b("眸吺漼娾㉀㝂⑄㕆㵈", num), this.NoRestartByHigher);
            if (this.bool_4)
            {
                writer.WriteValue(BookmarkStart.b("甸帺娼帾≀㩂", num), this.bool_4);
                writer.WriteValue(BookmarkStart.b("甸帺娼帾≀㩂ౄ⥆ⵈ⹊⍌㭎", num), this.int_9);
                writer.WriteValue(BookmarkStart.b("甸帺娼帾≀㩂ᙄ㝆⡈⡊⡌", num), this.int_8);
            }
        }
Пример #2
0
        internal void method_24(Document A_0)
        {
            int num = 15;

            if (this.ListFormat.ListType != ListType.NoList)
            {
                ListStyle currentListStyle = this.ListFormat.CurrentListStyle;
                if ((currentListStyle != null) && (A_0.ListStyles.FindByName(currentListStyle.Name) == null))
                {
                    A_0.ListStyles.Add((ListStyle)currentListStyle.Clone());
                }
                if (currentListStyle != null)
                {
                    this.ListFormat.CurrentListLevel.ParaStyleName = base.Name.Replace(BookmarkStart.b("ᔴ", num), string.Empty);
                }
            }
            if ((this.ListFormat.LFOStyleName != null) && (A_0.ListOverrides.method_35(this.ListFormat.LFOStyleName) == null))
            {
                Class12 class2 = base.Document.ListOverrides.method_35(this.ListFormat.LFOStyleName);
                if (class2 != null)
                {
                    A_0.ListOverrides.method_34((Class12)class2.Clone());
                }
            }
        }
Пример #3
0
        protected override object CloneImpl()
        {
            ListStyle style = (ListStyle)base.CloneImpl();

            style.listLevelCollection_0 = new ListLevelCollection(style);
            this.listLevelCollection_0.CloneToImpl(style.listLevelCollection_0);
            return(style);
        }
Пример #4
0
        internal static ListLevel smethod_3(float A_0, string A_1, ListStyle A_2)
        {
            int       num   = 10;
            ListLevel level = A_2.Document.CreateListLevelImpl(A_2);

            level.int_6             = 1;
            level.listPatternType_0 = ListPatternType.Bullet;
            string str  = BookmarkStart.b("搯嬱夳匵䬷ᨹ爻嬽㜿扁ᙃ⥅╇⭉≋", 10);
            string str2 = A_1;

            if (str2 != null)
            {
                if (str2 != BookmarkStart.b("蟟", num))
                {
                    if (!(str2 == BookmarkStart.b("弯", num)))
                    {
                        if (str2 == BookmarkStart.b("韟", num))
                        {
                            str = BookmarkStart.b("术嬱娳儵尷匹刻夽㌿", num);
                        }
                    }
                    else
                    {
                        str = BookmarkStart.b("猯崱䄳䐵儷弹主ḽ฿❁㍃", num);
                    }
                }
                else
                {
                    str = BookmarkStart.b("振䬱夳吵圷嘹", num);
                }
            }
            level.characterFormat_0.FontName        = str;
            level.paragraphFormat_0.LeftIndent      = A_0 + 18f;
            level.paragraphFormat_0.FirstLineIndent = -18f;
            level.string_24 = A_1;
            return(level);
        }
Пример #5
0
        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);
        }
Пример #6
0
 public ListLevel(ListStyle listStyle) : this(listStyle.Document)
 {
     base.method_0(listStyle);
 }