public void AppendTextBreak(TextBreakType type = TextBreakType.TextWrapping, TextBreakClear clear = TextBreakClear.None) { var br = TextBreak.Create(type, clear); var run = new XElement(XName.Get("r", Namespaces.w.NamespaceName), br.Xml); // TODO: Should append to the last run here Xml.Add(run); }
public TextBreak AddBreak(TextBreakType textBreakType = TextBreakType.TextWrapping, TextBreakClear textBreakClear = TextBreakClear.None) { var br = TextBreak.Create(textBreakType, textBreakClear); Xml.Add(br.Xml); return(br); }