Пример #1
0
        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);
        }
Пример #2
0
        public TextBreak AddBreak(TextBreakType textBreakType = TextBreakType.TextWrapping, TextBreakClear textBreakClear = TextBreakClear.None)
        {
            var br = TextBreak.Create(textBreakType, textBreakClear);

            Xml.Add(br.Xml);
            return(br);
        }