Example #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);
 }
Example #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;
     }
 }
Example #3
0
 public Font(Office.Font2 font, Func <object> parentInvoke)
 {
     this.font         = font;
     this.parentInvoke = parentInvoke;
 }
Example #4
0
 public Font(Office.Font2 font)
 {
     this.font = font;
 }
Example #5
0
 public Font(Office.Font2 font, Func<object> parentInvoke)
 {
     this.font = font;
     this.parentInvoke = parentInvoke;
 }
Example #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;
     }
 }