private OpenXmlRunPropertiesModel GetCurrentTextStyle() { if (this._currentTextStyle == null) { this._currentTextStyle = new OpenXmlRunPropertiesModel(); } return(this._currentTextStyle); }
public void WriteText(string text) { this.GetCurrentParagraph().AddText(text, this.GetCurrentTextStyle()); this._currentTextStyle = null; }