示例#1
0
 /// <summary>
 /// Create the paragraphs object if undefined
 /// </summary>
 /// <returns></returns>
 private bool Init()
 {
     if (this.font == null && this.paragraph != null)
     {
         this.font = this.paragraph.UnderlyingObject.Font;
     }
     return(true);
 }
示例#2
0
 private void Init()
 {
     if (this.paragraph != null)
     {
         this.font = this.paragraph.GetUnderlyingObject().Font;
     }
     if (this.character != null)
     {
         this.font = this.character.GetUnderlyingObject().Font;
     }
 }
示例#3
0
 public Font(Office.Font2 font, Func <object> parentInvoke)
 {
     this.font         = font;
     this.parentInvoke = parentInvoke;
 }
示例#4
0
 public Font(Office.Font2 font)
 {
     this.font = font;
 }
示例#5
0
 public Font(Office.Font2 font, Func<object> parentInvoke)
 {
     this.font = font;
     this.parentInvoke = parentInvoke;
 }
示例#6
0
 private void Init()
 {
     if(this.paragraph != null)
     {
         this.font = this.paragraph.GetUnderlyingObject().Font;
     }
     if (this.character != null)
     {
         this.font = this.character.GetUnderlyingObject().Font;
     }
 }