Quantcast
Channel: Open XML Format SDK forum
Viewing all articles
Browse latest Browse all 1288

OpenXml manipulate bulleted word document

$
0
0

I have an existing bulleted line in a word document like this:

- Condition1

I would like to add text on the next line with the same bullet like so:

- Condition1

- Condition2 etc.

I am currently using C# and have a line such as the text below but don't know where to go from here - I have tried ParagraphProperties.CloneNode() but without success. 

run.AppendChild(new Text("Condition2");
run.AppendChild(new Break());

which gives me this:

- Condition1

Condition2 (without the (-) bullet)

Any help would be appreciated.


Viewing all articles
Browse latest Browse all 1288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>