Exemple #1
0
        /// <summary>
        /// 执行操作
        /// </summary>
        /// <param name="buildWord">文档操作类</param>
        public override void Execute(IBuildWord buildWord)
        {
            if (this.baseLabel == null)
            {
                this.baseLabel = this.ConditionJudgment();
            }

            if (this.baseLabel != null)
            {
                this.baseLabel.Execute(buildWord);
            }
            else
            {
                buildWord.InsertText(this.LabelName, string.Empty);
            }
        }
Exemple #2
0
 /// <summary>
 /// 执行
 /// </summary>
 /// <param name="buildWord">文档操作类</param>
 public override void Execute(IBuildWord buildWord)
 {
     buildWord.InsertText(this.LabelName, this.GetValue());
 }