Пример #1
0
        // 复制ClassListLevel类同名的参数的信息
        public void clone(ClassListLevel lvl)
        {
            this.Alignment = lvl.Alignment;           // 复制ClassListLevel类同名的参数的信息
            // this.Application = lvl.Application;// 复制ClassListLevel类同名的参数的信息
            this.Creator = lvl.Creator;               // 复制ClassListLevel类同名的参数的信息

            this.Font.clone(lvl.Font);                // 复制ClassListLevel类同名的参数的信息

            this.Index          = lvl.Index;          // 复制ClassListLevel类同名的参数的信息
            this.LinkedStyle    = lvl.LinkedStyle;    // 复制ClassListLevel类同名的参数的信息
            this.NumberFormat   = lvl.NumberFormat;   // 复制ClassListLevel类同名的参数的信息
            this.NumberPosition = lvl.NumberPosition; // 复制ClassListLevel类同名的参数的信息
            this.NumberStyle    = lvl.NumberStyle;    // 复制ClassListLevel类同名的参数的信息

            this.NumberStyleSel = lvl.NumberStyleSel; // 复制ClassListLevel类同名的参数的信息

            // this.PictureBullet = lvl.PictureBullet;// 复制ClassListLevel类同名的参数的信息

            this.ResetOnHigher     = lvl.ResetOnHigher;     // 复制ClassListLevel类同名的参数的信息
            this.ResetOnHigherOld  = lvl.ResetOnHigherOld;  // 复制ClassListLevel类同名的参数的信息
            this.StartAt           = lvl.StartAt;           // 复制ClassListLevel类同名的参数的信息
            this.TabPosition       = lvl.TabPosition;       // 复制ClassListLevel类同名的参数的信息
            this.TextPosition      = lvl.TextPosition;      // 复制ClassListLevel类同名的参数的信息
            this.TrailingCharacter = lvl.TrailingCharacter; // 复制ClassListLevel类同名的参数的信息

            return;
        }
Пример #2
0
        public headingSn()
        {
            this.Alignment = WdListLevelAlignment.wdListLevelAlignLeft;

            this.NumberFormat      = "";
            this.NumberStyle       = Word.WdListNumberStyle.wdListNumberStyleArabic;
            this.NumberStyleSel    = Word.WdListNumberStyle.wdListNumberStyleArabic;
            this.TrailingCharacter = WdTrailingCharacter.wdTrailingNone;


            return;
        }