예제 #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;
     }
 }